How to reverse a vector

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?

Question posée :

Mar
le 5 Déc 2018

Modifié(e) :

Mar
le 5 Déc 2018

Community Treasure Hunt

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

Start Hunting!

Translated by