FUNCTION REFERENCE
eyediagram
Overlay signal traces in an eye diagram.
Overlay signal traces in an eye diagram.
Syntax
h = eyediagram(x,n,period,offset,plotstring,h)n>1 is the samples per trace (usually twice the samples per symbol). period defaults to 1, offset to 0 in [0,n-1], and plotstring to 'b-'. Traces are centered on samples offset+1+k*n with horizontal limits +/-period/2. Complex vectors or real two-column I/Q data create two axes; real vectors create one. Partial edge traces use NaN padding; neighboring even-length traces share their boundary sample.
Example
f=eyediagram(mskmod([0;1;1;0;1;0],8),16);Differences from MATLAB: Uses ordinary editable lines and axes. Odd n uses symmetric sample positions inside the period.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.