Solved

Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

6 mesi ago

Solved

Find Logic 18

6 mesi ago

Solved

Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

6 mesi ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

6 mesi ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

6 mesi ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

6 mesi 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 ...

6 mesi ago

Solved

Laws of motion 3

6 mesi ago

Solved

Laws of motion 4

6 mesi ago

Solved

Laws of motion 5

6 mesi ago

Solved

Laws of motion 6

6 mesi ago

Solved

Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

6 mesi ago

Solved

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

6 mesi ago

Solved

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

6 mesi ago

Solved

Converts numbers into characters
Converts numbers into characters

6 mesi ago

Solved

Find the max element of the array
Find the max element of the array

6 mesi ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

6 mesi ago

Solved

to the 2 all elements
to the 2 all elements

6 mesi ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

6 mesi ago

Solved

Double all elements in the array
Duplicate all elements in the array

6 mesi ago

Solved

calculate the length of matrix
input 1 array, calculate the length

6 mesi ago

Solved

Draw a '0' in a one matrix!

6 mesi ago

Solved

Box
Give the volume of a box, x is equal to the body diagonal.

6 mesi ago

Solved

Stairs
Make an n by n matrix, where the elements are ones and zeros. In the main diagonal, and under that, there should be only ones (...

6 mesi ago

Solved

Mid-term report
You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

6 mesi ago

Solved

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

6 mesi ago

Solved

Potential energy calculation

6 mesi ago

Solved

Total energy

6 mesi ago

Solved

Laws of motion 2

6 mesi ago

Solved

Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

6 mesi ago