フィルターのクリア

Matlab break matrices undesirable

1 回表示 (過去 30 日間)
Md.
Md. 2014 年 6 月 5 日
コメント済み: José-Luis 2014 年 6 月 5 日
When I enter values for a 10x10 complex number matrix in matlab, it breaks it down every 3 columns.
This is not desirable for me. Is there a way to display all 10x10 without breaking it down?
  2 件のコメント
the cyclist
the cyclist 2014 年 6 月 5 日
When you say "it breaks down every 3 columns", do you specifically mean how the matrix is displayed in the command window?
Md.
Md. 2014 年 6 月 5 日
Yes just the viewing

サインインしてコメントする。

回答 (1 件)

the cyclist
the cyclist 2014 年 6 月 5 日
MATLAB will display as many columns as it can per row, given the width of the command window. If you have a wide screen, maximize the size of the MATLAB window, and make the command window as wide as you can (possibly removing the command history and workspace windows), then you should be able to see all ten columns of a complex array. (I was able to see 9 columns, on a relatively small laptop screen.)
If that does not work, then you can also decrease the font size in the command window. Go to Preferences -> Fonts -> Desktop code font.
  2 件のコメント
Md.
Md. 2014 年 6 月 5 日
Thanks that worked. Another question, the elements for the matrix I enter have six significant figures after the decimal point. But when inputted into matlab it only shows first 4. How do I make sure it displays all the digits?
José-Luis
José-Luis 2014 年 6 月 5 日

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by