Why result of FFT command is not good?

1 次查看(过去 30 天)
Hello every body. I used fft command for recognize bandwidth of a set of datas... First data pack has nearly 25000 time domain data with 25 seconds sampling time and next data pack has 12000 time domain data with 1 second sampling time, then result of fft and its absolute value are same, we know from nyquist sampling theory that by 25 seconds sampling time we cant have freqeuncy above o.o2 Hz and by 1 second sampling time we cant have freqeuncy above 0.5 Hz, but result are same similar attached picture... Red graph is 1 seconds sampling time and blue graph is 25 seconds sampling time, please care that horizontally must be multiply "0.01" and its dimension is rad/s and vertically is amplitude of signal... Please help me. Thanks alot.

采纳的回答

Matt J
Matt J 2015-3-31
编辑:Matt J 2015-3-31
Remember that the duration of the data pack will affect frequency domain sampling according to
deltaFrequency=1/time_duration
So, your first data pack is getting its spectrum sampled at increments of .04 Hz while your second pack is being sampled at 1 Hz increments. Also keep in mind that this is not a continuous Fourier transform. To scale the FFT consistently with the continuous Fourier transform, you must multiply by the time sampling interval, which is also different for each of your two data packs.
  6 个评论
mostafa
mostafa 2015-4-4
Thanks alot for your good answer Matt J. My goal is select best sampling time for my plant, i have an software that can sampling from plant eith various sampling time, i dont know which one is the best sampling time,and if both of them isnt good, which one what sampling time is better? first i try to make data pack with 25 second sampling time and another 1 second sampling time, i tried to plot fourier transform with FFT and DFT, with this two data pack, i dont know the frequency of inputs and also frequency of output and i dont know what is the transfer function of plant, just i have time domain data pack one with 25 second sampling time and another with 1 second, i am trying to understand best sampling time, i dont understand fully how number off FFT points can help me for this application? Please help me if it is possible.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by