MATLAB Answers

How to find convolution of three functions.

23 views (last 30 days)
mohammed shapique
mohammed shapique on 8 Aug 2020
Commented: KSSV on 9 Aug 2020
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.

  0 Comments

Sign in to comment.

Accepted Answer

KSSV
KSSV on 8 Aug 2020
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.

  2 Comments

mohammed shapique
mohammed shapique on 9 Aug 2020
If s1 = conv2(conv2(f1,f2),f3) then how to find convolution of s1 and s1 (i.e) s1*s1

Sign in to comment.

More Answers (0)

Products


Release

R2015a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!