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

4 次查看(过去 30 天)
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!

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-10-11
编辑:KALYAN ACHARJYA 2019-10-11
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)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Number Theory 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by