summaryrefslogtreecommitdiff
path: root/3165/CH5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /3165/CH5
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '3165/CH5')
-rwxr-xr-x3165/CH5/EX5.1/Ex5_1.sce12
-rwxr-xr-x3165/CH5/EX5.2/Ex5_2.sce22
-rwxr-xr-x3165/CH5/EX5.3/Ex5_3.sce19
3 files changed, 0 insertions, 53 deletions
diff --git a/3165/CH5/EX5.1/Ex5_1.sce b/3165/CH5/EX5.1/Ex5_1.sce
deleted file mode 100755
index fffa0e545..000000000
--- a/3165/CH5/EX5.1/Ex5_1.sce
+++ /dev/null
@@ -1,12 +0,0 @@
-//Example 5 . 1
-//To Compare the Va r i enc e o f Output due to A/D Conve r s i on p r o c e s s
-// y ( n ) =0.8 y ( nô€€€1)+x ( n )
-clc ;
-n =8; // Bi t s
-r =100; //Range
-Q =2* r /(2^ n); // Qu a n t i z a t i o n St ep S i z e
-Ve =(Q ^2) /12;
-Vo=Ve *(1/(1 -0.8^2) );
-disp (Q, 'QUANTIZATION STEP SIZE =' );
-disp (Ve , 'VARIANCE OF ERROR SIGNAL =' );
-disp (Vo , 'VARIANCE OF OUTPUT =' );
diff --git a/3165/CH5/EX5.2/Ex5_2.sce b/3165/CH5/EX5.2/Ex5_2.sce
deleted file mode 100755
index 8af9baf1c..000000000
--- a/3165/CH5/EX5.2/Ex5_2.sce
+++ /dev/null
@@ -1,22 +0,0 @@
-//Example 5 . 2
-//Program to c a l c u l a t e FIR F i l t e r c o e f f i c i e n t s f o r the d i r e c t form s t r u c t u r e
-// k1=1/2 , k2=1/3 , k3=1/4
-clc ;
-U =1;
-k1 =1/2;
-k2 =1/3;
-k3 =1/4;
-a (3+U ,0+U) =1;
-a (1+U ,1+U)=k1;
-a (2+U ,2+U)=k2;
-a (3+U ,3+U)=k3;
-m=2,k=1;
-a(m+U,k+U)=a(m -1+U,k+U)+a(m+U,m+U)*a(m -1+U,m-k+U);
-m=3,k=1;
-a(m+U,k+U)=a(m -1+U,k+U)+a(m+U,m+U)*a(m -1+U,m-k+U);
-m=3,k=2;
-a(m+U,k+U)=a(m -1+U,k+U)+a(m+U,m+U)*a(m -1+U,m-k+U);
-disp (a(3+U ,0+ U), ' a ( 3 , 0 ) ' );
-disp (a(3+U ,1+ U), ' a ( 3 , 1 ) ' );
-disp (a(3+U ,2+ U), ' a ( 3 , 2 ) ' );
-disp (a(3+U ,3+ U), ' a ( 3 , 3 ) ' );
diff --git a/3165/CH5/EX5.3/Ex5_3.sce b/3165/CH5/EX5.3/Ex5_3.sce
deleted file mode 100755
index e05475b79..000000000
--- a/3165/CH5/EX5.3/Ex5_3.sce
+++ /dev/null
@@ -1,19 +0,0 @@
-//Example 5 .3
-//Program to c a l c u l a t e g i v e n FIR F i l t e r ' s L a t t i c e form c o e f f i c i e n t s .
-clc ;
-U =1; // Ze ro Adjus t
-a (3+U ,0+U) =1;
-a (3+U ,1+U) =2/5;
-a (3+U ,2+U) =3/4;
-a (3+U ,3+U) =1/3;
-a (2+U ,0+U) =1; // a (m, 0 )=1
-a (2+U ,3+U) =1/3;
-m=3,k=1;
-a(m -1+U,k+U)=(a(m+U,k+U)-a(m+U,m+U)*a(m+U,m-k+U))/(1 -a(m+U,m+U)*a(m+U,m+U));
-m=3,k=2;
-a(m -1+U,k+U)=(a(m+U,k+U)-a(m+U,m+U)*a(m+U,m-k+U))/(1 -a(m+U,m+U)*a(m+U,m+U));
-m=2,k=1;
-a(m -1+U,k+U)=(a(m+U,k+U)-a(m+U,m+U)*a(m+U,m-k+U))/(1 -a(m+U,m+U)*a(m+U,m+U));
-disp (a(1+U ,1+ U), ' k1 ' );
-disp (a(2+U ,2+ U), ' k2 ' );
-disp (a(3+U ,3+ U), ' k3 ' );