MATLAB拟合二元一次函数,求参量a、b、cX1 =[6.7276 6.8386 7.0171 7.1476 7.3165 7.5428 7.5605]X2 =[5.7659 + 3.1416i 5.7662 + 3.1416i 5.8266 + 3.1416i 5.8738 + 3.1416i 6.1117 + 3.1416i 6.2977 + 3.1416i 5.9172 + 3.1416i]Y=[8.6580 8.8148 9.1354
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 17:37:46
MATLAB拟合二元一次函数,求参量a、b、cX1 =[6.7276 6.8386 7.0171 7.1476 7.3165 7.5428 7.5605]X2 =[5.7659 + 3.1416i 5.7662 + 3.1416i 5.8266 + 3.1416i 5.8738 + 3.1416i 6.1117 + 3.1416i 6.2977 + 3.1416i 5.9172 + 3.1416i]Y=[8.6580 8.8148 9.1354
MATLAB拟合二元一次函数,求参量a、b、c
X1 =[6.7276 6.8386 7.0171 7.1476 7.3165 7.5428 7.5605]
X2 =[5.7659 + 3.1416i 5.7662 + 3.1416i 5.8266 + 3.1416i 5.8738 + 3.1416i 6.1117 + 3.1416i 6.2977 + 3.1416i 5.9172 + 3.1416i]
Y=[8.6580 8.8148 9.1354 9.1278 9.1411 9.1973 9.2518]
matlab 拟合Y=a+b*X1+c*X2,求matlab程序求解a、b、c
MATLAB拟合二元一次函数,求参量a、b、cX1 =[6.7276 6.8386 7.0171 7.1476 7.3165 7.5428 7.5605]X2 =[5.7659 + 3.1416i 5.7662 + 3.1416i 5.8266 + 3.1416i 5.8738 + 3.1416i 6.1117 + 3.1416i 6.2977 + 3.1416i 5.9172 + 3.1416i]Y=[8.6580 8.8148 9.1354
X1 =[6.7276 6.8386 7.0171 7.1476 7.3165 7.5428 7.5605];
X2 =[5.7659 + 3.1416i 5.7662 + 3.1416i 5.8266 + 3.1416i 5.8738 + 3.1416i 6.1117 + 3.1416i 6.2977 + 3.1416i 5.9172 + 3.1416i];
Y=[8.6580 8.8148 9.1354 9.1278 9.1411 9.1973 9.2518];
X0=[1 1 1 1 1 1 1];
X1 =[6.7276 6.8386 7.0171 7.1476 7.3165 7.5428 7.5605];
X2 =[5.7659 + 3.1416i 5.7662 + 3.1416i 5.8266 + 3.1416i 5.8738 + 3.1416i 6.1117 + 3.1416i 6.2977 + 3.1416i 5.9172 + 3.1416i];
Y=[8.6580 8.8148 9.1354 9.1278 9.1411 9.1973 9.2518];
X0=[1 1 1 1 1 1 1];
A=[X0' X1' X2'];
A\Y'
输入以上在command window 回车 既得你所要的 a b c
楼主速度给分啊,必须是正确的
X2是复数?