(4662 Views)

Transpose of a matrix is obtained by changing rows to columns and columns to rows.

In the above algorithm,

- We first declare two matrices a and b of order mxn
- Then we read matrix a from the user. We will use matrix b to store transpose of the matrix.
- Now, we declare two variables i, j and intialize them to 0
- After this we start a loop of i, till it reaches n which gave us the column indexes and insude it a loop of j which gives us the elements of the row.

5 UpvotesUpvote |
1 DownvotesDownvote |

- Difference between Join And Union in SQL [11210 Views]
- Flowchart and Algorithm for Tower of Hanoi [2306 Views]
- How to give Android Permission for I/O Operations over NFC [1144 Views]
- Javascript Program to Check whether Number is Prime or Not [1748 Views]
- Algorithm and Flowchart for Matrix addition [9224 Views]

- How To Win Ludo King Game Every Time [34898 Views]
- Algorithm to find whether number is Armstrong Number or Not [34280 Views]
- Knuth-Morris-Pratt (KMP) Substring Search Algorithm with Java Example [25542 Views]
- Jio Phone hang on LOGO problem Solution - Hard Reset Jio Phone [24306 Views]
- FlowChart and Algorithm to find Whether a Number is Even or Odd [17984 Views]

**Looking for any Software or Tutorial?**

Don't Worry, we will find it for you

Contact Now