Why am i getting the : errir using inv ,Matrix must be square?
4 ビュー (過去 30 日間)
古いコメントを表示
Hello ,
i have a created a toeplitz matrix H which is 12x8 .I want to run the command:
y=inv(H) but the compiler says : Error using inv Matrix must be square
Do you know where is the problem?
3 件のコメント
回答 (1 件)
Fabio Freschi
2019 年 11 月 9 日
As James Tursa said, inv(H) is not defined when H is not square. If you have the matrix H and the rhs g, simply use
f = H\g;
1 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!