How can I get the FFT of a flat signal with a peak?

2 ビュー (過去 30 日間)
Leonardo Molino
Leonardo Molino 2022 年 6 月 6 日
コメント済み: William Rose 2022 年 7 月 14 日
Hello everyone,
I am an aerospace engineering student. I am working on a project in which I have a certain aircraft that must be solicited with an impulse that makes the elevator move with respect to its equilibrium position. I have assigned the command law in this way
global dE_eq %this value comes from a previous simulation that finds the trimmed position of the elevator
t_f = 120; %lenght of the command law
vBreakPointsT = [0, t_f/240, t_f/120, (3/200)*t_f, t_f/60,...
t_f/48, t_f/40, t_f/24, t_f/12,...
t_f/6, t_f*(5/6), t_f];
vBreakPointsD = [dE_eq, dE_eq, dE_eq, dE_eq, 2.5*dE_eq,...
dE_eq, dE_eq, dE_eq, dE_eq,...
dE_eq, dE_eq, dE_eq];
dE = @(t) interp1(vBreakPointsT, vBreakPointsD, t, "pchip");
and I would like to make a spectral analysis of dE(t), looking for the dominant frequency. Physically, does it make sense to implement an analysis with the default FFT tool? Thank you

採用された回答

William Rose
William Rose 2022 年 7 月 13 日
You are correct to have doubts about the interpretation of the FFT of dE(t), given that dE(t) is computed the way you have done it. You use the pchip method for doing the interpolation. The FFT of dE(t) will provide information about the frequency content of pchip rather than learning about the aircraft response. You can demonstrate that this is true by trying other methods for the interpolation, such as spline, linear, nearest.... You will see that the FFT is different when you use a different interpolation method.
  3 件のコメント
Leonardo Molino
Leonardo Molino 2022 年 7 月 13 日
Thank your very much for you answer, it is more than what I've asked!
William Rose
William Rose 2022 年 7 月 14 日
You're wlcome @Leonardo Molino.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSignal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by