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!