Min to Max in MatLab

1 回表示 (過去 30 日間)
Maja Pavkovic
Maja Pavkovic 2016 年 4 月 18 日
コメント済み: Maja Pavkovic 2016 年 4 月 18 日
Which command do I need to order values from min to max?
Something like: v1 = [2, 5, 9, 1]
And the output should be: v1 = 1, 2, 5, 9

採用された回答

J. Webster
J. Webster 2016 年 4 月 18 日
v1 = sort(v1)
  1 件のコメント
Maja Pavkovic
Maja Pavkovic 2016 年 4 月 18 日
Thank you!!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by