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

1 visualización (últimos 30 días)
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!

Respuestas (1)

Massimo Zanetti
Massimo Zanetti el 7 de Oct. de 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. :)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by