📄 plot12_3.m
字号:
i=1; eval(['load run1', num2str(i)])figure stem(mean(Wx,2),'k') set(gca,'ylim',[-1 1.7]) set(gca,'xticklabel',[0 1 2 3 4 5 6 7 8 9 10]) line([1 11],[0 0])title('figure 12.3a')box onxlabel(' Number of iterations, n')print -dps 12_3ai=2; eval(['load run1', num2str(i)])figure stem(mean(Wx,2),'k') set(gca,'ylim',[-1 1.7]) set(gca,'xticklabel',[0:10]) line([1 11],[0 0])title('figure 12.3b')xlabel(' Number of iterations, n')print -dps 12_3bbox on i=3; eval(['load run1', num2str(i)])figure stem(mean(Wx,2),'k') set(gca,'ylim',[-1 1.7]) set(gca,'xticklabel',[0:10]) line([1 11],[0 0])title('figure 12.3c')xlabel(' Number of iterations, n')box onprint -dps 12_3c i=4; eval(['load run1', num2str(i)])figure stem(mean(Wx,2),'k') set(gca,'ylim',[-1 1.7]) set(gca,'xticklabel',[0:10]) line([1 11],[0 0])title('figure 12.3d')xlabel(' Number of iterations, n')box onprint -dps 12_3d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -