Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to write correctly sampler for FFT
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2012-6-8
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!