How do I get rid of these >> symbols when writing fprint?

4 views (last 30 days)
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!

Accepted Answer

KALYAN ACHARJYA
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)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!