Réponse acceptée

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

2 commentaires

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.

Connectez-vous pour commenter.

Plus de réponses (1)

Gui Chen
Gui Chen le 21 Jan 2021

0 votes

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