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?
1 次查看(过去 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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!