0

hi i was using the following

h = modem.oqpskmod; 

but it constructs it with default settings, i wanted to model zigbee one which is oqpsk with half sine waves... how could i do it? thanks a lot!

Amro
  • 123,847
  • 25
  • 243
  • 454
kl.
  • 361
  • 3
  • 7
  • 15

1 Answers1

0

I think you can try this

 h = modem.oqpskmod('M',4,'SymbolOrder','Gray','InputType','Bit');
 Data = randint(10000,1);
 output = modulate(h,Data);
 plot(output, 'DisplayName', 'output', 'YDataSource', 'output'); figure(gcf)

You can see that the output is and compare it with the graph in there.

HH.
  • 769
  • 2
  • 10
  • 21
  • hi HH, does it mean by default the it will be using "half-sine wave", can you show me the argument which makes it use the "half-sine wave"? thanks! – kl. Mar 03 '10 at 17:10