==Maybe==
maltiplication of matrix for algorithme
Check related links
C Examples on Matrix OperationsA matrix is a rectangular array of numbers or symbols arranged in rows and columns. The following section contains a list of C programs which perform the operations of Addition, Subtraction and Multiplication on the 2 matrices. The section also deals with evaluating the transpose of a given matrix. The transpose of a matrix is the interchange of rows and columns.The section also has programs on finding the trace of 2 matrices, calculating the sum and difference of two matrices. It also has a C program which is used to perform multiplication of a matrix using recursion.C Program to Calculate the Addition or Subtraction & Trace of 2 MatricesC Program to Find the Transpose of a given MatrixC Program to Compute the Product of Two MatricesC Program to Calculate the Sum & Difference of the MatricesC Program to Perform Matrix Multiplication using Recursion
draw the flowchart for transpose of a matrice
#include<stdio.h> #include<conio.h> int main(void) { int a[100][100]={0}; /* initializing matrices to '0' */ int b[100][100]={0}; int c[100][100]={0}; /*matrix-c for multiplication*/ /*r1,c1 are rows and coloumns for matrix-a.r2,c2 for matrix-b.*/ int r1,c1,r2,c2; int i,j,k; clrscr(); printf("enter the no of ROWS and COLOUMNS for MATRIX-A\n"); scanf("%d %d",&r1,&c1); printf("enter the no of ROWS and COLOUMNS for MATRIX-B\n"); scanf("%d %d",&r2,&c2); if(c1==r2) { printf("matrix multiplication possible\n\nenter numbers in MATRIX-A\n"); /* to enter numbers in matrix-a*/ for(i=0;i<r1;i++) for(j=0;j<c1;j++) scanf("%d",&a[i][j]); printf("enter numbers in MATRIX-B\n"); /* to enter numbers in matrix-b*/ for(i=0;i<r2;i++) for(j=0;j<c2;j++) scanf("%d",&b[i][j]); /*for matrices multiplication*/ for(i=0;i<r1;i++) for(j=0;j<c2;j++) for(k=0;k<c1;k++) *(*(c+i)+j)+=*(*(a+i)+j)*(*(*(b+k)+j)); printf("result of multiplication of matrices is \n"); /*to display as matrix format*/ for(i=0;j<r1;i++) { printf("\n"); for(j=0;j<c2;j++) printf("%d\t",*(*(c+i)+j)); } } //if else printf("MATRIX multiplication not Possible\n"); getch(); return 0; } /* TWINKLING TWINS */
That is true, matrix multiplication is not commutative.
Matrix addition is commutative if the elements in the matrices are themselves commutative.Matrix multiplication is not commutative.
how to write a program for matrix multiplication in microprocesspr
maltiplication of matrix for algorithme
Matrix multiplication typically refers to an operation which yields a new matrix from a pair of matrices which are already known. This is normally covered in an Algebra class or textbook.
13
7
ghanto
If an identity matrix is the answer to a problem under matrix multiplication, then each of the two matrices is an inverse matrix of the other.
Matrix multiplication is when you multiply the numbers inside different matricies.[topleft#1]Xtopleft#2=top left topright#1XBottomleft=top right bottom left X Topleft=top left bottom rightX bottom right=bottom right Scalar multiplication A number out side a matrix multiplies all parts of the matrix
Check related links
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.