can anybody please help me to define this?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
John D'Errico
am 13 Mai 2020
Special? Not really.
help diag
2 Kommentare
Steven Lord
am 13 Mai 2020
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.
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!