How to print several timetables side by side?

2 次查看(过去 30 天)
So, I need to print some timetables side by side, of with the names are, for example ventoAC_06, and ventoAC_12.
These timetables have the date displayed in dd-MMM-yyyy hh-mm-ss and have 1 column with 802 numbers for each date.
Trying to print them i turned the dates into a string. time = datestr(ventoAC_06.Time);
time =
'11-Mar-2019 12:00:00'
'01-Mar-2019 00:00:00'
'21-Dec-2017 12:00:00'
Then,
fileID = fopen('vAC_TimeTable.txt','w');
fprintf(fileID,'%s\n',time.');
fprintf(fileID,'%20s %.4f\n',time.',ventoAC_06.AC06);
But this doesnt give me the first timetable as i want.
Can someone help? Thank you
  1 个评论
Scott MacKenzie
Scott MacKenzie 2021-8-16
I'm not sure exactly what you mean by "side by side", but if these are timetable arrays, perhaps synchronize will suffice. It will combine all the data from both timetables. New columns are added as necessary and new rows are added for any row in one table without a corresponding row in the other table.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by