• Tidak ada hasil yang ditemukan

Definition of matrixes

N/A
N/A
Saiful Malik

Academic year: 2024

Membagikan "Definition of matrixes"

Copied!
53
0
0

Teks penuh

(1)

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

8 8

Matrixes

By : Sonia Nurdiansa, S.Si

(2)

Today’s Lesson

1 1

3

3 8 8

4

4 9 9

7 7

5

0 5

0 6 6

2

2

(3)

Definition of Matrices

Today’s Lesson

1 1

3

3 8 8

4

4 9 9

7 7

5

0 5

0 6 6

2

2

(4)

Definition of Matrices Types of Matrices

Today’s Lesson

1 1

3

3 8 8

4

4 9 9

7 7

5

0 5

0 6 6

2

2

(5)

Definition of Matrices Types of Matrices

Adding & Subtracting Matrices

Today’s Lesson

1 1

3

3 8 8

4

4 9 9

7 7

5

0 5

0 6 6

2

2

(6)

Definition of Matrices Types of Matrices

Adding & Subtracting Matrices

Today’s Lesson

1 1

3

3 8 8

4

4 9 9

7 7

5

0 5

0 6 6

2 2

Multiplying Matrices

(7)

Definition

(8)

Definition

A matrix is a rectangular arrangement of numbers or

constants into rows and columns.

(9)

Definition

A matrix is a rectangular arrangement of numbers or constants into rows and columns.

A = [ ] a b c d e f

(10)

Definition

A matrix is a rectangular arrangement of numbers or constants into rows and columns.

rows columns

A = [ ] a b c d e f

(11)

1 1

3 3

6 6

8 8

4

4 9 9

7 7

5 5

2 2

0

0 Vocabularies

(12)

1 1

3 3

6 6

8 8

4

4 9 9

7 7

5 5

2 2

0 0

Number of rows by number of columns of a matrix.

Vocabularies

Dimension

(13)

1 1

3 3

6 6

8 8

4

4 9 9

7 7

5 5

2 2

0 0

Number of rows by number of columns of a matrix.

Vocabularies

Dimension

A = [ ] a b c d e f

dimensions 2X3 or called A

2X3
(14)

1 1

3 3

6 6

8 8

4

4 9 9

7 7

5 5

2 2

0 0

Number of rows by number of columns of a matrix.

Vocabularies

Dimension

A = [ ] a b c d e f

dimensions 2X3 or called A

2X3

Element

Each Value in a matrix, either a

number or a constant.

(15)

1 1

3 3

6 6

8 8

4 4

7

2 7

2

9 9

5

0 5

0

Number of rows by number of columns of a matrix.

Vocabularies

Dimension

A = [ ] a b c d e f

dimensions 2X3 or called A

2X3

Element

Each Value in a matrix, either a number or a constant.

A = [ ] a b c d e f

(16)

1 1

3 3

6 6

8 8

4 4

7

2 7

2

9 9

5

0 5

0

Number of rows by number of columns of a matrix.

Vocabularies

Dimension

A = [ ] a b c d e f

dimensions 2X3 or called A

2X3

Element

Each Value in a matrix, either a number or a constant.

A = [ ] a b c d e f

A = a, A = b, A = c A = d, A = e, A = f

1,1 1,2 1,3

2,1 2,2 2,3

(17)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices

(18)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices

Column Matrix

(19)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices Column Matrix

A matrix with only one

column.

(20)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices Column Matrix

A matrix with only one column.

A = [ ] d a

(21)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices Column Matrix Row Matrix

A matrix with only one column.

A = [ ] d a

(22)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices Column Matrix Row Matrix

A matrix with only one

column. A matrix with only one row.

A = [ ] d a

(23)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices Column Matrix Row Matrix

A matrix with only one

column. A matrix with only one row.

A = [ ] d a A = [ ] a b c

(24)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices

Column Matrix Row Matrix Square Matrix

A matrix with only one

column. A matrix with only one row.

A = [ ] d a A = [ ] a b c

(25)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices

Column Matrix Row Matrix Square Matrix

A matrix with only one

column. A matrix with only one row. A matrix that has the same number of rows and

columns.

A = [ ] d a A = [ ] a b c

(26)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Types of Matrices

Column Matrix Row Matrix Square Matrix

A matrix with only one

column. A matrix with only one row. A matrix that has the same number of rows and

columns.

A = [ ] d a A = [ ] a b c A =

[ ] d e a b

(27)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Adding and Subtracting Matrices

(28)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Adding and Subtracting Matrices

To add and subtract two matrices, they must have

the same dimensions.

(29)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Adding and Subtracting Matrices

To add and subtract two matrices, they must have the same dimensions.

[ ] a b c d e f + = [ ] g h i j k l

(30)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Adding and Subtracting Matrices

To add and subtract two matrices, they must have the same dimensions.

[ ] a b c d e f + = [ ] g h i j k l [ ] a+g b+h c+i

d+j e+k f+l

(31)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0

Examples

(32)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

Examples

Adding

(33)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

Examples

Adding

(34)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

Examples

Adding

(35)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

Examples

Adding

(36)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

Examples

Adding

(37)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

Examples

Adding

(38)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

[ ]

8 5 63 7 7

- = [ ]

1 3 32 1 4

Examples

Adding Subtracting

(39)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

[ ]

8 5 63 7 7

- = [ ]

1 3 32 1 4

[ ]

1 6 3 7 2 3

Examples

Adding Subtracting

(40)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

[ ]

8 5 63 7 7

- = [ ]

1 3 32 1 4

[ ]

1 6 3 7 2 3

[ ]

6 4 8 59 5

- = [ ]

2 3 5 31 2

Examples

Adding Subtracting

(41)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

[ ]

8 5 63 7 7

- = [ ]

1 3 32 1 4

[ ]

1 6 3 7 2 3

[ ]

6 4 8 59 5

- = [ ]

2 3 5 31 2

[ ]

4 1 3 28 3

Examples

Adding Subtracting

(42)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

[ ]

8 5 63 7 7

- = [ ]

1 3 32 1 4

[ ]

1 6 3 7 2 3

[ ]

6 4 8 59 5

- = [ ]

2 3 5 31 2

[ ]

4 1 3 28 3

- =

[ ]

2 7 1 5

Examples

Adding Subtracting

[ ]

1 4 1 7
(43)

8 8

1 1

4 4

9 9

6 6

3 3

7 7

5 5

2

0 2

0 [ ]

2 7 4

1 5 3

+ = [ ]

8 3 62 1 7

[ ]

4 8 11 9 8 9

[ ]

2 3 5 31 2

+ = [ ]

6 1 4 36 5

[ ]

8 4 9 67 7

[ ]

2 3 5 31 2

+ =

[ ]

2 7 41 5 3

[ ]

8 5 63 7 7

- = [ ]

1 3 32 1 4

[ ]

1 6 3 7 2 3

[ ]

6 4 8 59 5

- = [ ]

2 3 5 31 2

[ ]

4 1 3 28 3

- =

[ ]

2 7 1 5

Examples

Adding Subtracting

[ ]

1 4 1 7

[ ]

1 0 0 1
(44)

Multiplying Matrices

(45)

Multiplying Matrices

There are 2 kinds of multiplying matrices : Multiply a matrix by a scalar

Multiply a matrix by another matrix

(46)

Multiplied by a scalar

(47)

Multiplied by a scalar

To multiply a matrix by a single number (n), every single element

must be multiplied by that number (n).

(48)

Multiplied by a scalar

To multiply a matrix by a single number (n), every single element

must be multiplied by that number (n).

[ ] nxa nxb nxc nxd nxe nxf

nxA =

(49)

Multiplied by a scalar Examples

To multiply a matrix by a single number (n), every single element

must be multiplied by that number (n).

[ ] nxa nxb nxc nxd nxe nxf

nxA =

(50)

A is a matrix that has 3 rows and 2

columns. The elements of A are 1 2, 3 4, 5 6. There is a scalar n = 2.

Calculate A multiplied by n !

Multiplied by a scalar Examples

To multiply a matrix by a single number (n), every single element

must be multiplied by that number (n).

[ ] nxa nxb nxc nxd nxe nxf

nxA =

(51)

A is a matrix that has 3 rows and 2

columns. The elements of A are 1 2, 3 4, 5 6. There is a scalar n = 2.

Calculate A multiplied by n !

Multiplied by a scalar Examples

To multiply a matrix by a single number (n), every single element

must be multiplied by that number (n).

[ ] nxa nxb nxc nxd nxe nxf

nxA = [ ]

2x1 2x2

2x3 2x4 2x5 2x6

n x A =

(52)

A is a matrix that has 3 rows and 2

columns. The elements of A are 1 2, 3 4, 5 6. There is a scalar n = 2.

Calculate A multiplied by n !

Multiplied by a scalar Examples

To multiply a matrix by a single number (n), every single element

must be multiplied by that number (n).

[ ] nxa nxb nxc nxd nxe nxf

nxA =

[ ]

10 12 2 4 6 8

=

[ ]

2x1 2x2 2x3 2x4

2x5 2x6

n x A =

(53)

You did great.

Thank You!!!

Referensi

Dokumen terkait

• q ( n, m ) is the number of isomorphism classes of TRDs with n points and m strong components, such that each single-point strong component has a loop. • t ( n, m ) is the number

A positive integer m has the property that when multiplied by 12, the result is a four-digit number n of the form 20A2 for some digit A.. Alana, Beatrix, Celine, and Deanna played

1.5 Obtaining the tutorial examples In this tutorial, you will learn finite element and FEniCS programming through a number of example programs that demonstrate both how to solve

1.5 Obtaining the tutorial examples In this tutorial, you will learn finite element and FEniCS programming through a number of example programs that demonstrate both how to solve

Single cantilever devices can be actuated in a number of ways including: piezoelectric actuation – e.g., via a piezoelectric actuation element patterned locally upon the cantilever;

Pointers to Structures #include "stdio.h" struct number { int img; float real; }; int main { struct number *ptr; printf"%d %f\n", ptr->img, ptr->real; } Accessing an element of

it can be obtained by using the formula as used by Muller 1970: 136 as follow: = Explanation: : Mean : Frequency multiplied by deviation N : The number of student Standard

Definitions Scalar: A quantity specified by a magnitude represented by a single positive or negative real number with its unit at a given position and time.. Vector: A quantity