jitterHistogram
(Removed) Jitter histogram
Syntax
Description
Examples
Jitter and Noise Histogram Methods
Display the eye diagram for a waveform having dual-dirac and random jitter. Plot the jitter and noise histograms.
Specify the sample rate, the samples per symbol, and the number of traces parameters.
fs = 1000; sps = 200; numTraces = 1000;
Create an eye diagram object.
ed = comm.EyeDiagram('SampleRate',fs,'SamplesPerSymbol',sps, ... 'SampleOffset',sps/2, ... 'DisplayMode','2D color histogram','ColorScale','Logarithmic', ... 'EnableMeasurements',true,'YLimits',[-1.2 1.2]);
Generate a waveform having dual-dirac and random jitter. Specify 3 ms rise and fall times.
src = commsrc.pattern('SamplesPerSymbol',sps, ... 'RiseTime',3e-3,'FallTime', 3e-3); src.Jitter = commsrc.combinedjitter('RandomJitter','on', ... 'DiracJitter','on','DiracDelta',[-10e-04 10e-04],'RandomStd',5e-4);
Generate two symbols for each trace.
x = src.generate(numTraces*2);
Pass the signal through an AWGN channel with a fixed seed for repeatable results.
randStream = RandStream('mt19937ar','Seed',5489); y = awgn(x,30,'measured',randStream); ed(y)
Calculate the jitter histogram count for each bin by using the
jitterHistogram
method. Plot the histogram.
jbins = jitterHistogram(ed); plot(jbins)
Calculate the noise histogram count for each bin by using the
noiseHistogram
method. Plot the histogram.
nbins = noiseHistogram(ed); plot(nbins)
Input Arguments
ed
— Eye Diagram System object
System object
Eye Diagram System object, where the count for decision boundary crossings is set.
Output Arguments
jh
— Jitter histogram
nonnegative integer
Jitter histogram, which represent the counts for decision boundary crossings, specified as a nonnegative integer.
Data Types: double
Version History
Introduced in R2016bR2022a: comm.EyeDiagram
has been removed
jitterHistogram has been removed. To display the eye diagram of a signal, use the eyediagram
function instead.
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)