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?
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
1 Comment
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/638395-how-to-assign-a-vector-on-sub-digagonals-of-a-n-n-matrix-in-matlab#comment_1114465
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/638395-how-to-assign-a-vector-on-sub-digagonals-of-a-n-n-matrix-in-matlab#comment_1114465
Sign in to comment.