eye diagram measurements error

4 vues (au cours des 30 derniers jours)
Muhammad Rizwan
Muhammad Rizwan le 5 Mai 2020
HI I have query regarding eye diagram measurements.
I am trying to get the eye diagram measurements for my transmitter.
I get proper eye diagram but it never displays the measuemnets results on the right side of eye diagram.
WHAT CAN BE THE POSSIBLE REASON FOR THIS
  1 commentaire
Sandis Spolitis
Sandis Spolitis le 27 Jan 2021
Modifié(e) : Sandis Spolitis le 27 Jan 2021
Hi!
You need to use the following lines for eye diagram object:
'DisplayMode','2D color histogram', ...
and
'OversamplingMethod','Input interpolation', ...
Also, make sure that your values are biased to zero (signal has no DC component). Fastest way to remove DC is:
DC=mean(data);
data=data-DC;
Eye plot example below:
eyeObj = comm.EyeDiagram('SampleRate', Fs,...
'SamplesPerSymbol', samples_per_bit, ...
'EnableMeasurements',true,'DisplayMode','2D color histogram', ...
'SymbolsPerTrace', 2, ...
'OversamplingMethod','Histogram interpolation', ...
'ColorScale','Linear', ... %Choose between Logarithmic / Linear
'ShowGrid',true,...
'YLimits',[1.1*min(data) 1.1*max(data)]);
set(gcf,'color','w');
eyeObj(data); %plot the eye with the above defined parameters
eyestats = measurements(eyeObj);

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by