Home > WaveComBox > Toolbox > FBMC_OQAM > Modulation > conv2along1.m

conv2along1

PURPOSE ^

Row-wise matrix convolution.

SYNOPSIS ^

function C=conv2along1(A,B)

DESCRIPTION ^

 Row-wise matrix convolution.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function  C=conv2along1(A,B)
0002 % Row-wise 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 
0010 if size(A,1)~=size(B,1),
0011     fprintf('Wrong Matrix sizes')
0012     return
0013 end;
0014 C=zeros(size(A,1),size(A,2)+size(B,2)-1);
0015 for i=1:size(A,1),
0016     C(i,:)=conv(A(i,:),B(i,:));
0017 end;
0018 return
0019

Generated on Mon 14-Oct-2019 13:48:34 by m2html © 2005