필터 지우기
필터 지우기

using convolution with matlab

조회 수: 4 (최근 30일)
Passband  Modulation
Passband Modulation 2012년 9월 21일
x[n]=n^3-n^2, 0<n<3
h[n]=1/n, -2<n<-1
y[n] is the convolution of x[n] and h[n]
how can i compute y[n] ?

채택된 답변

Wayne King
Wayne King 2012년 9월 21일
With all due respect, I think you need to take some time to read the MATLAB documentation.
n = 0:3;
x=n.^3-n.^2;
m=[-2:-1];
h=1./m;
y = conv(x,h)
  댓글 수: 3
Wayne King
Wayne King 2012년 9월 21일
You should accept people's answers if they help you.
Passband  Modulation
Passband Modulation 2012년 9월 21일
ok, just done!

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

추가 답변 (1개)

Wayne King
Wayne King 2012년 9월 21일
Use the function conv()
See the help for conv()
  댓글 수: 1
Passband  Modulation
Passband Modulation 2012년 9월 21일
ive tried, but it does not work at all.
n=[0:3];
x=n^3-n^2
m=[-2:-1];
h=1/m
y= conv(x,h)
no results at all, could u help?

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

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by