is there a way to flip an array

i exported some data and need it to go from 27x1 to1x27 is there any way to do that without rewriting all the data

Antworten (1)

the cyclist
the cyclist am 20 Nov. 2019
Bearbeitet: the cyclist am 20 Nov. 2019

0 Stimmen

Yes, the transpose command.
xt = x.';
% or
xt = transpose(x);

Kategorien

Gefragt:

am 20 Nov. 2019

Bearbeitet:

am 20 Nov. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by