How to split vector to seqences
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, can u help me please? I want to split generated numbers to 3 sequences for 8 bits ,for example i used :
x = randi([0 1],24,1)
and now i want to split these 24 numbers to 3 sequences for 8 bits, I could not find the answer.
0 commentaires
Réponses (3)
ahmed nebli
le 3 Déc 2018
Modifié(e) : ahmed nebli
le 3 Déc 2018
u can use something like that:
for i=1:8:24
var = x[i,1]; % here you need to do what store var in someplace else in order not to loose it
end
Voir également
Catégories
En savoir plus sur Timing and presenting 2D and 3D stimuli 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!