Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
imAlessas committed Jul 7, 2024
1 parent ea49f25 commit 7314c13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/spectrum_analysis.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


% Power Spectral Density (PSD) for random input signal
omega = ( k(1) : 1/100 : k(end) ) * OMEGA; % angoular frequency
omega = ( K(1) : 1/100 : K(end) ) * OMEGA; % angoular frequency

phase = (omega - omega_0 ) * tau / 2; % continuous phase 2

Expand All @@ -54,4 +54,4 @@
subplot(2, 1, 2), plot( omega / (2 * pi), G_BPSK, 'b' ), grid on,
xlabel('Frequency [GHz]'), ylabel('PSD'), title('PSD of random signal')
ylim([-0.1e-8, 1.6e-8]);
end
end

0 comments on commit 7314c13

Please sign in to comment.