How to display data from a table using fprintf?
조회 수: 2 (최근 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!