How do I create column names?
古いコメントを表示
I have a 1x49 cell array (header_file) that contains the column names of a 1998x49 double data array (data_file). How do I make the 49 values in the header_file be the 49 column names in the data_file?
採用された回答
その他の回答 (1 件)
Walter Roberson
2013 年 8 月 1 日
Numeric arrays cannot have non-numeric headers.
The closest you can get is to create a cell array:
newcell = [header_file; num2cell(data_file)];
カテゴリ
ヘルプ センター および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!