How to get smith form of a matrix in matlab
조회 수: 2 (최근 30일)
이전 댓글 표시
When i tried this code: syms x A = [x^2 + 3, (2*x - 1)^2; (x + 2)^2, 3*x^2 + 5] S = smithForm(A) I got following error: Undefined function or method 'smithForm' for input arguments of type 'sym'. How to resolve this.
댓글 수: 0
채택된 답변
Roger Stafford
2016년 3월 25일
편집: Walter Roberson
2016년 3월 25일
Use 'smithform' only in mupad. See
댓글 수: 3
Walter Roberson
2016년 3월 25일
The MATLAB interface to smithform is available only from R2015b. Before that you need to interface into the MuPAD linalg routine.
sakshi, are you executing those commands inside a MuPAD notebook? If you are then what error message are you receiving?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MuPAD에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!