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!
0 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Number Theory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!