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

조회 수: 1 (최근 30일)
hamed
hamed 2020년 11월 6일
답변: Matt J 2020년 11월 6일
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

답변 (1개)

Matt J
Matt J 2020년 11월 6일

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by