reverse of row in matlab

7 次查看(过去 30 天)
If I have 23 columns and five rows like this
if true
% code
end
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
and I want is
if true
% code
end
5 4 3 2 1
5 4 3 2 1
5 4 3 2 1
If it is possible to do in matlab?

采纳的回答

Fabio Barbosa
Fabio Barbosa 2018-4-6
Use the flip function: https://www.mathworks.com/help/matlab/ref/flip.html?s_tid=doc_ta

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by