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

898 correct solutions 936 incorrect solutions
Last solution submitted on Jun 24, 2016

Problem Comments

Solution Comments