Problem 42087. Increase monotonically

Solution 1992577

Submitted on 27 Oct 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = 1; y = 1; assert(isequal(your_fcn_name(x),y))

Error using your_fcn_name (line 2) Unable to run the 'fevalJSON' function because it calls the 'input' function, which is not supported for this product offering. Error in Test1 (line 3) assert(isequal(your_fcn_name(x),y))

Suggested Problems

More from this Author2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!