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 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!