how to find convolution between two functions??

1 vue (au cours des 30 derniers jours)
nurul hafizah
nurul hafizah le 17 Mai 2015
I have this to function.. how to find the convolution of this two function and plot the graph??

Réponse acceptée

Image Analyst
Image Analyst le 17 Mai 2015
output = conv(x, h, 'full');
plot(output, 'b*-');
grid on;
  2 commentaires
nurul hafizah
nurul hafizah le 18 Mai 2015
how to write the equation of h(n) and x(n) into matlab??
Image Analyst
Image Analyst le 18 Mai 2015
I think that's well within your capabilities. Just pick a max value for n. Any beginner would know
x = 1:n;
x(n+1:nMax) = 0;
It's pretty similar for h so I'm sure you can get it.

Connectez-vous pour commenter.

Plus de réponses (1)

Gui Chen
Gui Chen le 21 Jan 2021
You could take a look at this video. https://youtu.be/JlUM0XHTSSQ

Community Treasure Hunt

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

Start Hunting!

Translated by