In a row matrix how to compare the adjecent elements . for example A= 25 14 16 7 25, NOW FIRST ELEMENT 25 as to compare with each element and comarision should stop when it meats larger or equal number i.e., 25 wii stop at 25 in the A.

Asked:

on 19 Jan 2016

Closed:

on 19 Jan 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!