reverse of row in matlab

조회 수: 1 (최근 30일)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya 2018년 4월 6일
답변: Fabio Barbosa 2018년 4월 6일
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에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by