plot
plot(timeunits,Qin2) % input x and y value
xlim([0 2049]) % setting the x axis range
xlabel('Qin2') % name the x axis
ylabel('time') % name the y axis
生成图片如下:
eyediagram:
eyeobjq=comm.EyeDiagram('SampleRate', 40e6, ...
'SamplesPerSymbol', 8, ...
'DisplayMode', 'Line plot', ...
'ColorFading', true, ...
'ShowImaginaryEye', false, ... % 如果含有虚数,那么设置位true
'YLimits', [-600 600]) % 更详细的设置参考matlab官网
eyeobjq(Qin2)
eyediagram 结果:
eyediagram 张口最大的地方就是 best s