How to arrange random data in a order of sequence?
조회 수: 3 (최근 30일)
이전 댓글 표시
PFA.. of the data (rawdata.txt) which is in random order for the Long, Lat, U and V parameters
Need the output in the same way as given in attachment. Pls find
Thankin you
채택된 답변
Walter Roberson
2020년 9월 13일
[sortedData, sortidx] = sortrows(YourData, [-2, 1]);
sortedU = U(sortidx, :);
sortedV = V(sortidx, :);
댓글 수: 3
Walter Roberson
2020년 9월 14일
[t1, t2] = ndgrid(vector241, vector185);
output = [t1(:), t2(:)];
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Licensing on Cloud Platforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
