a=[]1 2 3] iwant b=[3 2 1] this is an example i want for a general row vector

 采纳的回答

更多回答(1 个)

How about doing a search in the help for flip?
docsearch flip
Lo and behold the first hit is what you want. Not surprisingly, the function is called flip.

类别

在 帮助中心 和 File Exchange 中查找有关 Function Creation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by