summaryrefslogtreecommitdiff
path: root/3446/CH4/EX4.1
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH4/EX4.1')
-rw-r--r--3446/CH4/EX4.1/Ex4_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3446/CH4/EX4.1/Ex4_1.sce b/3446/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..99e941d40
--- /dev/null
+++ b/3446/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,12 @@
+// Exa 4.1
+// To calculate the sampling rate.
+
+clc;
+clear all;
+
+Fm=20; // in KHz
+
+//solution
+disp(" An Engineering version of the Nyquist sampling rate : fs>=2.2*fm.");
+printf('Therefore sampling rate of >= %d ksps should be used ',(2.2*Fm));
+disp("The sampling rate for a compact disc digital audio player = 44.1 ksps and for a studio quality audio player = 48 ksps are used.")