Toeplitz Matrix
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (2)
Oleg Komarov
el 13 de Mayo de 2011
toeplitz([1 2 3 0 0 0],[1 0 0 0])
1 comentario
hunterilmenau Abdulkarim
el 13 de Mayo de 2011
hunterilmenau Abdulkarim
el 13 de Mayo de 2011
0 votos
1 comentario
Sibo Van Gool
el 8 de Oct. de 2021
For a more generalized version:
t = toeplitz([h zeros(1,length(h)-1)],[h(1) zeros(1, length(h)-1)])
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!