matlab设置数值精度

format long %设置为小数点后知9位
format short %设置为小数点后4位
vpa(pi,200) %设置pi为小数点后200位

posted on 2020-04-27 18:34  一杯明月  阅读(3145)  评论(0编辑  收藏  举报