MATLAB: How to find convolution of three functions.

convolutionMATLAB

if
lambda=0.75;
zeta=0.01;
gamma=0.4;
gamma1=0.5;
gamma2=0.6;
t=0.001:1:5
f1=exp((lambda+zeta+gamma)*(-t));
f2=exp((lambda+zeta+gamma1)*(-t));
f3=exp((lambda+zeta+gamma2)*(-t));
how to find convolution of these three functions f1,f2 and f3.

Best Answer

Read about conv2.
s1 = conv2(conv2(f1,f2),f3)
s2 = conv2(conv2(f2,f3),f1)
s3 = conv2(conv2(f1,f3),f2)
All the abve three are same.