How to measure an Eye Diagram?
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!