Mainly AWG updates

This commit is contained in:
Silas Oettinghaus
2024-05-21 08:45:41 +02:00
parent 54b70adda2
commit 1eeb970d8f
9 changed files with 156 additions and 62 deletions

View File

@@ -19,6 +19,9 @@ function plot_eye(signal, fs, fsym)
maxA = max(eye_mat(:))*1.1;
minA = min(eye_mat(:))*1.1;
maxA = max(x);
minA =min(x);
difference= maxA-minA;
data_ind_y=round((eye_mat-minA)/difference*(histpoints-1)) +1;
@@ -28,7 +31,7 @@ function plot_eye(signal, fs, fsym)
hist_data(:,n)=hist_data(:,n)+nn.';
end
figure;
image(hist_data);
colormap(cbrewer2("Reds",92));