MATLAB Answers

How to reverse a vector

9 ビュー (過去 30 日間)
Mar 2018 年 12 月 5 日
編集済み: Mar 2018 年 12 月 5 日
I imported some values as a txt file. I stored the values store in the vector called A, i.e. A = importdata('/Users/file.txt').
The vector A has dimensions:
ans =
20 1
I would like to reverce the vector A and make it's dimensions 1 20.
How can I do this?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 12 月 5 日


Community Treasure Hunt

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

Start Hunting!

Translated by