0
$\begingroup$

I have a signal in matlab like this:

Signal

I have designed a band-pass filter in 16-32 MHz range:

enter image description here

and applied the filter to the signal,

enter image description here

the result is like this :

enter image description here

My Question:

what is the easiest way to convert this time-domain signal into a frequency based signal?

can I export the signal into workspace and use the data variable? enter image description here

enter image description here

enter image description here

$\endgroup$
  • $\begingroup$ Are you trying to get the Fourier transform of the signal? $\endgroup$ – Phonon Oct 26 '13 at 1:23
  • $\begingroup$ @Phonon....Yes! $\endgroup$ – Mohammad Sobbouhi Oct 26 '13 at 7:58
  • 1
    $\begingroup$ This is a question about programming, not signal processing, and should be migrated to stackoverflow.com. $\endgroup$ – Dilip Sarwate Oct 26 '13 at 13:43
2
$\begingroup$

Taking the FFT will give you a frequency representation of the data:

y=fft(sig3.data);

$\endgroup$
  • $\begingroup$ Thank you...actually I want to be sure that using the "data" variable is the right thing! $\endgroup$ – Mohammad Sobbouhi Oct 26 '13 at 18:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.