如何在Gnuplot中拟合f(x)= a * sin ^ 2(b * x ^ 2 + c)

问题描述 投票:-1回答:1

我必须通过测量使f(x)= a sin ^ 2(b x ^ 2 + c)适应图:

3 0.00736 0.002794 0.0026124 0.0025153 0.0024185 0.0022213 0.0021273 0.0021285 0.0022309 0.0025318 0.0027327 0.003327 0.0031358 0.0044390 0.0071407 0.0096451 0.0191477 0.026510 0.04543 0.0532566 0.0645598 0.0778623 0.0875641 0.091687 0.089713 0.079738 0.065779 0.035801 0.016824 0.007848 0.0037872 0.0085888 0.016906 0.033915 0.041936 0.057942 0.06954 0.069974 0.079991 0.0841000 0.085

同一个人可以帮助我将该曲线拟合到我的图形吗?预先谢谢!

我所得到的是这个:enter image description here

plot gnuplot wolfram-mathematica curve-fitting question2answer
1个回答
0
投票

为了获得良好的拟合度,请始终提供一些最佳猜测的初始值。而且,如果sin()的参数大致在-pi到+ pi的范围内,我想它可能会促进整个拟合过程,这就是b的猜测值约为1e-6的原因。

© www.soinside.com 2019 - 2024. All rights reserved.