answersLogoWhite

0


Best Answer

For the resulting matrix, just add the corresponding elements from each of the matrices you add. Use coordinates, like "i" and "j", to loop through all the elements in the matrices. For example (for Java; code is similar in C):

for (i = 0; i <= height - 1; i++)
for (j = 0; j<= weidht - 1; j++)
matrix_c[i][j] = matrix_a[i][j] + matrix_b[i][j]


User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

flow chart is the diagrammatic representation of an algorithm

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Use paper and pencil; a flowchart-symbol template helps, but is not required.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Start -> Input A -> Input B -> Let C = A + B -> Print C -> End

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

fdsfdsfdsfdsdf

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

madhar chod

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Flow chart for addition of two matrices?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Types of flow chart?

Flow chart: - A flow chart is a symbolic representation of any process. Each step in the process is represented by a different symbol with a short description of the process. The flow chart symbols are linked together with arrows showing the process flow direction.There ate two types of flow charts1. Low level flow chart2. High level flow chart


Draw a flow chart to find HCF of two given numbers?

First you will need to pick out the two numbers. Then you can use your textbook and the instructions in order to draw out the flow chart.


How do you develop a JAVA program that computes matrices?

Matrices can't be "computed" as such; only operations like multiplication, transpose, addition, subtraction, etc., can be done. What can be computed are determinants. If you want to write a program that does operations such as these on matrices, I suggest using a two-dimensional array to store the values in the matrices, and use for-loops to iterate through the values.


Write an algorithm for multiplication of two sparse matrices?

how to multiply two sparse matrices


A diagram that represents the outcomes of two or more events?

flow chart


How do you draw a flow chart for determining if the two numbers are equal or not?

using OR ().


Flow chart for sum of two numbers in c?

z = x + y


Why does the flow chart split into two paths after Megan sets up her stand?

bh


Write flowchart searching algorithm?

flow chart to swap two number


These matrices represent the coordinates of two figures in the plane. Is the product of these matrices defined Answer yes or no?

no


How do you draw a flowchart of HCF of two given numbers?

draw a flow chart to find hcf of two given numbers


What is commuting use?

Commuting in algebra is often used for matrices. Say you have two matrices, A and B. These two matrices are commutative if A * B = B * A. This rule can also be used in regular binary operations(addition and multiplication). For example, if you have an X and Y. These two numbers would be commutative if X + Y = Y + X. The case is the same for X * Y = Y * X. There are operations like subtraction and division that are not commutative. These are referred to as noncommutative operations. Hope this helps!!