How to print several timetables side by side?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Scott MacKenzie
le 16 Août 2021
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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Time Series Objects dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!