Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return false otherwise.
Examples:
Input x = [-3 0 7] Output tf is true
Input x = [2 2] Output tf is false
1 player likes this solution
2 players like this solution
1 player likes this solution
1 player likes this solution
1 player likes this solution
6 players like this solution
Tags
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today
35 players like this problem
35 players like this problem