Toeplitz Matrix
Ältere Kommentare anzeigen
Hallo all, I'm trying to create this matrix (Toeplitz Matrix):
1 0 0 0
2 1 0 0
3 2 1 0
0 3 2 1
0 0 3 2
0 0 0 3 how can I achieve that ?
thanks for help
Akzeptierte Antwort
Weitere Antworten (2)
Oleg Komarov
am 13 Mai 2011
toeplitz([1 2 3 0 0 0],[1 0 0 0])
hunterilmenau Abdulkarim
am 13 Mai 2011
0 Stimmen
1 Kommentar
Sibo Van Gool
am 8 Okt. 2021
For a more generalized version:
t = toeplitz([h zeros(1,length(h)-1)],[h(1) zeros(1, length(h)-1)])
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!