Display Complete output in Command Window
127 ビュー (過去 30 日間)
古いコメントを表示
How to display complete matrix size of 3200 x 3200 in Matlab 2007 Command Window?
回答 (3 件)
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.
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.
pankhuri kasliwal
2019 年 6 月 18 日
try this
fmt = [repmat('%4d ', 1, size(A,2)-1), '%4d\n'];
fprintf(fmt, A.');
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!