필터 지우기
필터 지우기

can you give me the basic simple code for this figure?

조회 수: 1 (최근 30일)
pinak parida
pinak parida 2013년 8월 19일
where r[k]=input k=1,2,3,4....k f(0),f(1),....f(k-1) are coefficients y[k]=output
  댓글 수: 2
pinak parida
pinak parida 2013년 8월 21일
i donot understand your point. if this is about asking for ready to use code i clarify you that is not my need. i just want to understand how can i GIVE A SIGNAL AS INPUT TO THE FIGURE. and HOW I DEAL WITH THE DELAYS.
And a basic question that using matlab and C-language algorithm what is the difference in viewing(imagine) the signal.

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

답변 (1개)

Iain
Iain 2013년 8월 21일
Are you working in simulink, or matlab?
r = [zeros(1,number_of_delays-1) value1 value2 value3 .... ];
for k = number_of_delays:numel(r)
y(k) = f0*r(k) + f1*r(k-1) + f2*r(k-2) + f3*r(k-3) ... ;
end

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by