how to find convolution between two functions??

조회 수: 4 (최근 30일)
nurul hafizah
nurul hafizah 2015년 5월 17일
답변: Gui Chen 2021년 1월 21일
I have this to function.. how to find the convolution of this two function and plot the graph??

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Gui Chen
Gui Chen 2021년 1월 21일
You could take a look at this video. https://youtu.be/JlUM0XHTSSQ

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by