22BEC0052_Controlsy​stems_DA_1

1. Determine transpose, inverse values of given matrix.

You are now following this Submission

clc
clear
close all
x=input("Enter the matrix: ");
% finding transpose
[m,n]=size(x);
t=zeros(n,m);
for i=1:n
for j=1:m
t(i,j)=x(j,i);
end
end
disp("Transverse of the matrix is: ")
disp(t)
% finding inverse
if m==n
if det(x)==0
disp("The inverse does not exist as the determinant is zero")
else
in=inv(x);
disp("Inverse of the matrix is: ")
disp(in)
end
else
disp("The matrix is not a square matrix")
end

Cite As

Janaanie (2026). 22BEC0052_Controlsystems_DA_1 (https://www.mathworks.com/matlabcentral/fileexchange/172740-22bec0052_controlsystems_da_1), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0