How to measure an Eye Diagram?
13 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Pooja Kumari
on 8 Sep 2023
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!
0 Comments
See Also
Categories
Find more on Sources and Sinks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!