MATLAB Answers

Why doesn't my matrix appear without missing columns

5 views (last 30 days)
The matrices outputs come out wrong. Eg. I create a 3x3 matrix, but the output shows only 2 columns. I am trying to make teaching documents, but these errors keep me from doing so.
matlabprob.PNG

  17 Comments

Adam Danz
Adam Danz on 15 Jan 2020
You can see in your screen shot that A is 3x3.
Here's the output when I run that code,
However, when I resize the command window to make it narrow, I can make it appear as if A only has 2 columns (nothing changed between these 2 screen shots other than resizing the command window).
Your command window has plenty of space to the right of the 2nd column shown in your screenshot but you may want to double check that this isn't causing the issue.

Sign in to comment.

Accepted Answer

per isakson
per isakson on 15 Jan 2020
Edited: per isakson on 15 Jan 2020
The problem exists in R2018b,Win10

  0 Comments

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 15 Jan 2020
That problem existed in your release, but was fixed by R2019b.

  0 Comments

Sign in to comment.

Sign in to answer this question.