inverse
설명
예제
로랑 다항식을 만듭니다.
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);
행렬 lmat = 를 만듭니다. lmat의 행렬식을 구합니다.
lmat = laurentMatrix(Elements={lpA,lpB;lpC,lpD});
det(lmat)ans =
laurentPolynomial with properties:
Coefficients: 1
MaxOrder: -1
행렬식은 0이 아닌 단항식입니다. lmat의 역행렬을 구합니다. 역행렬의 요소를 검사합니다.
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
lmat와 그 역행렬의 곱이 단위 행렬인지 확인합니다.
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}ans =
laurentPolynomial with properties:
Coefficients: 0
MaxOrder: 0
matprod.Elements{2,2}ans =
laurentPolynomial with properties:
Coefficients: 1
MaxOrder: 0
입력 인수
로랑 행렬로, laurentMatrix 객체로 지정됩니다.
출력 인수
로랑 행렬의 역행렬로, laurentMatrix 객체로 반환됩니다.
확장 기능
C/C++ 코드 생성
MATLAB® Coder™를 사용하여 C 코드나 C++ 코드를 생성할 수 있습니다.
버전 내역
R2021b에 개발됨
MATLAB Command
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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)