用matlab中的最小二乘法拟合指数函x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];拟合一个月=1-exp(x/a)^2的函数 急用 最好上机实践下

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 20:48:18

用matlab中的最小二乘法拟合指数函x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];拟合一个月=1-exp(x/a)^2的函数 急用 最好上机实践下
用matlab中的最小二乘法拟合指数函
x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];
y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];
拟合一个月=1-exp(x/a)^2的函数 急用 最好上机实践下 急用

用matlab中的最小二乘法拟合指数函x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];拟合一个月=1-exp(x/a)^2的函数 急用 最好上机实践下
y-1=exp(x/a)^2
两边取对数,化成线性拟和
然后polyfit

function y=fun(b,x)
y=1-exp(x/b)^2
x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];
y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];
b0=[1];
[b,R,J]=nlinfit(x,y,'fun',b0);
bi=nlparci(b,R,J);
b,bi

x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];
y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];
b0=[1];
[b,R,J]=nlinfit(x,y,'fun',b0);
bi=nlparci(b,R,J);
b,

用matlab中的最小二乘法拟合指数函x=[0.0712,0.0803,0.0264,0.0081,0.0242,0.0464,0.0247,0.0037,0.0036];y=[0.1436,0.1495,0.1320,0.0424,0.0662,0.0439,0.0178,0.0188,0.0094];拟合一个月=1-exp(x/a)^2的函数 急用 最好上机实践下 matlab中的cftool拟合工具箱中的拟合函数是用什么方法拟合的?最小二乘法还是别的?谢谢 如何用matlab进行拟合,用最小二乘法? 用MATLAB 最小二乘法拟合指数曲线最小二乘法拟合指数函数y=cx^nx=[2448,4976,7464,12440,24880,49760]y=[2.010 ,3.073,3.91,5.375,8.336,12.693] matlab求最小二乘法二元拟合? 请问最小二乘法圆拟合求半径 matlab编程实现三维数据怎么,用最小二乘法圆拟合,并求出半径? MATLAB 最小二乘法拟合曲线MATLAB编程用最小二乘法拟合曲线,使曲线成为y与x的一个函数关系式x:27560000,55120000,82680000,88192000,110240000,137800000y:1743170000,1894750000,2053220000,2067000000,2239250000,2411500000y=a1+ 最小二乘法拟合曲线MATLAB中如何应用 Matlab样条拟合函数用Matlab中的最小二乘法拟合生成样条曲线,其中有这样一个函数,sp=spaps(x,y,tol),它有个输出参数是sp,代表拟合得到的样条函数,我想问能得到它的具体的函数表达式吗?如果能, matlab,最小二乘法,指数型函数time=0:1:24;tem=[15,14,14,14,14,15,16,18,20,20,23,25,28,31,32,31,29,27,25,24,22,20,18,17,16];用指数型函数a*exp(-b*(t-c)^2)进行最小二乘法拟合,求出a ,b,c参数,并画出拟合曲线求完整的matl 最小二乘法用一个多项式函数拟合多个多项式函数用最小二乘法拟合,如何用matlab实现啊?matlab里面有现成的函数么?我看大多是点拟合曲线的.比如y1=a1*x^2+a2*x+a3,y2=b1*x^2+b2*x+b3,其中b1,b2,b3,a1,a2,a3 【急】用MATLAB软件最小二乘法拟合求解malthus人口增长模型和Logistic模型malthus人口增长模型:x(t)=x0*exp(rt) 用最小二乘法后,y=rt+a,y=lnx,a=lnx0,求其中的参数r,和x0Logistic模型:x(t)=xm/[1+(xm/x0-1)exp(-rt)] 用matlab工具进行最小二乘法圆拟合的程序怎么编? 已知10个点,如何用matlab,用最小二乘法拟合圆,并求出半径 Matlab最小二乘法曲线拟合用Matlab做曲线拟合,已知x、y的值,但不知道拟合阶数,采样才能依据已有值拟合出最合适的曲线呢? matlab中最小二乘法进行数据拟合的问题对于这组数据:x=1,2,3,4,5;y=500.6,442.4,428.6,370.1,343,1;想知道x=6,7,8,9,10时的y值,于是用最小二乘法进行数据拟合.结果二次拟合的多项式和数据吻合得不好.三 matlab中用最小二乘法拟合直线现有两组数据x和z,每个x对应一个z,求用最小二乘法拟合一条直线,x为横坐标,z为纵坐标,希望用matlab中现有的函数,例如lsqlin等,告诉我怎么使用即可 最小二乘法拟合椭圆怎么求,最好matlab代码