??? Input argument "n" is undefined. Error in ==> dd1 at 4 h=zeros(1, length(n)); how to solve this error

조회 수: 2 (최근 30일)
function h=dd1(n)
h=zeros(1, length(n));
h(n==0) = 1;
n=-10:10;
h(n)=dd1(n-3)-2.7083*dd1(n-4)+4.1861*dd1(n-5)-3.0451*dd1(n-6)+0.73071*dd1(n-7);
stem(n, h)
xlabel('n')
ylabel('Delta Function')
please help
Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Filter Design에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by