0% found this document useful (0 votes)
74 views1 page

FFT-Algorithm: % Conversion From MATLAB Spectrum To Fourier Spectrum

This document shows the steps to convert a time domain signal to its power spectral density representation using the fast Fourier transform (FFT). It first applies the FFT, scales the result, then calculates the double-sided and single-sided energy spectral densities. Finally, it converts to power spectral density in dBm/MHz, plots the result on a frequency axis between 0-10GHz, and labels the graph.

Uploaded by

hikol
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views1 page

FFT-Algorithm: % Conversion From MATLAB Spectrum To Fourier Spectrum

This document shows the steps to convert a time domain signal to its power spectral density representation using the fast Fourier transform (FFT). It first applies the FFT, scales the result, then calculates the double-sided and single-sided energy spectral densities. Finally, it converts to power spectral density in dBm/MHz, plots the result on a frequency axis between 0-10GHz, and labels the graph.

Uploaded by

hikol
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

FFT- Algorithm

X=fft(eirp,N); % conversion from MATLAB spectrum to Fourier spectrum X=X/N

% DOUBLE-SIDED ESD of the waveform E = fftshift(abs(X).^2/(df^2));

% SINGLE-SIDED ESD of the waveform Ess = 2.*E((N/2+1):N);

% PSD of the combination in dBm/MHz PSD = 10 * log10 ((1/Ts) * Ess/377)+ 90; %30 for dBm, 60 for /MHz

frequency=linspace(0,df*size(PSD,2),size(PSD,2)); figure(); plot(frequency,PSD); axis([0 10e9 -120 0]); grid on; title('PSD of the Time Domain Pulse UWB Pulse'); xlabel('Frequency [Hz]'); ylabel('PSD [dBm/MHz]');

You might also like