Show in alphabetical order

3 ビュー (過去 30 日間)
João Carvalho
João Carvalho 2017 年 11 月 29 日
コメント済み: Walter Roberson 2017 年 11 月 29 日
The objetive of the program is to show a data list that is saved in a notepad. But I want to show it in alphabetical order from the name(4th column). What can I change? Thanks

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 11 月 29 日
[~, sortidx] = sort({users.name});
for k = sortidx
...
end
  2 件のコメント
João Carvalho
João Carvalho 2017 年 11 月 29 日
What should I write between "for k = sortidx" and "end"?
Walter Roberson
Walter Roberson 2017 年 11 月 29 日
What you already have in your for loop.

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by