How to solve this problem?

조회 수: 1 (최근 30일)
Kuheli Mondal
Kuheli Mondal 2016년 3월 31일
댓글: Stephen23 2016년 3월 31일
??? Input argument "n" is undefined.
Error in ==> Impulse at 3
h=zeros(1, length(n));
My program is
function h=dd1(n)
N=10;
h=zeros(1, length(n));
h(n==0) = 1;
n=0:N-1;
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('Impulse Function')
Please help me. Thank you.
  댓글 수: 1
Stephen23
Stephen23 2016년 3월 31일
Please show us how you are calling your function dd1.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 3월 31일

카테고리

Help CenterFile Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기

태그

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

Community Treasure Hunt

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

Start Hunting!

Translated by