Effacer les filtres
Effacer les filtres

How to reverse a vector

1 vue (au cours des 30 derniers jours)
Mar
Mar le 5 Déc 2018
Modifié(e) : Mar le 5 Déc 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?

Réponses (1)

madhan ravi
madhan ravi le 5 Déc 2018

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by