summaryrefslogtreecommitdiff
path: root/52/CH5/EX5.9/Example5_9.sce
blob: 76cd1d0f8692d3fe82fe9d83665b99e9b63f4826 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 5.9
//To Design a Chebyshev Filter with Given Specifications
clear;
clc ;
close ;
ap=2.5;//db
as=30;//db
op=20;//rad/sec
os=50;//rad/sec
N=acosh(sqrt((10^(0.1*as)-1)/(10^(0.1*ap)-1)))/acosh(os/op);
disp(ceil(N),'Order of the filter, N =');