Problem 10. Determine whether a vector is monotonically increasing
Solution Stats
Problem Comments
-
39 Comments
great problem
They really need to do a better job explaining the requirements. For example they should state that the output for tf should be a logical "1" or "0"; logical(1) or logical (0), as it does appear they want a string when reading the instructions.
@Jason, in MATLAB true and false are equivalent to 1 or logical(1) and 0 or logical(0) respectively -
https://in.mathworks.com/help/matlab/ref/true.html#description
https://in.mathworks.com/help/matlab/ref/false.html#description
Solution Comments
Show commentsProblem Recent Solvers21330
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3012 Solvers
-
Get the area codes from a list of phone numbers
1062 Solvers
-
776 Solvers
-
Calculate the area of a triangle between three points
3144 Solvers
-
685 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!