convolution of two syms signal

syms i(t) k(t)
i(t)=2*t*rectangularPulse(0,1,t);
k(t)=2*triangularPulse(t/2)-triangularPulse(t);
how can i convo this two signal?

Answers (1)

Paul
Paul on 24 Dec 2022
Edited: Paul on 24 Dec 2022
If you know the definition of the convolution integral, try to use int to compute it.

1 Comment

syms i(t) k(t)
i(t)=2*t*rectangularPulse(0,1,t);
k(t)=2*triangularPulse(t/2)-triangularPulse(t);
syms tau
c(t) = int(i(tau)*k(t-tau),tau,-inf,inf);
fplot([i(t) k(t) c(t)])
legend('i(t)','k(t)', 'i(t)*k(t)')

Sign in to comment.

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Asked:

on 24 Dec 2022

Commented:

on 19 Jan 2023

Community Treasure Hunt

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

Start Hunting!