summaryrefslogtreecommitdiff
path: root/992/CH9/EX9.7
diff options
context:
space:
mode:
Diffstat (limited to '992/CH9/EX9.7')
-rwxr-xr-x992/CH9/EX9.7/Ex9_7.sce14
-rwxr-xr-x992/CH9/EX9.7/ex9_7.txt14
-rwxr-xr-x992/CH9/EX9.7/ex9_7ans.txt3
3 files changed, 31 insertions, 0 deletions
diff --git a/992/CH9/EX9.7/Ex9_7.sce b/992/CH9/EX9.7/Ex9_7.sce
new file mode 100755
index 000000000..fe80187c2
--- /dev/null
+++ b/992/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,14 @@
+
+//Exa:9.7
+clc;
+clear;
+close;
+//Given:
+c=3500;
+b=60000;
+l=b/2/c;
+M=2^l;
+Vrms=0.2;//in volts
+s=4/M;
+SQNR=20*[log10(Vrms/s)]+10*log10(12);
+printf("\nThe signal to quantisation ratio is(SQNR)=%fdB",SQNR); \ No newline at end of file
diff --git a/992/CH9/EX9.7/ex9_7.txt b/992/CH9/EX9.7/ex9_7.txt
new file mode 100755
index 000000000..e29e250d1
--- /dev/null
+++ b/992/CH9/EX9.7/ex9_7.txt
@@ -0,0 +1,14 @@
+//Caption:Program to determine maximum signal to quantisation noise ratio.
+//Exa:9.7
+clc;
+clear;
+close;
+//Given:
+c=3500;
+b=60000;
+l=b/2/c;
+M=2^l;
+Vrms=0.2;//in volts
+s=4/M;
+SQNR=20*[log10(Vrms/s)]+10*log10(12);
+printf("\nThe signal to quantisation ratio is(SQNR)=%f",SQNR); \ No newline at end of file
diff --git a/992/CH9/EX9.7/ex9_7ans.txt b/992/CH9/EX9.7/ex9_7ans.txt
new file mode 100755
index 000000000..c14b23b30
--- /dev/null
+++ b/992/CH9/EX9.7/ex9_7ans.txt
@@ -0,0 +1,3 @@
+
+The signal to quantisation ratio is(SQNR)=36.376355dB
+ Execution done.