fitting my periodic function
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi firends,
I have a set of input and output data, and I also have the function with three free variables. How can I fit this function without getting into local min and max. My function is
a ./ abs(1-exp(-b*300e-6 + 2j*(2*pi*c./(lam*1e-9))*300e-6)).^2
with a,b and c being free variables.
Another fitting function for this problem is in the form of
(a^2*(1-b^2)^2+(4*a^2*b^2*sin(2*pi*c*300e-6/lam*1e-9)^2))/((1-b^2)^2+4*b^2*(sin(2*pi*c*300e-6/lam*1e-9))^2)
again with a,b and c being free variables.
1 Kommentar
Walter Roberson
am 15 Okt. 2015
Question: are the free variables constrained to be real, or could they be complex? Is the output constrained to be real? (That would be a major constraint due to the complex component of the expression.)
Antworten (0)
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!