フィルターのクリア

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 Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by