Convert 3D cell to 2D cell

6 views (last 30 days)
wkm42
wkm42 on 15 Sep 2016
Commented: Jos (10584) on 15 Sep 2016
Hey, I would like to convert the 3D cell A{x,y,z} to a 2D cell B{x,y} with row vectors of all z as elements (B{1,1} = [z(:)]). Thanks for any suggestions!
  1 Comment
Jos (10584)
Jos (10584) on 15 Sep 2016
I am confused about what B{x,y} should contain: indices z or the values at all z-indices. Perhaps you can give a small(!!) example?

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!