Wednesday, April 2, 2014

Freemat See Things in Matrix

Freemat provides a matrix environment of numerical analysis. Freemat sees things like its a matrix, so have to know a little about matrix if you are really interested in using Freemat.

  | 1 2 3 4|
  | 4 5 6 7|       This is a matrix.

Matrix elements should be inside a third brackets like [ 1 2 3]  but here let it make simple for writing here and i will write it like | 1 2 3|

Now 1,2, 3     are elements of the matrix and every element have a address to recognize the element . Just like out home address relates to the person who lives in the address. So we can know every element if someone give us the address of the element.

so this address of the elements of the matrix is given by two term
1)  Row
2) Column

what is row ?

The horizontal line of the matrix is called row.

A=    |1 2 3 |    --------------------Row 1
        |4 5 6 |    --------------------Row 2

What is Column ?
The vertical line is called column.


A=     | 1 2 3 |                                A=  | 1 2 3 |
         | 4 5 6 |                                      | 4 5 6 |
            ^                                                   ^
      Column 1                                     Column 2

Columns are perpendicular to rows

So how many rows and Columns does this matrix have ?

B =     | 1 2 3 4 |
          | 5 6 7 8 |

So B matrix have 2 Rows and 4 Columns

So whats the Size of B
                 = 2 4.

No comments:

Post a Comment