Plot the eye diagram
plot_eye(x, T);
input sequence
symbol period (in samples)
Plot the eye diagram of a synchronous data signal, which is a scatter plot of the signal where the time domain is considered modulo the symbol period (actually using a trigger on the signal, to account for symbol period variations).
This diagram is useful to view the impact of ISI (Inter-Symbols Interferences).
T = 128; // Symbol period x = nrz(prbs(500),T); // 500 symbols, NRZ shape x = ma(x, osf); // moving average x = awgn(x, 0.1); // AWGN noise clf(); eyediagram(x, T); | ![]() | ![]() |