blob: d1d3ea992733400ea9f65a3b42dbae1dce991cd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Example 8_3 <c>
//determine whether the Nyquist criteria satisfy or not
//Ws>=2Wmax
//fs>=2fmax
clc;
clear all;
Ts=10^-4;
Wc=1000
Fs=1000
Ts_test=1/Fs;
if (Ts<=Ts_test) then
disp('Nyquist Criteria Satify')
else
disp('Nyquist Criteria NOT Satify ');
end
|