Display string and variables

2 views (last 30 days)
Andrea Tersigni
Andrea Tersigni on 24 Feb 2017
Answered: Adam on 24 Feb 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

Answers (1)

Adam on 24 Feb 2017
doc fprintf


Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by