Question about 1D Fourier Transform

1 回表示 (過去 30 日間)
aurc89
aurc89 2016 年 11 月 16 日
回答済み: Star Strider 2016 年 11 月 16 日
Hi eveyone! I have a question concerning the Fourier Transform. Let's suppose to have a function y=f(x), where x and y are two arrays, which presents one (or more) periodical oscillation(s). What is the easiest way to fit this (these) oscillation(s) with a curve, e.g. a sine function (or a combination of more sine functions) and then retrieve the oscillation frequency (frequencies) by a Fourier Transform of the fitting curve(s)? For instance, if x is a time vector expressed in seconds I should obtain a frequency in 1/seconds. Thanks.

回答 (1 件)

Star Strider
Star Strider 2016 年 11 月 16 日
To fit one sine function, this works: Curve fitting to a sinusoidal function.
If you have several frequencies you want to fit, I would do the fft (link) first, find your frequencies of interest and their phases, and then simulate your curves from those data.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by