I think the test suite is broken, I appear to only get x = [21,6;35,10] as the input and y is being displayed as a vector instead of the matrix that is returned. So either the return is being compared to an x that was not sent or y being a vector is causing the test cases to always fail.
Andrew, I just tried resubmitting my original solution, and the test suite was OK. What is the exact problem that you're having with the test suite when you submit your solution?
nice one!!
Maximum running product for a string of numbers
1151 Solvers
991 Solvers
577 Solvers
Omit columns averages from a matrix
530 Solvers
Sum of first n terms of a harmonic progression
264 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!