fitting my periodic function

10 Ansichten (letzte 30 Tage)
ni david
ni david am 15 Okt. 2015
Kommentiert: Walter Roberson am 15 Okt. 2015
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
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.)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

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!

Translated by