converse the order of row or column vector

1 次查看(过去 30 天)
I want to converse the order of row or column vector.
ex) [1 2 3 10] -> [10 3 2 1]
help please!

采纳的回答

Star Strider
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 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!