how to find convolution between two functions??

3 Ansichten (letzte 30 Tage)
nurul hafizah
nurul hafizah am 17 Mai 2015
Beantwortet: Gui Chen am 21 Jan. 2021
I have this to function.. how to find the convolution of this two function and plot the graph??

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by