Info
此问题已关闭。 请重新打开它进行编辑或回答。
repeating elements in weird fashion.
1 次查看(过去 30 天)
显示 更早的评论
(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.
0 个评论
回答(1 个)
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!