14.02.2013 Views

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix I / Utilities / Matrices<br />

_ _<br />

22.9.19 Matrix Symmetry<br />

M_SYMMETRIC takes a near-symmetric matrix [P(n,n)], and returns it with<br />

its off-diagonal elements symmetric using the method determined by (k).<br />

M_SYMMETRY<br />

22.9-6<br />

( [ P ] , n , k )<br />

Equation 22.9-36<br />

For the case where the lower triangular matrix is loaded into the upper<br />

triangular matrix,<br />

( k = 0 ) ∧ ( i ∈ [ 1(<br />

1 ) n − 1]<br />

) ∧ ( j ∈ [ 1 + 1(<br />

1 ) m ] )<br />

p<br />

( i,<br />

j ) : = p(<br />

j,<br />

i )<br />

Equation 22.9-37<br />

For the case where the average value of the upper and lower off-diagonal<br />

elements are loaded into the respective triangular matrices,<br />

( k ≠ 0 ) ∧ ( i ∈ [ 1(<br />

1 ) n −1<br />

] ) ∧ ( j ∈ [ 1 + 1(<br />

1 ) m ] )<br />

⎧<br />

⎪<br />

⎨<br />

⎪<br />

⎩<br />

22.9.20 Matrix Positive Define Testing<br />

p<br />

( i,<br />

j ) : = 0.<br />

5 ⋅ ( p ( i,<br />

j ) + p ( j,<br />

i ) )<br />

p<br />

⎫<br />

⎪<br />

⎬<br />

( j,<br />

i ) : = p ( i,<br />

j ) ⎪<br />

⎭<br />

⇒<br />

⇒<br />

Equation 22.9-38<br />

M_POSDEF takes covariance matrix [C(n,n)], and returns a value > 0 when<br />

it is ill-conditioned, otherwise zero. A non-zero value indicates the type of<br />

ill-conditioning. If k > 0 [C] is returned after forcing positive-definiteness.<br />

y : = M_POSDEF<br />

( [ C ] , n , k )<br />

First test the main diagonal for zero, or negative terms,<br />

( i ∈ [ 1 ( 1 ) n ] ) ∧ c ( i , i )<br />

Equation 22.9-39<br />

−8<br />

( < 10 ) ⇒ y : = 2<br />

The 2 nd stage is to apply the off-diagonal correlation test,<br />

Equation 22.9-40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!