summaryrefslogtreecommitdiff
path: root/3812/CH8/EX8.9.a/8_9_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '3812/CH8/EX8.9.a/8_9_a.sce')
-rw-r--r--3812/CH8/EX8.9.a/8_9_a.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3812/CH8/EX8.9.a/8_9_a.sce b/3812/CH8/EX8.9.a/8_9_a.sce
new file mode 100644
index 000000000..b3f622bc2
--- /dev/null
+++ b/3812/CH8/EX8.9.a/8_9_a.sce
@@ -0,0 +1,18 @@
+//Example 8_9 <a>
+//Determine minimum sampling frequency
+clc;
+clear all;
+Fl=9000;
+Fh=12000;
+Bandwidth_1=Fh-Fl;
+a=modulo(Fh,Bandwidth_1);
+Fh_1=Fh-a;
+div_12=Fh_1./Bandwidth_1;
+if(a==0) then
+Fs=2*Bandwidth_1;
+else
+Fs=(2*Fh)/div_12;
+end
+disp('Minimum Sampling Frequency=');
+disp(Fs);
+