Solved


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

9 months ago

Solved


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

9 months ago

Solved


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

9 months ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9 months 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 ...

9 months ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

9 months 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;...

4 years ago

Solved


Converts numbers into characters
Converts numbers into characters

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


to the 2 all elements
to the 2 all elements

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


Draw a '0' in a one matrix!

4 years ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

4 years ago

Solved


Add two numbers
Add two numbers (For beginners)

4 years 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:...

4 years ago