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 sampling point,在这幅图中,也就是2*10-7s的时候。

本文介绍了如何使用MATLAB进行眼图(eyediagram)和多输入星座图(constellation diagram)的绘制,并详细解释了如何通过星座图计算波形的相位偏移。在eyediagram中,最佳采样点位于张口最大的位置,例如2*10^-7秒。对于星座图,通过计算每个点与原点连线的角度,可以得到相位信息。
最低0.47元/天 解锁文章
2323

被折叠的 条评论
为什么被折叠?



