How to assign a vector on sub-digagonals of a N*N matrix in MATLAB?

1 vue (au cours des 30 derniers jours)
hamed
hamed le 6 Nov 2020
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

Réponses (1)

Matt J
Matt J le 6 Nov 2020

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by