Number of columns to be shown of a matrix saved in the workspace.

1 次查看(过去 30 天)
How can I specify the number of columns to be shown in matrix saved in the workspace? For example, if the matrix has 14 columns, when I double click on it I want to see the 7 of them and the other 7 on another page? Is this possible? Right now, there are 29 columns fitted, which makes the cells look very small and I can't see their values.Thanks!

回答(1 个)

Massimo Zanetti
Massimo Zanetti 2016-10-7
Assume your matrix C is nx14. To display them separately just save two other matrices as follows:
A = C(:,1:7);
B = C(:,18:end);
Now click on them on the workspace. :)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by