stuff from PC

This commit is contained in:
Silas Oettinghaus
2023-06-11 13:39:16 +02:00
parent 2aeacafe78
commit 93dd63bb18
7 changed files with 350 additions and 113 deletions

View File

@@ -156,7 +156,7 @@ classdef Amplifier
function [noisy_sig, osnr] = applyAseToSignal(~, opticalsignal, nase_numeric)
noisy_sig = opticalsignal + nase_numeric ;
osnr = pow2db(mean(abs(opticalsignal.^2))/mean(abs(nase_numeric.^2)));
disp(osnr);
% disp(osnr);
end
end
end