In the place of "Find the sum of all products whose...", I would say: "Find the number of all products whose..." ;-)
Why [] instead of 0?
Since I have kludged a solution together, can I have a hint?
this solution works on my comupter
I see the first test command line is corrupted
%%x=3
:( :( :(
I've fixed that first line in the test suite. Try it again.
136 Solvers
Back to basics 8 - Matrix Diagonals
788 Solvers
middleAsColumn: Return all but first and last element as a column vector
394 Solvers
730 Solvers
2274 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!