converse the order of row or column vector

1 Ansicht (letzte 30 Tage)
JaeSung Choi
JaeSung Choi am 26 Nov. 2017
Beantwortet: Star Strider am 26 Nov. 2017
I want to converse the order of row or column vector.
ex) [1 2 3 10] -> [10 3 2 1]
help please!

Akzeptierte Antwort

Star Strider
Star Strider am 26 Nov. 2017
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.

Weitere Antworten (0)

Kategorien

Mehr zu 행렬과 배열 finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!