von Moltke
Junior Member level 1
- Joined
- Sep 11, 2012
- Messages
- 18
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Turkey-Ankara
- Activity points
- 1,439
Hello all;
I have collected samples from a periodic pulsed RF signal with following properties:
RF : 50 MHz
PW : 1usec.
PRI : 3 usec.
Sampling frequency : 500 MHz
Collected Sample # : 1 Million
with a scope.
I have imported data to MATLAB to take FFT with the following code:
--
y=x50M500M1MSINDIS;
Fs = 500e6; % Sampling frequency
T = 1/Fs; % Sample time
L = length; % Length of signal
NFFT = 2^nextpow2(L);
Y = fft(y,NFFT)/L;
f = Fs/2*linspace(0,1,NFFT/2+1);
plot(f,2*abs(Y(1:NFFT/2+1)))
title('Single-Sided Amplitude Spectrum of y(t)')
xlabel('Frequency (Hz)')
ylabel('|Y(f)|')
--
I get the attached spectrum.
However, I expect to get some spectra around 50 MHz (the spectra of pulse with 3 usec period around 50 MHz to be exact).
What am I doing wrong?
Please help..
I have collected samples from a periodic pulsed RF signal with following properties:
RF : 50 MHz
PW : 1usec.
PRI : 3 usec.
Sampling frequency : 500 MHz
Collected Sample # : 1 Million
with a scope.
I have imported data to MATLAB to take FFT with the following code:
--
y=x50M500M1MSINDIS;
Fs = 500e6; % Sampling frequency
T = 1/Fs; % Sample time
L = length; % Length of signal
NFFT = 2^nextpow2(L);
Y = fft(y,NFFT)/L;
f = Fs/2*linspace(0,1,NFFT/2+1);
plot(f,2*abs(Y(1:NFFT/2+1)))
title('Single-Sided Amplitude Spectrum of y(t)')
xlabel('Frequency (Hz)')
ylabel('|Y(f)|')
--
I get the attached spectrum.
However, I expect to get some spectra around 50 MHz (the spectra of pulse with 3 usec period around 50 MHz to be exact).
What am I doing wrong?
Please help..