⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conv_toe.m

📁 this is chapter 2 this is chapter number 2
💻 M
字号:
%P2.14afunction [ytilde,H]=conv_toe(h,x)% Linear Convolution using Toeplitz Matrix% ----------------------------------------% [ytilde,H] = conv_toe(h,x)% ytilde = output sequence in column vector form% H = Toeplitz matrix corresponding to sequence h so that y = Hx% h = Impulse response sequence in row vector form% x = input sequence in row vector form%htilde = [h';zeros(size(x)-[0,1])'];Hcol = zeros(size(x)+size(h)-[1,1])';H = htilde;for k = 1:length(x)-1,    Hcol=circshift(htilde,k);    H=[H,Hcol];end             %Calculates Toeplitz Matrixytilde = H*x';  %Performs convolution using Toeplitz matrix

⌨️ 快捷键说明

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