Insert matrix double into single entry of a table

I would like to save a 30x30 matrix into a single entry of a table. This is my attempt, but my issue is that the 30x30 double data is not the same size as the double variable type in the entry of the table.
CT = table('Size',[11 4],'VariableTypes',{'double','double','double','double'});
C=zeros(30x30);
CT(1,1)=C;

2 Comments

Each entry in a table only stores one number. Perhaps what you want is a cell array?
Perhaps. Although I have been working with some data recently which is in the form of a table and does in fact have entries with complete matricies within them. I am wondering how this is possible and how it was made?

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2021b

Community Treasure Hunt

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

Start Hunting!