RESHAPE

14 vues (au cours des 30 derniers jours)
Pranoy
Pranoy le 9 Fév 2012
i have an array of binary numbers of size(1*32768)... i need to reshape this to another array of size(4096*8) with the first 8 binary digits of the previous array as the first row of the new array....how to do this????

Réponses (1)

Walter Roberson
Walter Roberson le 9 Fév 2012
reshape(A, [8 4096]) .'
You must do it this way in order to have the bits come out row-wise.

Catégories

En savoir plus sur Matrices and Arrays 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!

Translated by