필터 지우기
필터 지우기

How to compute a particular equation in matlab

조회 수: 2 (최근 30일)
sakshi ahuja
sakshi ahuja 2016년 3월 28일
답변: Walter Roberson 2016년 3월 29일
I have to evaluate h1(n) using F0. For this i am having an equation such as:
h1(n)=(-1)^n*F0(N1-n);
n= 9 and N1 is an odd delay.
  댓글 수: 4
Walter Roberson
Walter Roberson 2016년 3월 28일
If it is a variable then it would have a finite length and so would have finite indices, but the above appears to be defining a recurrence formula. It would make more sense if F0 is a function, or if there should be a multiplication between F0 and what follows. On the other hand, the user gives n as if it is fixed, which would not make sense for a recurrence formula...
sakshi ahuja
sakshi ahuja 2016년 3월 29일
F0 is my low pass filter having 9 coeffciients. F0=[-1.9476,0.9267,-0.7980,0.3895,-1.2836,0.7734,-0.4293,0.1318]

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

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 29일
h1 = @(n) (-1).^n .* F0(N1-n);

추가 답변 (0개)

카테고리

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

태그

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

Community Treasure Hunt

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

Start Hunting!

Translated by