How to write correctly sampler for FFT

Hi, i have few random inputs (in time domain),let's assume that it is x(t), i know that before entering this x(t) to the FFT operation, i need to sample the signal, and only then i should enter the sampled signal to the FFT operation.
I hope that i'm right till now , if so, can you please guide me how should i write this sampler ? or from where can i find examples with written code, to read about it ?
Thank you very much for your help.

回答 (1 件)

Image Analyst
Image Analyst 2012 年 6 月 8 日

0 投票

I have little idea what you're talking about. How about this
x_spectrum = fft(x);
Of course if x has only a few values and tons of empty, unassigned values (values of t that never had an x value measured for them), then, well,...you just have to know what you're putting in and how to interpret it. If that doesn't do it for you, then post a better explanation, and some diagrams or pictures that illustrate some example of what you're trying to do.

この質問は閉じられています。

質問済み:

2012 年 6 月 8 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by