Solved

Inner product of two vectors
Find the inner product of two vectors.

1 month ago

Solved

Find max
Find the maximum value of a given vector or matrix.

1 month ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

1 month ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

1 month ago

Solved

Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

1 month ago

Solved

Total energy

1 month ago

Solved

Potential energy calculation

1 month ago

Solved

Kinetic energy calculation

1 month ago

Solved

Laws of motion 1

1 month ago

Solved

Laws of motion 2

1 month ago

Solved

Laws of motion 3

1 month ago

Solved

Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

1 month ago

Solved

Laws of motion 5

1 month ago

Solved

Laws of motion 6

1 month ago

Solved

Find Logic 32

1 month ago

Solved

Find Logic 31

1 month ago

Solved

Find Logic 30

1 month ago

Solved

Find Logic 29

1 month ago

Solved

Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: \$99,999.99. E...

2 months ago

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

2 months ago

Solved

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

2 months ago

Solved

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

2 months ago

Solved

Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

3 months ago

Solved

Divisible by 7
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

3 months ago

Solved

Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

3 months ago

Solved

Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

3 months ago

Solved

Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

3 months ago

Solved

Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

3 months ago

Solved

Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

3 months ago

Solved

Find Logic 28

3 months ago