MATLAB Help Center
Laurent matrix inverse
Since R2021b
R = inverse(M)
R = inverse(M) returns the inverse of the Laurent matrix M if M has a nonzero monomial determinant.
R
M
example
collapse all
Create the Laurent polynomials:
a(z)=z+1
b(z)=z2+z+z-1
c(z)=z
d(z)=z2+z-1
lpA = laurentPolynomial(Coefficients=[1 1],MaxOrder=1); lpB = laurentPolynomial(Coefficients=[1 1 0 1],MaxOrder=2); lpC = laurentPolynomial(Coefficients=[1],MaxOrder=1); lpD = laurentPolynomial(Coefficients=[1 0 0 1],MaxOrder=2);
Create the matrix lmat = [a(z)b(z)c(z)d(z)]. Obtain the determinant of lmat.
lmat
lmat = laurentMatrix(Elements={lpA,lpB;lpC,lpD}); det(lmat)
ans = laurentPolynomial with properties: Coefficients: 1 MaxOrder: -1
The determinant is a nonzero monomial. Obtain the inverse of lmat. Inspect the elements of the inverse.
lmatinv = inverse(lmat); lmatinv.Elements{1,1}
ans = laurentPolynomial with properties: Coefficients: [1 0 0 1] MaxOrder: 3
lmatinv.Elements{1,2}
ans = laurentPolynomial with properties: Coefficients: [-1 -1 0 -1] MaxOrder: 3
lmatinv.Elements{2,1}
ans = laurentPolynomial with properties: Coefficients: -1 MaxOrder: 2
lmatinv.Elements{2,2}
ans = laurentPolynomial with properties: Coefficients: [1 1] MaxOrder: 2
Confirm the product of lmat and its inverse is equal to the identity matrix.
matprod = lmat*lmatinv; matprod.Elements{1,1}
ans = laurentPolynomial with properties: Coefficients: 1 MaxOrder: 0
matprod.Elements{1,2}
ans = laurentPolynomial with properties: Coefficients: 0 MaxOrder: 0
matprod.Elements{2,1}
matprod.Elements{2,2}
laurentMatrix
Laurent matrix, specified as a laurentMatrix object.
Inverse of a Laurent matrix, returned as a laurentMatrix object.
expand all
Introduced in R2021b
det
laurentPolynomial
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office