Display Complete output in Command Window

조회 수: 160 (최근 30일)
GAURAV DHADSE
GAURAV DHADSE 2019년 6월 17일
답변: pankhuri kasliwal 2019년 6월 18일
How to display complete matrix size of 3200 x 3200 in Matlab 2007 Command Window?
  댓글 수: 1
Rik
Rik 2019년 6월 17일
Doesn't disp work? Or fprintf?

댓글을 달려면 로그인하십시오.

답변 (3개)

Manvi Goel
Manvi Goel 2019년 6월 17일
You can display the output of the matrix by using the disp command.
% Let a be the matrix of dim 3200 * 3200
disp(a) % displays the matrix in the command window.
  댓글 수: 2
GAURAV DHADSE
GAURAV DHADSE 2019년 6월 17일
Still it is not possible...I tried sir
GAURAV DHADSE
GAURAV DHADSE 2019년 6월 17일
As it is only showing result from column 3000 to 3200 only

댓글을 달려면 로그인하십시오.


Steven Lord
Steven Lord 2019년 6월 17일
You can expand the size of the Command Window scroll buffer but I'm not sure you're going to be able to expand it enough to show the whole matrix.
Are you really planning to read through all 10,240,000 elements of the array? If not, if you tell us how you're planning to use this information we may be able to offer an alternative that doesn't require displaying over ten million numbers in the Command Window.
  댓글 수: 1
GAURAV DHADSE
GAURAV DHADSE 2019년 6월 17일
Sir plz tell the alternative if any...

댓글을 달려면 로그인하십시오.


pankhuri kasliwal
pankhuri kasliwal 2019년 6월 18일
try this
fmt = [repmat('%4d ', 1, size(A,2)-1), '%4d\n'];
fprintf(fmt, A.');

카테고리

Help CenterFile Exchange에서 Data Type Identification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by