필터 지우기
필터 지우기

Set union of different 'datetime' columns

조회 수: 2 (최근 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 CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by