Solved

Change input vector

If a input vector is [3, 2, 6, 1, 6], the output vector is [3, 2, 6, 1, 6] + [1, 2, 3, 4, 5] = [4, 4, 9, 5, 11].

4 years ago

Solved

Cumulative product of a vector

Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

4 years ago

Solved

Tree Height

Assign treeHeight with the tree height given the shadow length and angle of elevation. Simple geometry can compute the heigh...

4 years ago

Solved

Where is the number that you want to find?

For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

4 years ago

Solved

cheating technique1

in these cody problems, there is a way to cheat. find out how people cheat.

4 years ago

Solved

cheating technique2

there are some ways to get hints just by looking at the test suits to cheat. try.

4 years ago

Solved

find a number (cheat)

find a number input^5 = input the out put should be the number. try cheating

4 years ago

Solved

Skip by a multiple

Given an integer create an array of its multiples. Array must have a length of 15

4 years ago

Solved

Element by element multiplication of two vectors

Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

4 years ago

Solved

Find the product of a Vector

How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

4 years ago

Solved

Joules!

1J = 101.325 L/atm Write a statement that assigns fractionalMultiplier with 101.325 Write a second statement that assigns Jo...

4 years ago

Solved

'Repeat!'

if matrix x=[1 2;3 4] y should be [1 2 1 2; 3 4 3 4; 1 2 1 2; 3 4 3 4;............],repeat n times! try this!

4 years ago

Solved

'Price of pizza!'

If you want to check pizza's price, try this! price is proportional to its volume, so you have to multiply 0.1($) to pizza's v...

4 years ago