My Matlab command windows displays poorly organized rows and columns whenever I display a big array, how to I fix this?
Show older comments
My Matlab R2019b keeps displaying bigger arrays like these. As the number of elements in rows and columns increase, the element display gets messy, how do I fix this? Checkout the picture I have attached to see what am taking about.

4 Comments
Walter Roberson
on 6 Jun 2023
Table = (1:colsize)+(1:rowsize).';
it appears.
Nope.
colsize = 14;
rowsize = 14;
Table = (1:colsize).*(1:rowsize).'
Stephen23
on 6 Jun 2023
"how do I fix this?"
Use a monospaced font: https://www.mathworks.com/matlabcentral/answers/194900-what-font-do-you-code-in
Answers (1)
John D'Errico
on 6 Jun 2023
1 vote
You need to set the desktop text font to be a monospaced font. Go to:
Settings/Fonts
I tend to use something simple like Monaco.
Categories
Find more on Desktop in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!