-
2 Comments
Trung Duong
on 9 Feb 2012
don't know why the assertions fail.
The solution is correct.
Matt Fig
on 9 Feb 2012
If you look at the example posted in the problem description, you will see that the return argument should be a two element row vector.
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
50200 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15612 Solvers
-
Set some matrix elements to zero
560 Solvers
-
328 Solvers
-
Sum the 'edge' values of a matrix
360 Solvers
More from this Author6
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!