Is there anyway to pass parameter in fit() function ?

1 次查看(过去 30 天)
I am trying to fit signal using
fit(t,y,'fourier3')
The coefficient I'm getting are having higher value than expected (x10^6). I have a feeling that its due to wrong frequency (w) being used in fit. I know the frequency of the signal. is there any way to pass the known frequency into the fit function ? In cftool, I am able to do it by specifying the w lower and w higher as same value. Can that be done in fit function too? How do I go about it.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by