In this article, we propose a simple way for sorting a matrix depending on the values of one of its columns. We use a minimal example for that but the method can be applied to matrices of any size.
Let's create our matrix first (it will be an unsorted 3x2 matrix). You may skip Steps 1 to 3 as you will have a matrix already!
I hope this helps somebody!!!
It helped me, THANKS!
Worked!
Thanks a lot!
Thank you! This example has
Thank you! This example has to be included in Matlab Help!
Thanks a Lot!!!!!!!!!!!!!
Thanks a Lot!!!!!!!!!!!!! It worked
ALTERNATIVE
there is the alternative sortrows who does exactly the same. Everything you explained sofar is embedded in this command!
maybe it's worthwile to check it out!
GL!
It works and saved a lot of
It works and saved a lot of time.Thanks.
Post new comment