Problem 42633. Cumulative maximum of an array
There is a problem is the first test.
Remove the assert(isempty(strfind(filetext,'max'))) because the name of the function cumax contains the string max.
@Matthew, could you be so kind and fix the first test? As it is, it is impossible to solve this problem since the function name "cumax" itself contains the string "max".
This also makes it impossible to obtain the Matrix Manipulation III badge.
The test suite has been updated temporarily.
Problem Recent Solvers30
Find state names that start with the letter N
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Magic is simple (for beginners)
More from this Author44
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!