how to find convolution between two functions??

I have this to function.. how to find the convolution of this two function and plot the graph??

 Accepted Answer

output = conv(x, h, 'full');
plot(output, 'b*-');
grid on;

2 Comments

how to write the equation of h(n) and x(n) into matlab??
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)

You could take a look at this video. https://youtu.be/JlUM0XHTSSQ

Categories

Find more on 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!