How to reverse a vector

3 views (last 30 days)
Mar
Mar on 5 Dec 2018
Edited: Mar on 5 Dec 2018
Hi,
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?

Answers (1)

madhan ravi
madhan ravi on 5 Dec 2018

Community Treasure Hunt

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

Start Hunting!