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
Count from 0 to N^M in base N.
220 Solvers
Back to basics 21 - Matrix replicating
1059 Solvers
Vectorize the digits of an Integer
273 Solvers
Arrange vector in ascending order
627 Solvers
668 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!