怎么用MATLAB拟合非线性多元函数?例如X1={0,0,0,0,0,0,0,111,227,441,668,882,1000,970,786,496,296,120,2,0}X2={0,0,0,0,0,91,207,430,611,869,1000,955,689,461,243,40,0,0,0,0,0}X3={0,0,48,144,355,536,724,956,1000,930,753,558,333,213,111,17,0,0,

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 09:52:55

怎么用MATLAB拟合非线性多元函数?例如X1={0,0,0,0,0,0,0,111,227,441,668,882,1000,970,786,496,296,120,2,0}X2={0,0,0,0,0,91,207,430,611,869,1000,955,689,461,243,40,0,0,0,0,0}X3={0,0,48,144,355,536,724,956,1000,930,753,558,333,213,111,17,0,0,
怎么用MATLAB拟合非线性多元函数?
例如X1={0,0,0,0,0,0,0,111,227,441,668,882,1000,970,786,496,296,120,2,0}
X2={0,0,0,0,0,91,207,430,611,869,1000,955,689,461,243,40,0,0,0,0,0}
X3={0,0,48,144,355,536,724,956,1000,930,753,558,333,213,111,17,0,0,0,0}
X4={0,84,261,434,760,940,1000,910,750,477,283,136,0,0,0,0,0,0,0,0}
X5={0,0,0,0,0,0,0,0,0,0,0,47,120,110,57,0,0,0,0,0}
x6={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
Y={45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140}
其中X1、X2、X3、X4、X5、X6为自变量Y为因变量,不知道能不能拟合为线性Y=a*X1+b*X2+c*X3+d*X4+e*X5+f*X6的形式以及非线性的形式.
不知道matlab里面有没有函数可以拟合上面的函数,
请以我给出的这七组数据拟合出Y=a*X1+b*X2+c*X3+d*X4+e*X5+f*X6+e这个函数,

怎么用MATLAB拟合非线性多元函数?例如X1={0,0,0,0,0,0,0,111,227,441,668,882,1000,970,786,496,296,120,2,0}X2={0,0,0,0,0,91,207,430,611,869,1000,955,689,461,243,40,0,0,0,0,0}X3={0,0,48,144,355,536,724,956,1000,930,753,558,333,213,111,17,0,0,
程序是A=[0 0 0 0 0 0 45
0 0 0 84 0 0 50
0 0 48 261 0 0 55
0 0 144 434 0 0 60
0 0 355 760 0 0 65
0 91 536 940 0 0 70
0 207 724 1000 0 0 75
111 430 956 910 0 0 80
227 611 1000 750 0 0 85
441 869 930 477 0 0 90
668 1000 753 283 0 0 95
882 955 558 136 47 0 100
1000 689 333 0 120 0 105
970 461 213 0 110 0 110
786 243 111 0 57 0 115
496 40 17 0 0 0 120
296 0 0 0 0 0 125
120 0 0 0 0 0 130
2 0 0 0 0 0 135
0 0 0 0\x090 0 140];
y=A(:,7),x=A(:,1:6);
B= REGRESS(y,x)
a=B(1),b=B(2),c=B(3),d=B(4),e=B(5),f=B(6)
得结果
B =
0.2935
-0.1263
0.0126
0.0965
-1.0472
0

matlab 拟合一元非线性拟合 用什么函数? 如题,怎么用matlab进行非线性的多元函数拟合?例如:因变量y 自变量 X1 X2 X3 X41658 111 717 153 253191797 122 826 184 378291850 137 958 206 422322205 146 1004 247 56584可以拟合为线性y=a*x1+b*x2+c*x3+d*x4的形式以及非线 怎么用matlab拟合反比例函数 我想用matlab做一个多元非线性的拟合(五元函数最好是五元高次的).数据如下用matlab怎么编程?x1 x2 x3 x4 x5 y1 2.78 0.01 0.3 6600 0.1 0.00029 2.78 0.04 0.4 10680 0.1 0.02660 2.78 0.07 0.5 14770 0.1 0.08115 2.78 0.1 0.6 求matlab中多元拟合函数及参数 MatLab中多元拟合的函数是什么?类似于fit函数,可以做任意类型的拟合 matlab怎么用fsolve函数解非线性方程组? 求高手指导用matlab对函数进行非线性拟合求出参数,已知数据x,y;万分感谢 matlab中有没有多元拟合函数类似于fit的自定义拟合 怎么用matlab拟合函数,最好是三元的多项式 怎么用MATLAB拟合非线性多元函数?例如X1={0,0,0,0,0,0,0,111,227,441,668,882,1000,970,786,496,296,120,2,0}X2={0,0,0,0,0,91,207,430,611,869,1000,955,689,461,243,40,0,0,0,0,0}X3={0,0,48,144,355,536,724,956,1000,930,753,558,333,213,111,17,0,0, 用matlab拟合函数求系数,只有一个系数该怎么拟合 用matlab 对一组数据进行拟合后,怎么直接显示拟合函数的图像? matlab二元含三个参数的函数拟合求参数问题我急需要拟合出一个非线性函数,0.3058*(x-a)=b*(y^c),其中x=[1937,2623,3338],y=[0.000133,0.000379,0.00081],用sqcurvefit 怎么拟合 ,请问,y=[0.000133,0.000379,0.00081]时,0.3058 matlab怎样编写命令对函数进行非线性拟合求出参数,已知数据x, matlab 非线性拟合拟合参数 Nm 和 k ,见图 matlab 多元非线性最小二乘拟合我用matlab工具比较少,做如下拟合.z = ((L+d)cos(e)-a)^2+((L+d)cos(e)-b)^2其中,z,d,e是直接观测值,现在要用最小二乘法拟合求出L,a,b三个量.z=[50,50,50]d=[0.01,0.02,0.0 如何判断matlab多元 非线性拟合好坏程度?事先不知道多元方程的形式,打算运用lsqcurvefit函数,生成的resnorm可以作为指标么?主要问题是不确定多元方程的形式!当然nlinfit也可以实现,但是不知道