There are several options, one of which is to choose the format (link) type for what you want to do. I will let yoiu explore the linked documentation at your leisure.
How to display decimal places
1 次查看(过去 30 天)
显示 更早的评论
So I am programming a loop that multiplies by 10, but I need it to display 2 decimal places, how do I do that? This is what I have so far:
clc
for i = 1.00:1.00:15.00
k = i*10
end
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!