dividing stream

13 visualizzazioni (ultimi 30 giorni)
mahaveer hanuman
mahaveer hanuman il 8 Giu 2011
i have bit stream of 30 bit y= 1 0 1 0 0 0 1 1 1 1 1 0.......... i need to make it as y(0)=1 0 1 y(1)= 0 0 0 y(2)= 1 1 1 and so on please help me

Risposta accettata

Andrei Bobrov
Andrei Bobrov il 8 Giu 2011
doc reshape
yout = reshape(y,3,[])';

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by