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

5 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Instrument 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