diff options
Diffstat (limited to '752/CH7/EX7.7.1/7_7_1.sce')
-rwxr-xr-x | 752/CH7/EX7.7.1/7_7_1.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/752/CH7/EX7.7.1/7_7_1.sce b/752/CH7/EX7.7.1/7_7_1.sce new file mode 100755 index 000000000..e5a4b93d5 --- /dev/null +++ b/752/CH7/EX7.7.1/7_7_1.sce @@ -0,0 +1,24 @@ +clc;
+//page no 236
+//prob no. 7.7.1
+// refer to example 7.3.1
+// A broadcast receiver is tuned to a signal with
+fs=950;//in KHz
+IF=455;//in KHz
+m=[1,2];
+n=[1,2];
+f0=fs+IF;
+disp('The sum of frequencies are');
+for i=1:1:2
+ for j=1:1:2
+fu1=n(j)/m(i) *f0 + 1/m(i) *IF;
+disp(fu1);
+end
+end
+disp('The difference of frequencies are');
+for i=1:1:2
+ for j=1:1:2
+fu2=n(j)/m(i) *f0 - 1/m(i) *IF;
+disp(fu2);
+end
+end
\ No newline at end of file |