You are working with the text-only light edition of "H.Lohninger: Teach/Me Data Analysis, Springer-Verlag, Berlin-New York-Tokyo, 1999. ISBN 3-540-14743-8". Click here for further information.

Matrix Addition and Subtraction

Adding or subtracting matrices is simple and can be accomplished by adding/subtracting the corresponding matrix elements:

crs := ars + brs,

with C, A, and B being the respective matrices. The order of the matrices A and B must be the same. Matrices of unequal order cannot be added or subtracted.

The zero matrix 0 naturally arises from subtracting two indentical matrices and contains only zero elements.

A - A = 0

Let's take a look at an example:

 

Last Update: 2006-Jän-17