summaryrefslogtreecommitdiff
path: root/40/CH7/EX7.7
diff options
context:
space:
mode:
Diffstat (limited to '40/CH7/EX7.7')
-rwxr-xr-x40/CH7/EX7.7/Exa_7_7.sce30
-rwxr-xr-x40/CH7/EX7.7/Exa_7_7_0.jpgbin0 -> 19607 bytes
-rwxr-xr-x40/CH7/EX7.7/Exa_7_7_1.jpgbin0 -> 17935 bytes
3 files changed, 30 insertions, 0 deletions
diff --git a/40/CH7/EX7.7/Exa_7_7.sce b/40/CH7/EX7.7/Exa_7_7.sce
new file mode 100755
index 000000000..fcaed3724
--- /dev/null
+++ b/40/CH7/EX7.7/Exa_7_7.sce
@@ -0,0 +1,30 @@
+//Zero interpolation and spectrum replication
+XF=[0 1 2 1];
+X1F=[XF XF XF 0];
+YF=[X1F X1F];
+DF=0.5*[XF XF 0];
+GF=0.5*[XF 0 XF 0 XF 0];
+f=-0.2:0.1:1;
+f1=-0.1:0.05:1.15;
+f2=-0.4:0.2:1.2;
+f3=-0.2:0.1:1.2;
+length(f3),length(GF)
+a=gca();
+a.y_location="origin";
+subplot(211);
+plot2d(f,X1F);
+ylabel('X1F');
+subplot(212);
+a.y_location="origin";
+plot2d(f1,YF);
+ylabel('YF');
+xset('window',1);
+b=gca();
+b.y_location="origin";
+subplot(211);
+plot2d(f2,DF);
+ylabel('DF');
+subplot(212);
+b.y_location="origin";
+plot2d(f3,GF);
+ylabel('GF'); \ No newline at end of file
diff --git a/40/CH7/EX7.7/Exa_7_7_0.jpg b/40/CH7/EX7.7/Exa_7_7_0.jpg
new file mode 100755
index 000000000..5e7104cbe
--- /dev/null
+++ b/40/CH7/EX7.7/Exa_7_7_0.jpg
Binary files differ
diff --git a/40/CH7/EX7.7/Exa_7_7_1.jpg b/40/CH7/EX7.7/Exa_7_7_1.jpg
new file mode 100755
index 000000000..636861653
--- /dev/null
+++ b/40/CH7/EX7.7/Exa_7_7_1.jpg
Binary files differ