can anybody please help me to define this?
2 ビュー (過去 30 日間)
古いコメントを表示
Actually I am looking for a speacial function in matlab which I can use to define this matrix. I have used it in past but now I don't remember it. It is a builtin functino to define these sort of matrices.
If anybody can help me pls...
Thanks
0 件のコメント
回答 (1 件)
John D'Errico
2020 年 5 月 13 日
Special? Not really.
help diag
2 件のコメント
Steven Lord
2020 年 5 月 13 日
If the matrix is going to be large and all the values above and below those three diagonals are 0, consider spdiags to make this as a sparse matrix.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!