How to display data from a table using fprintf?
1 回表示 (過去 30 日間)
古いコメントを表示
i'm trying to fprintf ('The Maximum Number of Cases Are: %d on %f', X) but i know im using the wrong code!! please HELP!
0 件のコメント
回答 (2 件)
Cris LaPierre
2020 年 12 月 8 日
I think you want this
DATE = datetime(2020,06,19,"Format","MM/dd/yy");
DAILYCASES = 1774;
X=table(DATE,DAILYCASES)
fprintf ('The Maximum Number of Cases Are: %d on %s', X.DAILYCASES,X.DATE)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!