Flipping a Cell Array
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Azzi Abdelmalek
2016-7-5
A(2:m,:)=flipud(A(2:m,:))
类别
在 帮助中心 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!