15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1 Matrices and Linear Algebra<br />

Matrix Powers and Exponentials<br />

This section tells you how to obtain the following matrix powers and<br />

exponentials in <strong>MATLAB</strong>:<br />

• Positive integer<br />

• Inverse and fractional<br />

• Element-by-element<br />

• Exponentials<br />

Positive Integer Powers<br />

If A is a square matrix and p is a positive integer, then A^p effectively multiplies<br />

A by itself p-1 times. For example,<br />

A = [1 1 1;1 2 3;1 3 6]<br />

A =<br />

X = A^2<br />

X =<br />

1 1 1<br />

1 2 3<br />

1 3 6<br />

3 6 10<br />

6 14 25<br />

10 25 46<br />

Inverse and Fractional Powers<br />

If A is square and nonsingular, then A^(-p) effectively multiplies inv(A) by<br />

itself p-1 times:<br />

Y = A^(-3)<br />

1-34

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

Saved successfully!

Ooh no, something went wrong!