How do I reverse a vector?
이전 댓글 표시
For example, how would I change x=[1 2 3 4] to x=[ 4 3 2 1]?
답변 (1개)
Roger Stafford
2015년 2월 16일
x = fliplr(x);
카테고리
도움말 센터 및 File Exchange에서 NaNs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!