0% found this document useful (1 vote)
2K views3 pages

Flowchart Perkalian Matriks

The document describes a flowchart for matrix multiplication. It begins by inputting the orders of matrices 1, 2, and 3. It then inputs the values of matrices 1 and 2. The flowchart then iterates through matrices 1 and 2, multiplying their elements and summing them into the corresponding element in matrix 3. It outputs the final result matrix 3.

Uploaded by

Alan Arismandika
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
2K views3 pages

Flowchart Perkalian Matriks

The document describes a flowchart for matrix multiplication. It begins by inputting the orders of matrices 1, 2, and 3. It then inputs the values of matrices 1 and 2. The flowchart then iterates through matrices 1 and 2, multiplying their elements and summing them into the corresponding element in matrix 3. It outputs the final result matrix 3.

Uploaded by

Alan Arismandika
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Flowchart Program Perkalian Matriks

Start var matrix1,matrix2,matrix3:array of integer; i , j, orde_a_1, orde_a_2, orde_b_1, orde_b_2, a, b, kode, bantu:integer; input:string Input: orde_a_1 Input: orde_a_2 Input: orde_b_1 Input: orde_b_2 orde_a_2 = orde_b_1 ?

j1

2 j j+1 j <=orde _a_2 i <=ord e_a_1 Input: matrix 1[j,i]

i1

i i+1 j j+1 j <=orde _b_2 i <=ord e_b_1

i1

Input: Matrix 2[j,i]

i i+1 j j+1 j <=orde _a_2 i <=ord e_a_1 Outpu t: matrix 1[j,i] i i+1 j j+1 j <=orde _b_2 i <=ord e_b_1 Outpu t: Matrix 2[j,i] i i+1 j1

i1

i1

3
j <=orde _a_2

end

i1 i <=orde _b_1

j j+1

a1

a <=orde _a_1

i i+1

matrix3[j,i] matrix3[j,i] + (matrix3[j,a] * matrix2[a,i]) i i+1 Outpu t: Matrix 3[j,i]

You might also like