필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

rearranging the elements of array

조회 수: 1 (최근 30일)
PRAVEEN GUPTA
PRAVEEN GUPTA 2019년 9월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
i have an array a=[1 0 2 2 2 1 1 1 2 2]
i want the location of each point that are arranged in ascending order like
s=[0 1 1 1 1 2 2 2 2 2 ] location must be like
loct=[2 1 6 7 8 3 4 5 9 10]
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 9월 18일
Second output of sort()

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by