is there a way to flip an array

1 次查看(过去 30 天)
Raul Castillo
Raul Castillo 2019-11-20
编辑: the cyclist 2019-11-20
i exported some data and need it to go from 27x1 to1x27 is there any way to do that without rewriting all the data

回答(1 个)

the cyclist
the cyclist 2019-11-20
编辑:the cyclist 2019-11-20
Yes, the transpose command.
xt = x.';
% or
xt = transpose(x);

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by