Flipping a Cell Array
Show older comments
I have an m x n cell array and I need to flip the 2:m elements vertically. Flipud doesn't seem to be working neither does flipdim(...,1). Suggestions?
Edit: I'm using R2012a.
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 5 Jul 2016
A(2:m,:)=flipud(A(2:m,:))
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!