How do I get rid of these >> symbols when writing fprint?
4 views (last 30 days)
Show older comments
avgSFSummer = mean(SF(6:8))
fprintf('Average temperature during SF summer months is %.2f', avgSFSummer)
Output gives me this:
avgSFSummer =
61.3333
Average temperature during SF summer months is 61.333>>
How do I get rid of the greater than symbols? Or are they there simply because 61.3333 goes on forever, and I can't really change it? Thank you!
0 Comments
Accepted Answer
KALYAN ACHARJYA
on 11 Oct 2019
Edited: KALYAN ACHARJYA
on 11 Oct 2019
fprintf('Average temperature during SF summer months is %.2f\n', avgSFSummer);
or More New Line Gap
fprintf('Average temperature during SF summer months is %.2f\n\n', avgSFSummer)
More Answers (0)
See Also
Categories
Find more on Number Theory 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!