blob: b44e88da38cf974938c0622c5ea7a7115fe72888 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Example 8_9 <c>
//Determine minimum sampling frequency
clc;
clear all;
Fl=30000;
Fh=35000;
Bandwidth_1=Fh-Fl;
a=modulo(Fh,Bandwidth_1);
Fh_1=Fh-a;
div_12=Fh_1./Bandwidth_1;
if(a==0) then
Fs=Bandwidth_1;
else
Fs=Bandwidth_1;
end
disp('Minimum Sampling Frequency=');
disp(Fs);
|