random bit to a block of some fix length?
Show older comments
Sir,
Suppose, I have a binary data sequence and want to modulate it using say M-QAM, M=16 (k=log2(M)=4bits)
x=[011000101010010101000100010000011111110001010....];
s=qammod(x,16);
this generates the modulated data corresponding to only single bit at a time, but
I want to generate it for following, i.e. it should first concatenate four bits together and then modulate
x=[0110,0010,1010,0101,0100,0100,0100,0001,1111,1100,0101,0....]
How to acomplish this?
Thanks in anticipation.
Accepted Answer
More Answers (0)
Categories
Find more on Pulse width modulation (PWM) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!