syed_brunel
Newbie level 6
plot eye diagram
i would like to know that how to plot my signal in the form of eye diagram , if i dnt want to use any toolbox, i have found command on matlab
% Create an eye diagram scope object
h = commscope.eyediagram;
% Prepare a noisy sinusoid as input
x = awgn(0.5*sin(2*pi*(0:1/100:10))+ ...
j*0.5*cos(2*pi*(0:1/100:10)), 20);
% Update the eye diagram
update(h, x);
% Display the eye diagram figure
plot(h)
but if u see that the plotting is only for the h , if i have a signal how can i show it in the form of eye diagram.
your early response will be highly appreciated.
Syed
i would like to know that how to plot my signal in the form of eye diagram , if i dnt want to use any toolbox, i have found command on matlab
% Create an eye diagram scope object
h = commscope.eyediagram;
% Prepare a noisy sinusoid as input
x = awgn(0.5*sin(2*pi*(0:1/100:10))+ ...
j*0.5*cos(2*pi*(0:1/100:10)), 20);
% Update the eye diagram
update(h, x);
% Display the eye diagram figure
plot(h)
but if u see that the plotting is only for the h , if i have a signal how can i show it in the form of eye diagram.
your early response will be highly appreciated.
Syed