How I can get trapz function ?

n: -5:1:5;
w= -pi:0.01:pi;
x_n= [1 9 1 3 0 6 9 9 4 8 0];
h_n= x_n;
X_ejw= symsum(x_n.*exp(-j.*w.*n),-5,5);
H_ejw= X_ejw;
Y_ejw= X_ejw.*H_ejw;
How I can get y[n] with by using trapz function according the following formula ?

5 件のコメント

David Hill
David Hill 2021 年 1 月 11 日
X_ejw does not make sense (array sizes do not match). Describe the function Y.
Ege Can Çilesiz
Ege Can Çilesiz 2021 年 1 月 11 日
Should it be like this ?
x_ejw= symsum(x_n.*exp(-j.*w.*n),n,-5,5);
y_ejw= symsum(y_n.*exp(-j.*w.*n2),n,-10,10);
David Hill
David Hill 2021 年 1 月 11 日
Is Y(x) = x.^2 ?
Ege Can Çilesiz
Ege Can Çilesiz 2021 年 1 月 11 日
Y(x) = X(x).H(x)
David Hill
David Hill 2021 年 1 月 11 日
and H(x)=X(x)? What is the function for X(x)?

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

回答 (0 件)

カテゴリ

製品

質問済み:

2021 年 1 月 11 日

コメント済み:

2021 年 1 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by