How to measure an Eye Diagram?

9 次查看(过去 30 天)
Feilong
Feilong 2023-9-4

As the function comm.EyeDiagram is removed in matlab2023, how to obtain amplitude/time information from an eye-digram? An alternative function eyediagram is recommended by matlab, but I cann't find its ability to get the jitter information like the previous comm.EyeDiagram.

回答(1 个)

Pooja Kumari
Pooja Kumari 2023-9-8
Dear Feilong,
I understand that you are facing issue with “eyediagram” function as “comm.EyeDiagram” function is removed in MATLAB R2023a.
In MATLAB R2023a, the function “comm.EyeDiagram” has been replaced with the function “eyediagram”, which is mainly used for visualizing the signal.
To obtain the amplitude and time information from an eye diagram, you can refer to the provided reference code:
% Access the amplitude/time information from the plot
ax = gca; % Get the current axes handle
lines = ax.Children; % Get the lines in the plot
xdata = get(lines, 'XData'); % Get the XData (time values)
ydata = get(lines, 'YData'); % Get the YData (amplitude values)
% Display the extracted amplitude/time information
disp(xdata);
disp(ydata);
Furthermore, you may also use the function “comm.JitterAnalyzer” to analyse the jitter in your signal and obtain metrics such as eye width and height.
Moreover, I am providing you with another MATLAB answer that addresses the issue on how to get the jitter information. You can access the workaround from this link: https://in.mathworks.com/matlabcentral/answers/1933395
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by