Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


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

casi 5 años hace

Resuelto


Converts numbers into characters
Converts numbers into characters

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


to the 2 all elements
to the 2 all elements

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


Draw a '0' in a one matrix!

casi 5 años hace

Resuelto


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

casi 5 años hace

Resuelto


Add two numbers
Add two numbers (For beginners)

casi 5 años hace

Resuelto


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

casi 5 años hace