How do I align my matrix elements
조회 수: 14 (최근 30일)
이전 댓글 표시
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
Stephen23
2023년 3월 14일
Have a look at:
and the settings describes under Change Font Name and Style -> Code Tools. Use a monospaced font.
채택된 답변
Sulaymon Eshkabilov
2023년 3월 17일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!