Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

repeating elements in weird fashion.

1 Ansicht (letzte 30 Tage)
CalebJones
CalebJones am 3 Feb. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
(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.

Antworten (1)

John D'Errico
John D'Errico am 3 Feb. 2020
Bearbeitet: John D'Errico am 3 Feb. 2020
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by