Fitting data to a known function using numerical solution
조회 수: 7 (최근 30일)
이전 댓글 표시
I have a set of input values and output values of a function f(x).
Now,
zz= linspace(1,120e3, 1000);
A= 100.*exp((-alpha).*(1 : zz/2)) + gg.*exp(ff.*(zz/2 : L))
where, alpha is a known value. I need to find gg and ff values to fit the A to the output values of f(x).
I am confused how to to do this. Your suggestions would be highly appreciated. Thanks.
댓글 수: 0
채택된 답변
Davide Masiello
2022년 5월 4일
편집: Davide Masiello
2022년 5월 4일
I suggest an extensive reading of the following documentation
These are the Matlab function and options for curve and surface fitting.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!