VariableNames for table that begins with number

2 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by