How do i code y[n]?

7 ビュー (過去 30 日間)
Enes Ozdogan
Enes Ozdogan 2021 年 11 月 28 日
コメント済み: Image Analyst 2021 年 11 月 29 日
y[n] = x[n] + 0.4x[n-400] + 0.4x[n-800]

回答 (1 件)

Image Analyst
Image Analyst 2021 年 11 月 28 日
Use parentheses instead of brackets:
n = 801; % n must be at least this big.
y(n) = x(n) + 0.4 * x(n-400) + 0.4 * x(n-800);
  3 件のコメント
Semih Erken
Semih Erken 2021 年 11 月 29 日
how to convolve this without conv function
Image Analyst
Image Analyst 2021 年 11 月 29 日
Then I guess it must be your homework assignment. If you're not allowed to use conv(), you'll have to use a for loop.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by