フィルターのクリア

How to measure an Eye Diagram?

13 ビュー (過去 30 日間)
Feilong
Feilong 2023 年 9 月 4 日
回答済み: Pooja Kumari 2023 年 9 月 8 日

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 Center および File ExchangeSources and Sinks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by