You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
General Information
- Version 1.0.0 (1.21 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
