ejer1_1.m
来自「matlab codes for digital audio procces」· M 代码 · 共 22 行
M
22 行
x=0:0.01:5
y=0.05*x+2.01
p=3*sin(x.^2)+2*cos(y.^3)
q=3*cos(x.*y)+2*y.^2
z=p+q
r=p.*q
figure(1)
subplot(2,2,1)
plot(p)
subplot(2,2,2)
plot(q)
subplot(2,2,3)
plot(z)
subplot(2,2,4)
plot(r)
figure(2)
hold on
plot(q,'r--')
plot(p,'g-.')
plot(z,'c:')
plot(r)
hold off
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?