Display string and variables

2 visualizaciones (últimos 30 días)
Andrea Tersigni
Andrea Tersigni el 24 de Feb. de 2017
Respondida: Adam el 24 de Feb. de 2017
I have a for loop that gives me the mean return and standard deviation for several securities how can I display "The return is ... and the standard deviation is ..."? Returns are of the form 6.0033e-04 while standard deviations 0.0207

Respuestas (1)

Adam
Adam el 24 de Feb. de 2017
doc fprintf

Categorías

Más información sobre Characters and Strings 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!

Translated by