发布网友
共3个回答
热心网友
画散点图的命令:
>> x=-10:0.1:10;
>> y=1./3.^x;
>> plot(x,y,'.')
求极限的命令:
>> syms x;
>> f=1./3.^x;
>> limit(f,x,inf)
ans =
0
热心网友
求极限:用limit
>> syms x
>> f=1./3.^x;
>> limit(f,x,inf)
画散点图:用scatter(X,Y)
>> x=-5:0.1:5;
>> y=1./3.^x;
>> scatter(x,y,'.')
热心网友
极限:
>> syms x
>> limit((1/3)^x,x,inf)
ans =0
散点图:
>> x=0:1:10;
>> y=(1./3).^x;
>> plot(x,y,'.')