Rank: 315867 based on 0 downloads (last 30 days) and 0 file submitted
photo

will wehner

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by will View all
Updated File Comments Rating
13 Mar 2014 Frequency, amplitude, phase and mean value of sine wave The function sinfapm evaluates parameters of sampled sine wave Author: Miroslav Balda

Thank you.
Unfortunately, I believe there are still problems with the function.

I emailed you an example (miroslav@balda.cz) with estimation of real data. It uses your function and compares to estimation with nlinfit.m

Will

30 Jan 2014 Frequency, amplitude, phase and mean value of sine wave The function sinfapm evaluates parameters of sampled sine wave Author: Miroslav Balda

t=0:.01:1;
y=2*sin(2*pi*10*t+3)+5;

[f,a,phi,ave] = sinfapm(y,100)

Returns
f=2.486
a=-0.1283
phi=1.5719
ave=5.0035

Contact us