VariableNames for table that begins with number

1 回表示 (過去 30 日間)
Anna Sergeeva
Anna Sergeeva 2019 年 11 月 8 日
コメント済み: Anna Sergeeva 2019 年 11 月 10 日
Hello
Is it possible to make variables names, that begins with number, just to use in the table? I need to make a table, whrere variables are numbers and they have variable names {'1/6 oct' '1/3 oct' '1/2 oct' '1 oct' '2 oct'}. Is it maybe possible to add the variable name as a string variable to numbers?

採用された回答

the cyclist
the cyclist 2019 年 11 月 8 日
Yes.
tbl = table([1;2;3],'VariableName',{'123abc'})
  8 件のコメント
the cyclist
the cyclist 2019 年 11 月 10 日
Yes.
Anna Sergeeva
Anna Sergeeva 2019 年 11 月 10 日
Thanks :-)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by