How to print several timetables side by side?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Scott MacKenzie
el 16 de Ag. de 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.
Respuestas (0)
Ver también
Categorías
Más información sobre Time Series Objects en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!