inv( ) command or function gives the inverse of a matrix, after reading this MATLAB matrix inverse topic, you will know the theory and examples.
Syntax:
inv(n)
Example: To find the inverse of matrix A as given below.
$A = \left[ {\begin{array}{*{20}{c}}
3&2 \\
{12}&{34}
\end{array}} \right]$
Output:
A =
3 2
12 34
ans =
0.4359 -0.0256
-0.1538 0.0385
Related Topics
MATLAB diagonal matrixdiag() command or function gives diagonal elements or creates a diagonal matrix, after reading this…
MATLAB onesThis command creates an array of all ones, after reading this MATLAB ones topic, you…
MATLAB MatrixAfter reading the MATLAB Matrix topic, you will understand how to create and manipulate Matrix…
MATLAB eyeThis command creates an Identity matrix, after reading this MATLAB eye topic, you will know the…
MATLAB Reshapereshape() command or function reshapes a matrix or vector, after reading this MATLAB Reshape topic,…