My Matlab command windows displays poorly organized rows and columns whenever I display a big array, how to I fix this?

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

We can't see what code you used to generate such a display, so we can't advise you what's wrong with it.
Nope.
colsize = 14;
rowsize = 14;
Table = (1:colsize).*(1:rowsize).'
Table = 14×14
1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 4 6 8 10 12 14 16 18 20 22 24 26 28 3 6 9 12 15 18 21 24 27 30 33 36 39 42 4 8 12 16 20 24 28 32 36 40 44 48 52 56 5 10 15 20 25 30 35 40 45 50 55 60 65 70 6 12 18 24 30 36 42 48 54 60 66 72 78 84 7 14 21 28 35 42 49 56 63 70 77 84 91 98 8 16 24 32 40 48 56 64 72 80 88 96 104 112 9 18 27 36 45 54 63 72 81 90 99 108 117 126 10 20 30 40 50 60 70 80 90 100 110 120 130 140

Sign in to comment.

Answers (1)

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.

1 Comment

Thanks guys, the problem has been solved after changing the desktop text font to mono spaced.

Sign in to comment.

Categories

Asked:

on 5 Jun 2023

Commented:

on 6 Jun 2023

Community Treasure Hunt

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

Start Hunting!