Effacer les filtres
Effacer les filtres

How to create 3d array(39X37X25) from double array(36075X1)?

1 vue (au cours des 30 derniers jours)
Afroja Akter
Afroja Akter le 29 Juil 2015
Hello everyone, I need to create a 3D array size39X37x25 from a 36075X1 array. Could anybody help me?

Réponses (1)

Walter Roberson
Walter Roberson le 29 Juil 2015
reshape(YourVector, 39, 37, 25)
Note that this will fill "down the columns". You did not specify the order you wanted the elements.

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by