淮阴工学院数学建模实验报告9程序代码.docx
- 文档编号:4042930
- 上传时间:2023-05-06
- 格式:DOCX
- 页数:20
- 大小:17.66KB
淮阴工学院数学建模实验报告9程序代码.docx
《淮阴工学院数学建模实验报告9程序代码.docx》由会员分享,可在线阅读,更多相关《淮阴工学院数学建模实验报告9程序代码.docx(20页珍藏版)》请在冰点文库上搜索。
淮阴工学院数学建模实验报告9程序代码
程序代码:
clc
clear
A=[276.2324.5158.6412.5292.8258.4334.1303.2292.9243.2159.7331.2
251.6287.3349.5297.4227.8453.6321.5451466.2307.5421.1455.1
192.7433.2289.9366.3466.2239.1357.4219.7245.7411.1357353.2
246.2232.4243.7372.5460.4158.9298.7314.5256.6327296.5423
291.7311502.4254245.6324.8401266.5251.3289.9255.4362.1
466.5158.9223.5425.1251.4321315.4317.4246.2277.5304.2410.7
258.6327.4432.1403.9256.6282.9389.7413.2466.5199.3282.1387.6
453.4365.5357.6258.1278.8467.2355.2228.5453.6315.6456.3407.2
158.5271410.2344.2250360.7376.4179.4159.2342.4331.2377.7
324.8406.5235.7288.8192.6284.9290.5343.7283.4281.2243.7411.1];
ME=mean(A,1)
STD=std(A,1)
COR=corrcoef(A)
[m,n]=find(abs(COR)>0.4&COR<1)
Y4=A(:
4);
X4=[ones(10,1)A(:
m(5))A(:
m(6))A(:
m(7))A(:
m(8));];
[b4,bint4,r4,rint4,stats4]=regress(Y4,X4)
y4=ME(4);
x4=sqrt(stats4(4));
sunshi4=x4/y4
Y6=A(:
6);
X6=[ones(10,1)A(:
m(11))A(:
m(12))A(:
m(13))A(:
m(14))A(:
m(15))];
[b6,bint6,r6,rint6,stats6]=regress(Y6,X6)
y6=ME(6);
x6=sqrt(stats6(4));
sunshi6=x6/y6
Y7=A(:
7);
X7=[ones(10,1)A(:
m(16))A(:
m(17))];
[b7,bint7,r7,rint7,stats7]=regress(Y7,X7)
y7=ME(7);
x7=sqrt(stats7(4));
sunshi7=x7/y7
Y9=A(:
9);
X9=[ones(10,1)A(:
m(21))A(:
m(22))A(:
m(23))A(:
m(24))A(:
m(25))];
[b9,bint9,r9,rint9,stats9]=regress(Y9,X9)
y9=ME(9);
x9=sqrt(stats9(4));
sunshi9=x9/y9
Y10=A(:
10);
X10=[ones(10,1)A(:
m(26))A(:
m(27))A(:
m(28))A(:
m(29))];
[b10,bint10,r10,rint10,stats10]=regress(Y10,X10)
y10=ME(10);
x10=sqrt(stats10(4));
sunshi10=x10/y10
Y11=A(:
11);
X11=[ones(10,1)A(:
m(end-8))A(:
m(end-7))A(:
m(end-6))A(:
m(end-5))A(:
m(end-4))];
[b11,bint11,r11,rint11,stats11]=regress(Y11,X11)
y11=ME(11);
x11=sqrt(stats11(4));
sunshi11=x11/y11
Y12=A(:
12);
X12=[ones(10,1)A(:
m(end-3))A(:
m(end-2))A(:
m(end-1))A(:
m(end))];
[b12,bint12,r12,rint12,stats12]=regress(Y12,X12)
y12=ME(12);
x12=sqrt(stats12(4));
sunshi12=x12/y12
运行结果:
ME=
Columns1through10
292.0200311.7700320.3200342.2800292.2200315.1500343.9900303.7100312.1600299.4700
Columns11through12
310.7200391.8900
STD=
Columns1through10
95.054776.7741102.689660.691789.274389.366236.095480.7078103.782454.3095
Columns11through12
82.074034.9399
COR=
Columns1through10
1.0000-0.2413-0.2206-0.1082-0.33120.3481-0.26220.08360.2928-0.3098
-0.24131.00000.0805-0.40320.09690.01600.1769-0.16470.20050.2313
-0.22060.08051.0000-0.5031-0.26760.40770.8126-0.08580.1915-0.0175
-0.1082-0.4032-0.50311.00000.3158-0.5567-0.15230.1384-0.2029-0.2501
-0.33120.0969-0.26760.31581.0000-0.6136-0.0977-0.3156-0.25240.5817
0.34810.01600.4077-0.5567-0.61361.00000.22360.04170.4918-0.0106
-0.26220.17690.8126-0.1523-0.09770.22361.0000-0.32410.0531-0.0674
0.0836-0.1647-0.08580.1384-0.31560.0417-0.32411.00000.6348-0.5946
0.29280.20050.1915-0.2029-0.25240.49180.05310.63481.0000-0.4225
-0.30980.2313-0.0175-0.25010.5817-0.0106-0.0674-0.5946-0.42251.0000
0.15870.05320.3278-0.42010.08440.65440.0635-0.07620.42720.4969
0.2786-0.34240.0111-0.2597-0.20370.3631-0.51520.53920.42590.0026
Columns11through12
0.15870.2786
0.0532-0.3424
0.32780.0111
-0.4201-0.2597
0.0844-0.2037
0.65440.3631
0.0635-0.5152
-0.07620.5392
0.42720.4259
0.49690.0026
1.00000.5652
0.56521.0000
m=
4
4
6
7
2
3
6
11
6
10
3
4
5
9
11
3
12
9
10
12
6
8
10
11
12
5
8
9
11
4
6
9
10
12
7
8
9
11
n=
2
3
3
3
4
4
4
4
5
5
6
6
6
6
6
7
7
8
8
8
9
9
9
9
9
10
10
10
10
11
11
11
11
11
12
12
12
12
b4=
585.1725
-0.2932
-0.1747
-0.2752
-0.0283
bint4=
307.6855862.6595
-0.91250.3261
-0.68280.3335
-1.00340.4530
-0.79490.7382
r4=
25.8107
-5.7257
34.6886
-49.8400
-55.6162
22.5158
76.0382
-15.9434
18.7812
-50.7092
rint4=
-63.8357115.4570
-136.3812124.9299
-57.5531126.9304
-117.932518.2525
-134.591823.3594
-82.1068127.1384
-23.5322175.6085
-128.963497.0766
-127.2337164.7961
-162.680361.2618
stats4=
1.0e+03*
0.00050.00150.00033.3893
sunshi4=
0.1701
b6=
317.2582
-0.0276
-0.1178
-0.6463
0.0271
0.7320
bint6=
-144.4965779.0128
-0.51860.4633
-1.01350.7779
-1.2035-0.0890
-0.45280.5070
0.05941.4047
r6=
58.5001
7.3604
6.3008
-34.2019
16.2983
-6.8894
-28.1560
24.0890
10.1287
-53.4298
rint6=
29.405787.5945
-108.9400123.6607
-101.4699114.0715
-131.067562.6637
-55.393087.9896
-105.890392.1114
-66.565110.2530
-72.7433120.9212
-79.8688100.1262
-104.9577-1.9019
stats6=
1.0e+03*
0.00090.00600.00012.3323
sunshi6=
0.1532
b7=
464.0800
0.2877
-0.5416
bint7=
368.3402559.8198
0.20770.3677
-0.7768-0.3064
r7=
3.7646
3.3486
1.2075
-6.3999
-11.5034
9.4497
11.2303
8.7770
-1.1312
-18.7433
rint7=
-12.587820.1169
-17.511324.2086
-23.380625.7956
-30.132417.3325
-28.17645.1697
-13.613332.5128
-11.053633.5143
-15.958533.5125
-26.304824.0424
-36.1611-1.3254
stats7=
0.935150.45440.0001120.7392
sunshi7=
0.0319
b9=
606.1403
-0.1030
0.8555
-1.1285
1.4352
-1.6060
bint9=
1.0e+03*
-0.22991.4422
-0.00100.0008
-0.00020.0019
-0.00280.0005
0.00010.0028
-0.00410.0008
r9=
31.1116
-5.5590
-5.0026
20.5572
-7.2776
-62.2963
-21.5074
55.2943
-45.6537
40.3336
rint9=
-71.8403134.0634
-56.291145.1730
-61.517251.5120
-60.1878101.3022
-162.8220148.2669
-188.545563.9528
-91.655348.6405
20.351090.2376
-160.375969.0685
-81.7077162.3748
stats9=
1.0e+03*
0.00090.00600.00013.1528
sunshi9=
0.1799
b10=
194.5092
0.2142
-0.0188
-0.3295
0.4858
bint10=
17.9180371.1005
-0.07260.5009
-0.46540.4279
-0.71370.0548
0.10940.8621
r10=
10.6094
21.7265
28.4164
-19.6817
6.5351
-31.5364
-25.7320
-6.5236
-10.7080
26.8944
rint10=
-42.592163.8109
-14.836758.2896
-18.009474.8423
-69.989930.6265
-68.163781.2338
-91.331828.2590
-79.645328.1812
-39.398826.3515
-65.374943.9590
-34.923688.7124
stats10=
0.85227.20740.0263871.8752
sunshi10=
0.0986
b11=
-570.0839
0.2241
0.4080
0.3485
1.1011
0.6047
bint11=
1.0e+03*
-1.14790.0077
-0.00050.0009
-0.00010.0009
-0.00010.0008
0.00040.0018
-0.00050.0017
r11=
-38.2311
-36.7940
-4.4373
12.9951
10.2863
8.3330
29.8423
26.1013
16.0731
-24.1687
rint11=
-91.263214.8011
-88.910715.3228
-51.408242.5336
-48.345374.3354
-63.129683.7022
-65.665382.3314
-25.010584.6950
-45.586897.7894
-59.959392.1054
-106.791458.4539
stats11=
1.0e+03*
0.00090.00880.00001.3984
sunshi11=
0.1203
b12=
333.0834
-0.3018
0.3136
-0.1198
0.3373
bint12=
103.2351562.9316
-0.80810.2044
-0.02330.6505
-0.39360.1540
0.08610.5884
r12=
-14.8899
-8.5379
-31.8688
12.1962
10.4517
0.1846
3.3151
10.1246
9.3418
9.6825
rint12=
-42.584112.8043
-36.982919.9072
-57.1407-6.5969
-32.096956.4894
-28.471049.3744
-47.845848.2150
-29.431736.0619
0.786119.4630
-27.941246.6247
-32.279451.6445
stats12=
0.84746.94210.0284372.5521
sunshi12=
0.0493
>>
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 淮阴 工学院 数学 建模 实验 报告 程序代码