📄 5_10.m
字号:
n=0:0.25:50;
m=length(n);
x_tem=rand(1,m)-0.5;
subplot(2,1,1);plot(n,x_tem);
hold on;
x0=2.*n.*0.9.^n;
subplot(2,1,1);plot(n,x0,':');
hold on;
x=x0+x_tem;
subplot(2,1,1);plot(n,x,'--');
hold on;
h=ones(1,3)/3;
y=chongdiebaoliu(h,x,4);
y1=zeros(1,m);
for i=1:m
y1(1,i)=y(1,i);
end
subplot(2,1,2);plot(n,x0);
hold on;
subplot(2,1,2);plot(n,y1,'r')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -