How to convert the 1d into 3d data matrix?
4 views (last 30 days)
Show older comments
balaji S
on 1 Apr 2020
Answered: Walter Roberson
on 1 Apr 2020
Hi, how to convert 36000000 list data into 3D matrix data?
I simulated the matrix mesh scoring. the output results are showing like the listed value I don't know how to convert 3d data format.
my simulation mesh scoring voxel size was 300 x 300 x 400. the output is 36000000 listed data.
0 Comments
Accepted Answer
Walter Roberson
on 1 Apr 2020
reshape(TheList, 300, 300, 400)
Depending on how the data was written, you might possibly need to use
permute(reshape(TheList, 300, 300, 400), [2 1 3])
or
permute(reshape(TheList, 400, 300, 300), [2 3 1])
or
permute(reshape(TheList, 400, 300, 300), [3 2 1])
0 Comments
More Answers (0)
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!