small updates from work pc

try to implement kalman filter for MPI mitigation
This commit is contained in:
sioe
2024-10-15 10:16:35 +02:00
parent 1540f87850
commit d8b4d6fe7c
12 changed files with 799 additions and 121 deletions

View File

@@ -2,16 +2,16 @@
%% Parameter to simulate and save
params = struct;
params.M = [6];
params.datarate = [448];
params.rop = [0];
params.M = [4];
params.datarate = [224];
params.rop = [-12:-5];
precomp_mode = 0; %0=do nothing ; 1= measure; 2=precomp active
postfilter = 1; % noise whiten. approach -> Postfilter + MLSE
postfilter = 0; % noise whiten. approach -> Postfilter + MLSE
db_precode = 0;
db_precode = 1;
db_encode = 0;
db_channelapproach = 0;
db_channelapproach = 1;
if ismac
@@ -125,7 +125,7 @@ for M = wh.parameter.M.values
Opt_sig = Fiber("fsimu",Opt_sig.fs,"fiber_length",link_length/1000,"alpha",0.3,"D",0,"lambda0",1310,"gamma",0,"Dslope",0.07).process(Opt_sig);
% Receiver ROP curve
for i = 1:i_
parfor i = 1:i_
rop=wh.parameter.rop.values(i);
% Set ROP