You are on page 1of 5

y1_bar =

194.4737
267.0526
137.3684
185.9474

>> y2_bar=[179.55; 290.8; 157.2; 209.25]

y2_bar =

179.5500
290.8000
157.2000
209.2500

>> S1=[187.596 176.863 58.3713 113.582; 176.863 345.386 75.9795 118.781;


48.3713 75.9795 66.3567 16.2427; 113.582 118.781 16.2427 239.942]

S1 =

Columns 1 through 2

187.5960 176.8630
176.8630 345.3860
48.3713 75.9795
113.5820 118.7810

Columns 3 through 4

58.3713 113.5820
75.9795 118.7810

66.3567 16.2427
16.2427 239.9420

>> S_1=[187.596 176.863 48.3713 113.582; 176.863 345.386 75.9795 118.781;


48.3713 75.9795 66.3567 16.2427; 113.582 118.781 16.2427 239.942]

S_1 =

Columns 1 through 2

187.5960 176.8630
176.8630 345.3860
48.3713 75.9795
113.5820 118.7810

Columns 3 through 4

48.3713 113.5820
75.9795 118.7810
66.3567 16.2427
16.2427 239.9420

>> S_2=[101.8395 128.0632 36.98947 32.59211; 128.0632 389.0105 165.3579


94.36842; 36.98947 165.3579 167.5368 66.52632; 32.59211 94.36842
66.52632 177.8816]

S_2 =

Columns 1 through 2

101.8395 128.0632
128.0632 389.0105
36.9895 165.3579

32.5921 94.3684

Columns 3 through 4

36.9895 32.5921
165.3579 94.3684
167.5368 66.5263
66.5263 177.8816

>> S_pl=((18*S_1)+(19*S_2))/37

S_pl =

Columns 1 through 2

143.5589 151.8036
151.8036 367.7878
42.5266 121.8765
71.9926 106.2448

Columns 3 through 4

42.5266 71.9926
121.8765 106.2448
118.3140 42.0640
42.0640 208.0731

>> Spl_invers=inv(S_pl)

Spl_invers =

Columns 1 through 2

0.0133 -0.0053
-0.0053

0.0067

0.0015 -0.0047
-0.0022 -0.0006

Columns 3 through 4

0.0015 -0.0022
-0.0047 -0.0006
0.0130 -0.0007
-0.0007

0.0060

>> A=y1_bar-y2_bar

A=

14.9237
-23.7474
-19.8316
-23.3026

>> At=transpose(A)

At =

Columns 1 through 2

14.9237 -23.7474

Columns 3 through 4

-19.8316 -23.3026

>> T_square=(380/39)*At*Spl_invers*A

T_square =

133.4879
>> a=Spl_invers*A

a=

0.3453
-0.1304
-0.1064
-0.1434

You might also like