Problem 42633. Cumulative maximum of an array
Solution Stats
Problem Comments
-
3 Comments
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.
Thank you.
@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.
Solution Comments
Show commentsProblem Recent Solvers41
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1298 Solvers
-
Arrange Vector in descending order
13078 Solvers
-
Number of 1s in a binary string
10891 Solvers
-
Split a string into chunks of specified length
2037 Solvers
-
Mersenne Primes vs. All Primes
835 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!