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.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
next start with 14 and it as to end at 16 . again start with 16 and end at 25 and so on
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!