examp27.m

来自「ADSP TOOLBOX: Version 2.0 and gui m-file」· M 代码 · 共 10 行

M
10
字号

clc,echo on 
%EXAMPLE 27 
x=[1 2 -1 0 2 3];       % Signal x
h=2:-1:-3;              % Signal h 
ypw=convp(x,h,'w')      % periodic convolution using wraparound 
ypc=convp(x,h,'c')      % periodic convolution using circulant matrix 
ypf=convp(x,h,'f')      % periodic convolution using FFT 
echo off %end of example

⌨️ 快捷键说明

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