用matlab化简下列多项式,要保留5位小数~~
来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/11 15:48:54
用matlab化简下列多项式,要保留5位小数~~
0.11971*(x-1.1503)*(x-1.1735)*(x-1.1792)/(1.1275-1.1503)/(1.1275-1.1735)/(1.1275-1.1972)+0.13957*(x-1.1275)*(x-1.1735)*(x-1.1972)/(1.1503-1.1275)/(1.1503-1.1735)/(1.1503-1.1972)+0.15931*(x-1.1275)*(x-1.1503)*(x-1.1972)/(1.1735-1.1275)/(1.1735-1.1503)/(1.1735-1.1972)+ 0.11971*(x-1.1503)*(x-1.1735)*(x-1.1275)/(1.1972-1.1503)/(1.1972-1.1735)/(1.1972-1.1735)
0.11971*(x-1.1503)*(x-1.1735)*(x-1.1792)/(1.1275-1.1503)/(1.1275-1.1735)/(1.1275-1.1972)+0.13957*(x-1.1275)*(x-1.1735)*(x-1.1972)/(1.1503-1.1275)/(1.1503-1.1735)/(1.1503-1.1972)+0.15931*(x-1.1275)*(x-1.1503)*(x-1.1972)/(1.1735-1.1275)/(1.1735-1.1503)/(1.1735-1.1972)+ 0.11971*(x-1.1503)*(x-1.1735)*(x-1.1275)/(1.1972-1.1503)/(1.1972-1.1735)/(1.1972-1.1735)
syms x;
vpa(expand(0.11971*(x-1.1503)*(x-1.1735)*(x-1.1792)/(1.1275-1.1503)/(1.1275-1.1735)/(1.1275-1.1972)+0.13957*(x-1.1275)*(x-1.1735)*(x-1.1972)/(1.1503-1.1275)/(1.1503-1.1735)/(1.1503-1.1972)+0.15931*(x-1.1275)*(x-1.1503)*(x-1.1972)/(1.1735-1.1275)/(1.1735-1.1503)/(1.1735-1.1972)+ 0.11971*(x-1.1503)*(x-1.1735)*(x-1.1275)/(1.1972-1.1503)/(1.1972-1.1735)/(1.1972-1.1735)))
vpa(expand(0.11971*(x-1.1503)*(x-1.1735)*(x-1.1792)/(1.1275-1.1503)/(1.1275-1.1735)/(1.1275-1.1972)+0.13957*(x-1.1275)*(x-1.1735)*(x-1.1972)/(1.1503-1.1275)/(1.1503-1.1735)/(1.1503-1.1972)+0.15931*(x-1.1275)*(x-1.1503)*(x-1.1972)/(1.1735-1.1275)/(1.1735-1.1503)/(1.1735-1.1972)+ 0.11971*(x-1.1503)*(x-1.1735)*(x-1.1275)/(1.1972-1.1503)/(1.1972-1.1735)/(1.1972-1.1735)))
用matlab化简下列多项式,要保留5位小数~~
请问则样使MATLAB的计算结果保留更多的小数位数?比如我的计算结果是保留了4位小数,则样保留5位?
2算数平方根化简保留3位小数
2的算数平方根化简保留3位小数
用四舍五入法保留两位小数
matlab中,如何保留4位小数位数.如 b=34.670512,要使得 a=34.6705.
0.297用四舍五入求近似数:保留整数?保留一位小数?保留两位小数?
分数化百分数除不尽时要保留三位小数还是两位小数
matlab 多项式化简
26.995保留整数?保留一位小数?保留二位小数?
matlab结果中显示一个很大的分数,如何转换成小数,保留几位即可
如何用MATLAB使矩阵中的元素保留两位小数