plot12_3.m
来自「内有多个m文件!希望能帮助到有需要的朋友!其中有几个关于lms的m文件!」· M 代码 · 共 51 行
M
51 行
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 + =
减小字号Ctrl + -
显示快捷键?