Change a 4-D matrix

I have A(p,s,d,f). How can I change it to A(p,s,f,d)?
Thanks,

 Accepted Answer

James Tursa
James Tursa on 6 Jul 2012

1 vote

A = permute(A,[1 2 4 3]);

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!