ex6_3.m

来自「基于WEB与MATLAB编写的信号处理的源码,书名为"应用WEB和MATLAB的」· M 代码 · 共 16 行

M
16
字号
% Example 6.3
t=0:.01:5;
x=cos(pi*t);
spm=cos(10*pi*t+5*x);
sfm = cos(10*pi*t+2*pi*5/2/pi*sin(pi*t));
clf
subplot(311),plot(t,x);
xlabel('Time (sec)')
ylabel('x(t)')
subplot(312),plot(t,spm);
xlabel('Time (sec)')
ylabel('s(t) for PM')
subplot(313),plot(t,sfm);
xlabel('Time (sec)')
ylabel('s(t) for FM')
subplot(111)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?