Combine variables in workspace into one table?
古いコメントを表示
Hi, I have a workspace that has 50+ variables I have calculated such as movmean for 9 axis of data, mov median.. etc [1048575x1 double] and I would like to combine them into one table. Or at least combine some?
Is this possible?
(I am trying to classify behaviour from the data)
Thankyou!
2 件のコメント
Stephen23
2018 年 9 月 6 日
This might be relevant:
How did you get all of those variables into the workspace?
Katrina Anderson
2018 年 9 月 6 日
採用された回答
その他の回答 (1 件)
Peter Perkins
2018 年 9 月 7 日
If you created those variables in the workspace, surely you could have created them in a table to begin with?
t = table();
t.SomeVarName = fun(something)
If you really have 50 variables in the workspace, then you will need to call the table constructor and list them all out as inputs. If they were in a cell array you could do this
t = table(c{:})
カテゴリ
ヘルプ センター および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!