Community Profile

# Jordan Prince

8 total contributions since 2019

View details...

Contributions in
View by

Solved

Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

29 days ago

Solved

Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

30 days ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

30 days ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

30 days ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

30 days ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

30 days ago

Solved

Area of a circle
Find the value for area of the circle if diameter is given

30 days ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

30 days ago