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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by