IN MATLAB Write a program that takes a square matrix NxN and
IN MATLAB, Write a program that takes a square matrix (NxN) and flips the matrix on its left to right diagonal
Solution
#Nested loops are used to transpose a matrix. What we did is every ith and jth location of A matrix is changed to jthand ith location correspondingly and stored into other matrix B.
