Professional Documents
Culture Documents
Vectors and Matrix
Vectors and Matrix
Multiplication
Inverse
Solving Simultaneous Equations
Ax=b
A=matrix of coefficients,
x = vector of variables,
b = vector of values.
In matrix form the above system and its solution can be written
as
== Equal to
~= Not equal to
Note that the results of these operations are
also either ‘1’ or ‘0’.
Examples: logical operations
Lets say, a=1, b=2, and c=1. Then,
A<b results in TRUE I.e. ‘1’
A>b results in FALSE I.e. ‘0’
A==b results in FALSE I.e. ‘0’
A==c results in TRUE I.e. ‘1’
A==c && a<=b results in ‘1’.