Maker Pro
Maker Pro

allpass filter

M

Musicman

Jan 1, 1970
0
Hi everybody!
I have an allpass filter implemented in Matlab..
how can I evaluate the phase diagram and the frequency response of this
filter?

Here's the matlab implementation of the filter:

for j=[1:1000];
z(j+10)=forward(j-2)+0.5*( (1-diff(j))*z(j-p(j))+diff(j)*z(j+1-p(j)) );
end

where forward is:
forward=(1-diff(i)).*r(i-p(i))+diff(i).*r(i+1-p(i));

r an input process (array of 1000)
p is the ceil() of a sinusoid which FM modulates my input process
diff is the difference between the original sinusoid and p
z is my output process

THANK YOU VERY MUCH!!!

Francesco
 

Similar threads

M
Replies
17
Views
3K
JosephKK
J
A
Replies
4
Views
1K
Alessandro Esposito
A
A
Replies
6
Views
1K
Lord Garth
L
Top