How to display data from a table using fprintf?
4 次查看(过去 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!