Matlab任意精度计算支持吗?>> vpa(cos(3),1000)ans =-.9899924966004454152113112286315299570560455322265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 09:13:02
Matlab任意精度计算支持吗?>> vpa(cos(3),1000)ans =-.9899924966004454152113112286315299570560455322265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Matlab任意精度计算支持吗?
>> vpa(cos(3),1000)
ans =
-.9899924966004454152113112286315299570560455322265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
我嫌这个精度不够 ,为什么后面全是零的?我要提高精度应该怎么做?
Matlab任意精度计算支持吗?>> vpa(cos(3),1000)ans =-.9899924966004454152113112286315299570560455322265625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
vpa('cos(3)',1000)