how to do convolution Of this x1 and x10 function ?

3 次查看(过去 30 天)
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)')

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-9-29
编辑:KALYAN ACHARJYA 2019-9-29
result=conv(x1,x10);
plot(result);
Please do all other axes labeling and title

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by