Matlab怎么绘制出带变量的上下限积分图形
X范围是0到10怎么画出y关于x图形
syms x a
f = int(a^3+a^2,a,a+1);
p = sym2poly(f);
xx = 0:0.1:10;
yy = polyval(p,xx);
plot(xx,yy,'r--');
xlabel('x');ylabel('y');
![](https://video.ask-data.xyz/img.php?b=https://iknow-pic.cdn.bcebos.com/5366d0160924ab181d669c6038fae6cd7b890b70?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
温馨提示:答案为网友推荐,仅供参考
相似回答
用matlab画积分图像?答:1、确定变上限的范围,如x0=[1,2,3,4,5,6,7,8,9,10,50,100,500,1000,5000,10000,50000,100000,500000,1000000];2、用for循环语句,求出每个x值对应的y值 3、再用plot函数,绘出其积分图像 4、求解代码 x0=[1,2,3,4,5,6,7,8,9,10,50,100,500,1000,5000,10000,50000,100000,...
matlab 五重积分(前几重积分上下限是变量)答:y=int(int(int(int(int(x,x,2*x),x,2*x),x,2*x),x,2*x),1,2)结果是:y = 13671/16