How do I align my matrix elements
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Seonghun Yang
el 14 de Mzo. de 2023
Respondida: Sulaymon Eshkabilov
el 17 de Mzo. de 2023
Greetings,
I have reinstalled my MATLAB recently, and I am having an issue with matrix output
For example, if I type below command,
y = [1:5; 11:15; 111:115]

This is what I get in command window. Is there anyway I can align this?
It is the first time seeing this issue and I don't think I can read properly if i play with large matrices.
2 comentarios
Stephen23
el 14 de Mzo. de 2023
Have a look at:
and the settings describes under Change Font Name and Style -> Code Tools. Use a monospaced font.
Respuesta aceptada
Sulaymon Eshkabilov
el 17 de Mzo. de 2023
This displays ok here. In your case, change the font size of the command window or use live editor that will display correctly
y = [1:5; 11:15; 111:115]
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!