A basic question: How to using eyeDiagramSI function?

3 ビュー (過去 30 日間)
石平
石平 2025 年 3 月 30 日
コメント済み: 石平 2025 年 7 月 7 日
How to using eyeDiagramSI function to plot a eyedigram for 10Gbps@PRBS15 singal of BIN format?
Refer to below code, seems not working.
samplesPerSymbol = 16;
symbolTime = 100e-12;
sampleInterval = symbolTime / samplesPerSymbol;
modulation = 2;
eyeDiagram = eyeDiagramSI;
eyeDiagram.SampleInterval = sampleInterval;
eyeDiagram.SymbolTime = symbolTime;
eyeDiagram.Modulation = modulation;
  2 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2025 年 3 月 30 日
eyeDiagramSI is not a built-in MATLAB function?
石平
石平 2025 年 3 月 30 日
I think yes, eyeDiagramSI function come from like SerDes Toolbox, or Signal Integrity Toolbox.

サインインしてコメントする。

回答 (1 件)

Avni Agrawal
Avni Agrawal 2025 年 4 月 2 日
I understand that you are trying to plot an eye diagram for a 10 Gbps PRBS15 signal using the `eyeDiagramSI` function in MATLAB, you need to ensure that you have the required toolboxes and that your setup is correct.
Required Toolbox: Signal Integrity Toolbox
  • The `eyeDiagramSI` function is part of this toolbox.
Steps to Plot the Eye Diagram
  1. Ensure Toolboxes are Installed: Verify that the Signal Integrity Toolbox is installed. You can check this in MATLAB using the `ver` command.
  2. Set Up the Eye Diagram: Define the parameters for your signal. Ensure that the parameters match your signal's characteristics.
  3. Use the `eyeDiagramSI` System Object: Create and configure the `eyeDiagramSI` object with the appropriate properties.
Here is a corrected version of the code:
% Define parameters
samplesPerSymbol = 16; % Number of samples per symbol
symbolTime = 100e-12; % Symbol time for 10 Gbps
sampleInterval = symbolTime / samplesPerSymbol; % Sample interval
modulation = 2; % Binary modulation
% Create the eye diagram object
eyeDiagram = eyeDiagramSI('SampleInterval', sampleInterval, ...
'SymbolTime', symbolTime, ...
'Modulation', modulation);
% Generate a PRBS15 signal (example)
prbs15Signal = prbs(15, 'Order', samplesPerSymbol * 1000); % Adjust length as needed
% Plot the eye diagram
step(eyeDiagram, prbs15Signal);
Additional Notes
If you encounter issues, make sure to check for errors in the MATLAB command window and ensure all necessary toolboxes are installed and licensed.
I hope this helps!
  3 件のコメント
世杰
世杰 2025 年 7 月 7 日
the same
石平
石平 2025 年 7 月 7 日
You encounter same issue with me?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTest and Measurement についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by