How to save multiple data with different sample time under the same smallest sample time and export it to the excel in the same sheet?

조회 수: 3 (최근 30일)
Hi,
How can I save different data with different sample time with reference to the smallest sample time and export it to the excel in the same sheet? This way I could plot the data with reference to each other or with reference to the same sample time.
For example, I have two timeseries dataset called 'One' and 'two' as attached. The sample time of 'One' is 0.1 and 'two' is 0.2. So they have different samples under the same simulation time.Since they have different sample and thus different rows, I cannot use the following code to export them to the excel.
T = table(One.time,One.Data,Two.Data);
writetable(T,'Test.xls');
Could you kindly suggest the workaround? Thank you!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by