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
2021년 1월 11일
X_ejw does not make sense (array sizes do not match). Describe the function Y.
Ege Can Çilesiz
2021년 1월 11일
David Hill
2021년 1월 11일
Is Y(x) = x.^2 ?
Ege Can Çilesiz
2021년 1월 11일
David Hill
2021년 1월 11일
and H(x)=X(x)? What is the function for X(x)?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!