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

1 view (last 30 days)
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!

Answers (1)

Massimo Zanetti
Massimo Zanetti on 7 Oct 2016
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. :)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!