Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

repeating elements in weird fashion.

조회 수: 1 (최근 30일)
CalebJones
CalebJones 2020년 2월 3일
마감: MATLAB Answer Bot 2021년 8월 20일
(1,1) = 162 so after reading this it has to repeat 'X' 162 times vertically
(1,2) = 173 so after reading this it has to repeat 'A' 173 times vertically
(1,3) = 162 so after reading this it has to repeat 'X' 162 times vertically
(1,4) = 173 so after reading this it has to repeat 'B' 173 times vertically
similarly for the rest of the matrix.

답변 (1개)

John D'Errico
John D'Errico 2020년 2월 3일
편집: John D'Errico 2020년 2월 3일
help repelem
MAtLAB is not a spreadsheet though. I would suggest that you are thinking of it as one, and until you free yourself of thinking that way, to think of MATLAB as a language itself instead of just a spreadsheet interface, your code will stay at that level.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by