To order min to max value for matrix's row
이전 댓글 표시
a=[0.412 0.322 0.300 0.112;0.222 0.05 0.350 0.555]
% I wanna order row's value min to max. like that;
a=[0.112 0.300 0.322 0.412;0.05 0.112 0.222 0.350 0.555]
채택된 답변
추가 답변 (2개)
Youssef Khmou
2014년 5월 7일
Try :
a=sort(a,'ascend');
카테고리
도움말 센터 및 File Exchange에서 Matrix Decomposition에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!