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!