how to find convolution between two functions??

4 views (last 30 days)
I have this to function.. how to find the convolution of this two function and plot the graph??

Accepted Answer

Image Analyst
Image Analyst on 17 May 2015
output = conv(x, h, 'full');
plot(output, 'b*-');
grid on;
  2 Comments
nurul hafizah
nurul hafizah on 18 May 2015
how to write the equation of h(n) and x(n) into matlab??
Image Analyst
Image Analyst on 18 May 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.

Sign in to comment.

More Answers (1)

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

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!