How to display data from a table using fprintf?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
Cris LaPierre
el 8 de Dic. de 2020
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 comentarios
Ver también
Categorías
Más información sobre Logical 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!