summaryrefslogtreecommitdiff
path: root/692/CH9/EX9.2/P9_2.sce
blob: cb1fc12e7b317a60aef620c9c7ef439dae16ff41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//EXAMPLE 9.2
//analog passband & stopband frequencies(in KHz) :
clc;
clear;
ap=7;
as=3;
//Sampling frequency (in KHz):
FT=25;
//digital frequencies:
wp=2*%pi*ap/FT;
disp(wp,'wp = ');
ws=2*%pi*as/FT;
disp(ws,'ws = ');