Convert Z dimension to X dimension
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have an array of size (1000,1,5) elements. I want to append all the Z dimension elements to the X dimension. As in, I want to convert the array to (5000,1) elements. How should I do it?
Many Thanks
Anum
0 commentaires
Réponse acceptée
Adam
le 30 Sep 2019
myArray(:)
will do for that kind of reshape, where myArray is obviously the array you start with.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!