1. Develop an M-file function called tranp to transpose a matrix imitating the MATLAB matrix transpose command/function. Solution % Transpose of a matrix function [B] = trans(A) A=input(\'enter the matrix\'); [row column] = size(A); B = zeros(column,row); for i = 1:row for j = 1:column B(j,i) = A(i,j); end end end out put: enter the matrix[1 2; 3 4] ans = 1 3 2 4.