fitting my periodic function
조회 수: 10 (최근 30일)
이전 댓글 표시
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
Walter Roberson
2015년 10월 15일
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.)
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!