> 其他 >
matlab多项式G=(x-4)(x+5)(x^2-6*x+9)当x在[0,20]变化时G的值怎么算
人气:203 ℃ 时间:2020-06-18 20:01:34
解答
%代码如下:
x=[0:20];
G=(x-4).*(x+5).*(x.^2-6.*x+9);
jg=[x;G]
plot(x,G);
grid on;
% 具体数值请见command window 窗口
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版