convolution of two syms signal

34 visualizzazioni (ultimi 30 giorni)
Chee chea Nyeow
Chee chea Nyeow il 24 Dic 2022
Commentato: Paul il 19 Gen 2023
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?

Risposte (1)

Paul
Paul il 24 Dic 2022
Modificato: Paul il 24 Dic 2022
If you know the definition of the convolution integral, try to use int to compute it.
  1 Commento
Paul
Paul il 19 Gen 2023
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)')

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by