A résolu


Return area of square
Side of square=input=a Area=output=b

environ 4 ans il y a

A résolu


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

environ 4 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


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

environ 4 ans il y a

A résolu


Draw a '0' in a one matrix!

environ 4 ans il y a

A résolu


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

environ 4 ans il y a