updates of framework

- focus on AWG output power and lowpass characteristics
This commit is contained in:
Silas Oettinghaus
2024-04-26 14:08:21 +02:00
parent 0600abfcbf
commit 7c1d9850d6
25 changed files with 864 additions and 279 deletions

View File

@@ -16,9 +16,9 @@ ylim([-100,0]);
%Phase Investigation
subplot(3,2,3)
hold on
phase_int = extmodlaser.phase(ceil(n):end);
phase_main = delayseq(extmodlaser.phase,ceil(n));
phase_main = phase_main(ceil(n):end);
phase_int = extmodlaser.phase(ceil(dly):end);
phase_main = delayseq(extmodlaser.phase,ceil(dly));
phase_main = phase_main(ceil(dly):end);
phase_diff = phase_int - phase_main;
t = (1:length(phase_int))' ./ extmodlaser.fsimu ;
plot(t*1e6,phase_int,'Color',colpairs(1,:),'DisplayName','Interferer Phase');
@@ -30,7 +30,7 @@ subplot(3,2,4)
%Received Signal after Phdiode
yyaxis left
t = (1:Rx_sig.length)' ./ Rx_sig.fs;
scatter(t*1e6,Rx_sig.normalize("mode","oneone").signal.*max(unique(digimod_out.signal)),1,'.','MarkerEdgeColor',cols(5,:));
scatter(t*1e6,Rx_sig.normalize("mode","oneone").signal.*max(unique(digimod_out.signal)),1,'.','MarkerEdgeColor',cols(6,:));
hold on
errors_t = errors./Rx_Bits.fs;
errors_sym = Rx_symboldecision.signal(errors);
@@ -54,7 +54,7 @@ for h = 1:size(levels,2)
hold on
end
%yline(PAMmapper(M,0).thresholds);
title(['BER: ',sprintf('%.1e', BER(m,i))]);
title(['BER: ',sprintf('%.1e', BER(s,l,pnk,n,m,i))]);
%Histogram of EQzed Signal
subplot(3,2,6)