Why can't jitter function use a eyediagromSI object as the input argument y?

5 ビュー (過去 30 日間)
梓恒
梓恒 2025 年 3 月 28 日
回答済み: Maneet Kaur Bagga 2025 年 4 月 3 日
https://ww2.mathworks.cn/help/releases/R2024b/signal-integrity/ref/jitter.html says that the input argument y is the amplitude coordinates of the jittery signal, specified as a vector or as an eyeDiagromSI object.
But when I use an eyeDiagromSI object as y, it says Error using jitter (line 94)
Invalid argument at position 1. Value must be of type double or be convertible to double.
How can I measure the jitter of a eye diagram?

回答 (1 件)

Maneet Kaur Bagga
Maneet Kaur Bagga 2025 年 4 月 3 日
Hi,
As per my understanding, the error suggests that "jitter" function expects a numerical data. Please refer to the following as a possible workaround for the same:
  • Extract the required amplitude data manually, instead of passing the whole "eyeDiagramSI" object. Refer to the following code snippet for the same.
eyeObj = eyeDiagramSI(signal, sampleRate); % Create the eye diagram object
y = eyeObj.Waveform; % Extract waveform data (assuming it exists)
jitterValue = jitter(y);
  • Check if the "jitter" requires additional preprocessing of the "eyeDiagramSI" object using the following command:
methods(eyeObj)
Alternatively you can consider using "comm.JitterAnalyzer" object. Please refer to a following MATLAB Answer for the same :
Hope this helps!

カテゴリ

Help Center および File ExchangeInstrument Connection and Communication についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by