How to assign a vector on sub-digagonals of a N*N matrix in MATLAB?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a vector with a specific length "n". I want to put a vector on the sub-diagonals of a N * N (N> n) matrix repeatedly. Something like what I have plotted in the attached figure. Any suggestion?
Thanks![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/404945/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/404945/image.png)
1 comentario
Respuestas (1)
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!