matlab拟合x=[0,1,1.5,2,3,25];y=[1,0.93,0.88,0.82,0.74,0.002];对

学习 时间:2026-08-23 05:43:47 阅读:8559
matlab拟合x=[0,1,1.5,2,3,25];y=[1,0.93,0.88,0.82,0.74,0.002];对此进行高斯拟合,并求出拟合后对就6.11与3.4处的x点的值

最佳回答

幽默的电脑

超帅的酸奶

2026-08-23 05:43:47

x=[0,1,1。5,2,3,25]';>> y=[1,0。93,0。88,0。82,0。74,0。002]';>> xx=fit(x,y,'gauss1','MaxIter',1000)xx =General model Gauss1:xx(x) = a1*exp(-((x-b1)/c1)^2)Coefficients (with 95% confidence bounds):a1 = 1。158 (0。711,1。605)b1 = -3。88 (-11。68,3。923)c1 = 10。22 (2。691,17。74)>> xx(6。11)ans =0。4452>> xx(3。4)ans =0。6971

最新回答共有2条回答

  • 纯情的黑夜
    回复
    2026-08-23 05:43:47

    x=[0,1,1。5,2,3,25]';>> y=[1,0。93,0。88,0。82,0。74,0。002]';>> xx=fit(x,y,'gauss1','MaxIter',1000)xx =General model Gauss1:xx(x) = a1*exp(-((x-b1)/c1)^2)Coefficients (with 95% confidence bounds):a1 = 1。158 (0。711,1。605)b1 = -3。88 (-11。68,3。923)c1 = 10。22 (2。691,17。74)>> xx(6。11)ans =0。4452>> xx(3。4)ans =0。6971

上一篇 In time of dire need,clever thinking is key.中文意思.

下一篇 放大镜放在太阳下汇聚成的点有多少度?