set(gca,'XIickMode','manual','XTick',[0,0.2,0.3,1]);什么意思?axis([0,1,0,1.1])set(gca,'XTickMode','manual','XTick',[0,0.2,0.3,1]);set(gca,'YTickMode','manual','YTick',[0,Attn,Ripple,1]);gridsubplot(2,2,2);plot(w/pi,db1);title('幅度(dB)')这段m

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 15:02:06
set(gca,''XIickMode'',''manual'',''XTick'',[0,0.2,0.3,1]);什么意思?axis([0,1,0,1.1])set(gca,''XTickMode'',''manua

set(gca,'XIickMode','manual','XTick',[0,0.2,0.3,1]);什么意思?axis([0,1,0,1.1])set(gca,'XTickMode','manual','XTick',[0,0.2,0.3,1]);set(gca,'YTickMode','manual','YTick',[0,Attn,Ripple,1]);gridsubplot(2,2,2);plot(w/pi,db1);title('幅度(dB)')这段m
set(gca,'XIickMode','manual','XTick',[0,0.2,0.3,1]);什么意思?
axis([0,1,0,1.1])
set(gca,'XTickMode','manual','XTick',[0,0.2,0.3,1]);
set(gca,'YTickMode','manual','YTick',[0,Attn,Ripple,1]);grid
subplot(2,2,2);plot(w/pi,db1);title('幅度(dB)')
这段matlab程序什么意思?
第一段我知道是建立个坐标系,X轴范围0-1,Y轴范围0-1.1
后面gca,XTickmode,grid什么的怎么理解?

set(gca,'XIickMode','manual','XTick',[0,0.2,0.3,1]);什么意思?axis([0,1,0,1.1])set(gca,'XTickMode','manual','XTick',[0,0.2,0.3,1]);set(gca,'YTickMode','manual','YTick',[0,Attn,Ripple,1]);gridsubplot(2,2,2);plot(w/pi,db1);title('幅度(dB)')这段m
SET设置当前句柄的属性,GCA获取当前轴坐标
就是X轴上为0 0.2 0.3 1
Y轴同理,ATTN,RIPPLE为计算值,随变量变化
然后画图,2行2列第二个图,一般横的第二个
横轴频率,纵轴幅度,名称幅度(db)