📄 examp25.m
字号:
clc,echo on
%EXAMPLE 25
n=0:50; % Create a DT index
x=cos(0.2*pi*n);h=1:8; % Signals x and h
y=conv(x,h); % Response using convolution
y=y(1:length(n)); % Truncate to length of x
dtplot(n,x,'o'),pause(2) % Plot input
dtplot(n,y,'o') % Plot response
echo off %end of example
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -