MATLAB Answers

Display string and variables

5 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

  0 Comments

Sign in to comment.

Answers (1)

Adam
Adam on 24 Feb 2017
doc fprintf

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!