Does zero padding change the actual frequency?

3 ビュー (過去 30 日間)
babak
babak 2014 年 7 月 12 日
コメント済み: Image Analyst 2014 年 7 月 12 日
I tried adding zeros to the end of a 10 Hz signal, by making it the double the length of original signal length, I know the resolution should increase in fft , (but not more accurate). But as I noticed the frequency shifts a bit as well towards 9,5 Hz , even if i zero padd even more it will still shift but slightly, is that normal? how can I solve it? and is there a limit to the amount of zero padding needed? are there any drawbacks with zero padding?
  1 件のコメント
Image Analyst
Image Analyst 2014 年 7 月 12 日
How many elements per second do you have along the time axis? Can you show your code?

サインインしてコメントする。

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 7 月 12 日
When you add zeros to your signal you get a new different signal, obviously, its fft will be different

Community Treasure Hunt

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

Start Hunting!

Translated by