umm... why is issorted not working? :
if all(issorted(x)) == 0 & (diff(x)<0) % decreased matrix
i = 1;
else
i=0;
end
simple
It need to improve the test suite
some persons write code like numel=3
improve test suit pls elminate such type of mistakes
1276 Solvers
1612 Solvers
Return the first and last characters of a character array
3695 Solvers
Try 1.5.4: Celsius to Fahrenheit
614 Solvers
Matlab Basics - y as a function of x
343 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!