summaryrefslogtreecommitdiff
path: root/3812/CH8/EX8.3.b/8_3_b.sce
blob: 59b4902aa88dbe0eb10b49926f8015a608ad6b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 8_3 <b>
//determine whether the Nyquist criteria satisfy or not
//Ws>=2Wmax
//fs>=2fmax
clc;
clear all;
Ts=2*10^-3;
Wc=1000
Fs=1000
Ts_test=1/Fs;
if (Ts<=Ts_test) then
disp('Nyquist Criteria Satify')
else
disp('Nyquist Criteria NOT Satify ');
end