how to do convolution Of this x1 and x10 function ?

2 vues (au cours des 30 derniers jours)
Neptune16
Neptune16 le 29 Sep 2019
Commenté : Neptune16 le 29 Sep 2019
fs=100;
Ts=1/fs;
t= [-1:Ts:3];
x1 = 2*rectpuls(t-0.5);
figure(1);
plot(t,x1);
axis ([-1 3 -1 3]);
xlabel ('time(sec)')
ylabel ('2rect(t-0.5)')
title ('f(t)')
x10 = 0.5*rectpuls(0.5*t -0.5);
figure(2);
plot(t,x10);
axis ([-1 3 -1 3]);
xlabel ('time(sec)')
ylabel ('0.5rect(0.5t-0.5')
title ('g(t)')

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 29 Sep 2019
Modifié(e) : KALYAN ACHARJYA le 29 Sep 2019
result=conv(x1,x10);
plot(result);
Please do all other axes labeling and title

Plus de réponses (0)

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by