what does this line of code mean?

 Accepted Answer

If you have 3d array
a(:,:,1)=[1 2;3 4]
a(:,:,2)=[5 6;7 8]
you can access any part of your matrix, for example
a(:,1,:)

More Answers (0)

Categories

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!