I want to plot an eye dagram of output of modulator.
In Maltab I tried plot( I, Q)
, but it doesnt give me the diagram.
In Matlab there is a function eyediagram(x,n,period,offset,plotstring,h)
in Communicatio Toolbox. Unfortunately I dont have the licence and can't use it.
Does anyone know another possobility how to generate the eye diagram?
EDIT 1 Eye diagram with my data
EDIT 2
I have added a dely and my new result is
a = 10;
eyediagram(bb(a;end), ovs)
EDIT 3
sps = 4;
data = randi([0 1],1000,1);
gmskMod = comm.GMSKModulator('BitInput',true,'PulseLength',5, 'BandwidthTimeProduct' , 0.25, ...
'SamplesPerSymbol',sps);
modSigGMSK = gmskMod(data);
eyediagram(modSigGMSK,sps,1,sps/2)