diff options
Diffstat (limited to '692/CH10/EX10.7/P10_7.sce')
-rwxr-xr-x | 692/CH10/EX10.7/P10_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/692/CH10/EX10.7/P10_7.sce b/692/CH10/EX10.7/P10_7.sce new file mode 100755 index 000000000..b1ce00a41 --- /dev/null +++ b/692/CH10/EX10.7/P10_7.sce @@ -0,0 +1,15 @@ +//EXAMPLE 10.6 +//Order estimation using Dolph-Cebyshev window +clear; +clc; +wp=0.3*%pi;//rad/sec +ws=0.5*%pi;//rad/sec +as=40;//dB + +wc=(wp+ws)/2;//cutoff frequency +Bw=ws-wp; +disp(Bw,'Normalized transition bandwidth is = ') + +//Order of the filter +N = ((2.056*as) - 16.4)/(2.285*Bw); +disp(ceil(N),'Order of the filter,N = ')
\ No newline at end of file |