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$

closed as off-topic by Dilip Sarwate, Jason R, jonsca, nispio, Peter K. Nov 14 '13 at 22:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "General programming questions are off-topic here, but can be asked on Stack Overflow." – Dilip Sarwate, Jason R, jonsca, nispio, Peter K.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\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.