Generating even and odd parts bit streams in simulink matlab function

5 visualizaciones (últimos 30 días)
Hiiiii,
I am trying with Msk modulation in matlab simulink. For msk modulation need to generate even and odd parts of input bitstreams. I am using simulink matlab function.
I tried to generate random binary sequence using simulink matlab function( ipBit = rand(1,N)>0.5). but i couldn't generate. so i generated square wave using matlab function. so is it possible to separate even and odd parts from squrae wave. please someone give suggestion on how to do it in simulink matlab function. Either usnig bitstream or square wave. square.PNG
function y = fcn(t)
%#codegen
u=0.582;
h = sign(sin(125600*t+u));
%y= (h+1)/2;
y=h;
using above simple design and .m file generated square wave. From square wave how we can seperate even and odd parts. please give your valuable solution on this.

Respuestas (0)

Categorías

Más información sobre PHY Components en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by