reverse of row in matlab

7 visualizaciones (últimos 30 días)
Tanmoyee Bhattacharya
Tanmoyee Bhattacharya el 6 de Abr. de 2018
Respondida: Fabio Barbosa el 6 de Abr. de 2018
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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by