How to print several timetables side by side?

1 回表示 (過去 30 日間)
Bruno Carvalho
Bruno Carvalho 2021 年 8 月 12 日
コメント済み: Scott MacKenzie 2021 年 8 月 16 日
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 Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by