Name the first column in array2table
Show older comments
How do I name the first column of the table? I am able to name the other columns, but not the column that was not included in the 6x6 table. I want to name the first column Property. (in matlab R2019)
Property = {'Salinity','Oxygen','Nitrate','Silicate','Temperature','Phosphate'}
T = array2table(coeff,'VariableNames', {'Mode_1','Mode_2','Mode_3','Mode_4','Mode_5','Mode_6'},...
'RowNames', Property);
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!