Is there any special in Test 3?
don't know why the assertions fail.
The solution is correct.
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.
5869 Solvers
565 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3913 Solvers
Sum the numbers on the main diagonal
459 Solvers
275 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!