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.
Determine whether a vector is monotonically increasing
11935 Solvers
1328 Solvers
3895 Solvers
203 Solvers
498 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!