matlab画多项式根据已知的数据拟合出函数为:f(x) = p1*x^6 + p2*x^5 + p3*x^4 +p4*x^3 + p5*x^2 + p6*x + p7;p1 = 5.329e-007 (2.372e-007,8.285e-007)p2 = -0.0002539 (-0.0003958,-0.000112)p3 = 0.05031 (0.02197,0.07866)p4 = -5.305 (-8.32,-
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 08:16:39
matlab画多项式根据已知的数据拟合出函数为:f(x) = p1*x^6 + p2*x^5 + p3*x^4 +p4*x^3 + p5*x^2 + p6*x + p7;p1 = 5.329e-007 (2.372e-007,8.285e-007)p2 = -0.0002539 (-0.0003958,-0.000112)p3 = 0.05031 (0.02197,0.07866)p4 = -5.305 (-8.32,-
matlab画多项式
根据已知的数据拟合出函数为:f(x) = p1*x^6 + p2*x^5 + p3*x^4 +p4*x^3 + p5*x^2 + p6*x + p7;
p1 = 5.329e-007 (2.372e-007,8.285e-007)
p2 = -0.0002539 (-0.0003958,-0.000112)
p3 = 0.05031 (0.02197,0.07866)
p4 = -5.305 (-8.32,-2.29)
p5 = 314 (133.9,494.1)
p6 = -9890 (-1.562e+004,-4158)
p7 = 1.295e+005 (5.364e+004,2.054e+005)
x轴区间设定为70:90;
但在画图的时候总是出现错误,请达人帮助.
matlab画多项式根据已知的数据拟合出函数为:f(x) = p1*x^6 + p2*x^5 + p3*x^4 +p4*x^3 + p5*x^2 + p6*x + p7;p1 = 5.329e-007 (2.372e-007,8.285e-007)p2 = -0.0002539 (-0.0003958,-0.000112)p3 = 0.05031 (0.02197,0.07866)p4 = -5.305 (-8.32,-
这种简单的问题就不要再问啦
首先写syms x
然后把这个表达式抄进matlab,记得把p1-p7的值也抄进去
然后用ezplot(f)就可以了,如果设定横坐标范围,我没记错的话,格式是ezplot(f,[70 90])