answersLogoWhite

0


Best Answer
  1. Matrix-Addition(a,b)
  2. 1 for i =1 to rows [a]
  3. 2 for j =1 to columns[a]
  4. 3 Input a[i,j];
  5. 4 Input b[i,j];
  6. 5 C[i, j] = A[i, j] + B[i, j];
  7. 6 Display C[i,j];
User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Algorithm of the addition of the two matrix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

C Matrix addition program?

How we can addition Two Matrix plz send coding in C language mahesh dhanotiya astah_mahesh@rediff.com how i can built a square matrix in c,


What is a fast-transpose algorithm for sparse matrices?

A fast-transpose is a computer algorithm that quickly transposes a sparse matrix using a relatively small amount of memory. Using arrays normally to record a sparse matrix uses up a lot of memory since many of the matrix's values are zero. In addition, using the normal transpose algorithm to transpose this matrix will take O(cols*elements) amount of time. The fast-transpose algorithm only uses a little memory to record the matrix and takes only O(cols+elements) amount of time, which is efficient considering the number of elements equals cols*rows.


Are matrix addition and matrix multiplication commutative?

Matrix addition is commutative if the elements in the matrices are themselves commutative.Matrix multiplication is not commutative.


What is the worst case analysis for matrix multiplication algorithm?

n^3


If properties of matrix addition let A B C D the m n matrix then 1 A plus B B plus A?

Yes. Matrix addition is commutative.


Write a program using iostreams to take as input two multi-dimensional arrays and print their sum as output Matrix Addition in Matrix format?

http://www.assignmentsclub.com/


What property states that the order of two numbers in an addition or multiplication problem can be changing the result of the problem?

That is non-commutativity. Matrix multiplication is non-commutative although addition still is.


What is the definition of standard algorithm?

The definition of "standard algorithm" is that it is a mathematical method used to solve problems such as addition, substraction, division, and multiplication.


Algorithm for transpose of matrix?

transpose(Matrix mat,int rows, int cols ){ //construction step Matrix tmat; for(int i=0;i<rows;i++){ for(int j=0;j<cols;j++){ tmat[j][i] = mat[i][j]; } } }


What are math terms that start with an a?

Algebra Algebraic Algorithm Algorithms Addition Average


What is matrix system?

A matrix is a rectangular array of elements - usually numbers. These, together with rules governing their addition and multiplication make up matrix algebra or system.


A Write the algorithm to concatenate two given strings?

a write the algorithm to concatenate two given string