summaryrefslogtreecommitdiff
path: root/2606/CH8/EX8.24/ex8_24.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /2606/CH8/EX8.24/ex8_24.sce
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 '2606/CH8/EX8.24/ex8_24.sce')
-rwxr-xr-x2606/CH8/EX8.24/ex8_24.sce42
1 files changed, 20 insertions, 22 deletions
diff --git a/2606/CH8/EX8.24/ex8_24.sce b/2606/CH8/EX8.24/ex8_24.sce
index aac6ea779..a69c17236 100755
--- a/2606/CH8/EX8.24/ex8_24.sce
+++ b/2606/CH8/EX8.24/ex8_24.sce
@@ -1,22 +1,20 @@
-//Page Number: 8.25
-//Example 8.24
-clc;
-//Given, band limited gaussian noise with psd,
-S=9.6D-5; //W/Hz for |f|<8kHz
-L=100D-3; //H
-R=100; //Ohms
-
-//(a) Noise power at input of filter
-
-x0=-8000;
-x1=8000;
-Pni=S*(integrate('1','f',x0,x1));
-disp('W',Pni,'Noise power at input of filter:');
-
-//Plot
-x=linspace(-8,8,3);
-y=linspace(0,1,1);
-
-plot(x,y);
-
-
+//Page Number: 8.25
+//Example 8.24
+clc;
+//Given, band limited gaussian noise with psd,
+S=9.6D-5; //W/Hz for |f|&lt;8kHz
+L=100D-3; //H
+R=100; //Ohms
+
+//(a) Noise power at input of filter
+
+x0=-8000;
+x1=8000;
+Pni=S*(integrate('1','f',x0,x1));
+disp('W',Pni,'Noise power at input of filter:');
+
+//Plot
+x=linspace(-8,8,3);
+y=linspace(0,1,1)*ones(1,length(x));
+
+plot(x,y); \ No newline at end of file