Return 1 if the input is sorted from highest to lowest, 0 if not.
1:7 -> 0 [7 5 2] -> 1
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more