Created
November 26, 2021 01:14
-
-
Save raytroop/5c3bc8f37e8afa54f59af0367bf46673 to your computer and use it in GitHub Desktop.
SBR ref. Fast and Accurate Estimation of Statistical Eye Diagram for Nonlinear High-Speed Links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A = zeros(10,21); | |
n = [1:10]; | |
% post cursor | |
for m = 1:3 | |
A(m, 11+n(m)) = 0.5; | |
A(m, 11-n(m)) = 0.5; | |
end | |
% one | |
for m = 4:10 | |
A(m, 11) = 1; | |
end | |
% h0 or main cursor | |
h0 = zeros(1, 21); | |
h0(1, 1) = 0.5; | |
h0(1, 21) = 0.5; | |
out = h0; | |
for m = 1:10 | |
out = conv(out, A(m, :), "full"); | |
end | |
stem(out) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment