I want to ascend cell
이전 댓글 표시
hey , I want to ascend the rows based on a specific columns in the cell array . here's an example
The input in work space is
cellmobility{1,1}
x 4
y 2
z 1
g 3
the output i seek in work space is
cellmobility{1,1}
z 1
y 2
g 3
x 4
채택된 답변
추가 답변 (1개)
Andrei Bobrov
2012년 6월 18일
c{1,1} = cellstr(sortrows(char(c{1,1}),3));
카테고리
도움말 센터 및 File Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!