Set union of different 'datetime' columns

1 回表示 (過去 30 日間)
Spacey
Spacey 2015 年 3 月 20 日
回答済み: Spacey 2015 年 3 月 24 日
Hello guys,
I got a dataset in excel which I imported as a table. There are a plenty of parameters in it with each parameter has its own time column. I also selected all time columns as datetime-variables.
My goal now is to bring all the time columns together in order to have one time column and a plenty of parameter columns that are still on their refering time point. Plotting of this modified dataset would be way nicer than before.
How do I achieve this goal?
Thank you for your help in advance!
Kind regards, Spacey

採用された回答

Guillaume
Guillaume 2015 年 3 月 20 日
If understood correctly, you have several columns which are datetime and you want to regroup them in just one column.
In that case, use stack.

その他の回答 (1 件)

Spacey
Spacey 2015 年 3 月 24 日
That helped! Thanks a lot!

カテゴリ

Help Center および File ExchangeDescriptive Statistics and Visualization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by