Commit fa74d8fa authored by Simone Liuzzo's avatar Simone Liuzzo

errtab and cortab in betamodel.mat

parent 614b7315
......@@ -62,7 +62,14 @@ cd(fulfold);
% AT lattice
betamodel=r;
save('betamodel.mat','betamodel');
errtab_tmp=errtab; % store input tables
cortab_tmp=cortab;
errtab = atcreateerrortable(r);
cortab = atgetcorrectiontable(r,r); % zeros
save('betamodel.mat','betamodel','errtab','cortab'); % errtab and cortab all zeros.
errtab = errtab_tmp; clear errtab_tmp; % restore input tables
cortab = cortab_tmp; clear cortab_tmp;
% AT lattice for simulator with errors and corrections
disp('errors and correction lattice for simulator (provide errtab and cortab or zeros will be set)')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment