diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /992/CH6/EX6.1/ex6_1.txt | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '992/CH6/EX6.1/ex6_1.txt')
-rwxr-xr-x | 992/CH6/EX6.1/ex6_1.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/992/CH6/EX6.1/ex6_1.txt b/992/CH6/EX6.1/ex6_1.txt new file mode 100755 index 000000000..ccf538045 --- /dev/null +++ b/992/CH6/EX6.1/ex6_1.txt @@ -0,0 +1,18 @@ +//Caption:Program to calculate image frequency,rejection ratio
+//Exa:6.1
+clc;
+clear;
+close;
+//Given:
+f1=1000;//in KHz
+f2=25;//in MHz
+IF=455//in KHz
+Q=100;
+fs1=f1+2*IF;
+p1=fs1/f1 - f1/fs1;
+a1=sqrt(1+ Q^2*p1^2);
+printf("\n\n\t (a)image frequency is %f KHz \n rejection ratio is %f dB",fs1,20*log10(a1));
+fs2=f2+2*IF/1000;
+p2=fs2/f2 - f2/fs2;
+a2=sqrt(1+ Q^2*p2^2);
+printf("\n\n\t (b)image frequency is %f KHz \n rejection ratio is %f dB",fs2,20*log(a2));
\ No newline at end of file |