combining planes of data

1 view (last 30 days)
lafnath p
lafnath p on 24 Oct 2016
Commented: Guillaume on 24 Oct 2016
i have 512 planes of data of matrix.how can i combine these matrix into a 3d matrix
  1 Comment
Guillaume
Guillaume on 24 Oct 2016
Well, hopefully these 512 planes are not in 512 numbered variables as Thorsten assumed in his answer.
If it is indeed the case, then the better question would be 'how to create the data in the first place so as not to have 512 numbered variables?'.
If not, then what form do these 512 planes take at present.

Sign in to comment.

Answers (1)

Thorsten
Thorsten on 24 Oct 2016
M = cat(3, plane1, plane2, plane3,[more planes], plane512);

Tags

Community Treasure Hunt

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

Start Hunting!