Insert matrix double into single entry of a table
Show older comments
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
Benjamin Thompson
on 15 Feb 2022
Each entry in a table only stores one number. Perhaps what you want is a cell array?
Isaac Clark
on 15 Feb 2022
Accepted Answer
More Answers (0)
Categories
Find more on Tables 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!