|
|
|
|
|
|
l*****e 发帖数: 1345 | 1 I have a few years of air temperature data. I want to use Fourier Transform
in Matlab to get a function with sume of three or four sin or cos with
different frenquencies.Then I want to use this function to predict the air
termperature. How to achieve this in Matlab? I am not familiar with Matlab
and any suggestion and comments will be highly appreciated. | w**a 发帖数: 1024 | 2 is your date evenly sampled?
if so you can use 'fft' function
if not, you need other method to estimate the spectra.
commonly used one is least squares fitting.
Transform
【在 l*****e 的大作中提到】 : I have a few years of air temperature data. I want to use Fourier Transform : in Matlab to get a function with sume of three or four sin or cos with : different frenquencies.Then I want to use this function to predict the air : termperature. How to achieve this in Matlab? I am not familiar with Matlab : and any suggestion and comments will be highly appreciated.
| l*****e 发帖数: 1345 | 3 I appreciate your response. I want to do analysis on daily average
temperature. That means I have one daily average temperature per day.
Originally, I used least square fitting with a single sin function. But a
single sin curve could not fit peak values well. My professor suggested me
using Fourier Transform with sum of three or four sin or cos in an effort to
fit the data better. Any more suggestion?
Thanks again.
【在 w**a 的大作中提到】 : is your date evenly sampled? : if so you can use 'fft' function : if not, you need other method to estimate the spectra. : commonly used one is least squares fitting. : : Transform
|
|
|
|
|
|
|