How to convert the 1d into 3d data matrix?

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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Abr. de 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])

Más respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Abr. de 2020

Respondida:

el 1 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by