matlab如何画出高次函数图像?已知该函数fy =- 0.00000146242172*x^8 + 0.0001348702567*x^7 - 0.005221001519*x^6 + 0.1099582682*x^5 - 1.363436252*x^4 + 10.04006911*x^3 - 42.01497633*x^2 + 89.98114855*x - 73.309求做出x在(0,30)区间
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 11:22:07
matlab如何画出高次函数图像?已知该函数fy =- 0.00000146242172*x^8 + 0.0001348702567*x^7 - 0.005221001519*x^6 + 0.1099582682*x^5 - 1.363436252*x^4 + 10.04006911*x^3 - 42.01497633*x^2 + 89.98114855*x - 73.309求做出x在(0,30)区间
matlab如何画出高次函数图像?
已知该函数fy =- 0.00000146242172*x^8 + 0.0001348702567*x^7 - 0.005221001519*x^6 + 0.1099582682*x^5 - 1.363436252*x^4 + 10.04006911*x^3 - 42.01497633*x^2 + 89.98114855*x - 73.309
求做出x在(0,30)区间内的函数图像.
matlab如何画出高次函数图像?已知该函数fy =- 0.00000146242172*x^8 + 0.0001348702567*x^7 - 0.005221001519*x^6 + 0.1099582682*x^5 - 1.363436252*x^4 + 10.04006911*x^3 - 42.01497633*x^2 + 89.98114855*x - 73.309求做出x在(0,30)区间
%在0-30之间均匀生成500个点
x = linspace(0,30,500);
%根据函数求出对应点的值
fy =- 0.00000146242172.*x.^8 + 0.0001348702567.*x.^7 - 0.005221001519.*x.^6.
+ 0.1099582682*x.^5 - 1.363436252*x.^4 + 10.04006911*x.^3 - 42.01497633*x.^2 + 89.98114855.*x - 73.309;
%绘图
plot(x,fy)