Matrix convolution.
0001 function [ C ] = MatrixConv( W,z ) 0002 % Matrix convolution. 0003 0004 % This file is part of WaveComBox: www.wavecombox.com and is distributed under the terms of the MIT license. See accompanying LICENSE file. 0005 % Original author: François Rottenberg, May 4, 2018. 0006 % Contributors: 0007 % Change log: 0008 0009 [N_R, N]=size(z); 0010 [N_T, N_R, L]=size(W); 0011 0012 C=zeros(N_T,L+N-1); 0013 0014 for j=1:N_T 0015 for i=1:N_R 0016 C(j,:)=C(j,:)+conv(squeeze(W(j,i,:)),z(i,:)); 0017 end 0018 end 0019 0020 0021 end 0022