Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 128. Sorted highest to lowest?

Created by AMITAVA BISWAS

Return 1 if the input is sorted from highest to lowest, 0 if not.

Example:

 1:7     -> 0
 [7 5 2] -> 1

Tags

Problem Group

Solution Statistics

869 correct solutions 895 incorrect solutions
Last solution submitted on Apr 21, 2016

Problem Comments

Solution Comments