5. Write a c program to find out transport of a matrix.

6. Write a c program for scalar multiplication of matrix.

7. C program to find inverse of a matrix

8. Lower triangular matrix in c

9. Upper triangular matrix in c

10. Strassen's matrix multiplication program in c

11. C program to find determinant of a matrix

12. Big list of c program examples

6. Write a c program for scalar multiplication of matrix.

7. C program to find inverse of a matrix

8. Lower triangular matrix in c

9. Upper triangular matrix in c

10. Strassen's matrix multiplication program in c

11. C program to find determinant of a matrix

12. Big list of c program examples

## 16 comments:

i am new to programming.can anyone pls explain this to me.offer ur help as soon as possible

Program above prints transpose of inverse.

see below revised code

printf("\nInverse of matrix is: \n\n");

// for(i=0;i<3;i++){

// for(j=0;j<3;j++)

for(j=0;j<3;j++){

for(i=0;i<3;i++){

printf("%.2f\t",((a[(i+1)%3][(j+1)%3] * a[(i+2)%3][(j+2)%3]) -

(a[(i+1)%3][(j+2)%3]*a[(i+2)%3][(j+1)%3]))/ determinant);

}

printf("\n");

}

what about 2by2 ??

instead of 3 use 2 . yu need to replace dem by 2!

and also dont forget to initialise st[2]

Is program correctly work or not ?

yes corectly work thanks ritesh:)

Good, but for a matrix it is also important that its determinant must be non-zero for existence of inverse.

Thus it will be good to include one more condition so it will immediately tell whether the matrix entered is valid or not.

Rest of the things are okay :)

i want 2*2 programme now! pleaseeeeee.

It does some approximations making it useless. 0.04 gets rounded to zero. 0.06 gets rounded to 0.1

if u want higher accuracy in the digits, then replace %.2f with %.10f and you will have 10 digits of accuracy instead of 2

it works i tried it

HOW ABOUT 6X6 MATRIX?

why you use %3 finding determinant

write a c program to display the elements in the matrix from any starting point it should travel upside down and also want to end at starting point.

pls help me @ richardprasanna@outlook.com

hello ever one

I can't understand why u used %3 in the code written above is it possible to write the code without %3

Post a Comment