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!