This should be quite straightforward but at 2a.m. my brains are not working 100%. ;)
I has exactly the same idea!!
but on the second line I used directly the logical indexing... ;-)
598 Solvers
90 Solvers
Arrange vector in ascending order
628 Solvers
Basics: 'Find the eigenvalues of given matrix
329 Solvers
232 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!