converse the order of row or column vector
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to converse the order of row or column vector.
ex) [1 2 3 10] -> [10 3 2 1]
help please!
댓글 수: 0
채택된 답변
Star Strider
2017년 11월 26일
The easiest way is to use the flip (link) function (in R2013b and later). Links to related functions fliplr, flipud, and others are at the end of that page.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!