change the order of a row vecor
Show older comments
Hello I have a vector [ -90 -54 -12 -2]
I need to make the vector elements go from least negative to most negative to look like [-2 -12 -54 -90] and i need the program to work for any size row vector I am using I am having trouble getting this to work any help??
Accepted Answer
More Answers (1)
lowcalorie
on 5 Feb 2012
0 votes
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!