Carpenters keep moving forward
2009年8月22日星期六
Round up numbers in Matlab, leaving given numbers of digits after dot
The easiest way is to try to
num = num*10;
num = round(num);
num = num / 10;
kind of thing...
Other way is:
the
vpa
function.
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论