Community Profile

Contact

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

Solve this!

2 years ago

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Given the input n, return true if n is odd or false if n is even.

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...