Feeds
已解决
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
4 years 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
4 years 前
已解决
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
4 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
4 years 前
已解决
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...
4 years 前
已解决
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 前
已解决
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
4 years 前
已解决
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
4 years 前
已解决
the average value of the elements
Calculate the average value of the elements in the array
4 years 前


