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 件のコメント
回答 (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!