How do I transform this Digital filter to analog

How do I transform this digital filter to analog one, using bilinear transformation from z-plane to s-plane? I also have the information that s=(2*(z-1))/(ts*(z+1)) where ts is the period of discretization.
clear all;
close all;
clc;
fs=2600;
fn=fs/2;
ws=[710 839]/fn;
wp=[752 787]/fn;
rp=0.1;
rs=25;
k=1024;
[n,wn]=cheb2ord(wp,ws,rp,rs);
[nz,dz] = cheby2(n,rs,wn,'bandpass');
[H,w]=freqz(nz,dz,k/2);
m=abs(H);
ma=-20*log10(m);
plot(((w*fs)/(2*pi)),ma,'g');

Respuestas (1)

Star Strider
Star Strider el 10 de Jun. de 2018
Easiest:
[ns,ds] = cheby2(n,rs,wn,'bandpass','s');
Then use freqs instead of freqz.

Categorías

Más información sobre Transforms and Spectral Analysis en Centro de ayuda y File Exchange.

Preguntada:

el 10 de Jun. de 2018

Respondida:

el 10 de Jun. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by