diff options
Diffstat (limited to '3812/CH8/EX8.2.c/8_2_c.sce')
-rw-r--r-- | 3812/CH8/EX8.2.c/8_2_c.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3812/CH8/EX8.2.c/8_2_c.sce b/3812/CH8/EX8.2.c/8_2_c.sce new file mode 100644 index 000000000..4d888d65d --- /dev/null +++ b/3812/CH8/EX8.2.c/8_2_c.sce @@ -0,0 +1,17 @@ +//Example 8_2<c>
+//determine the nyquist rate of x(t)=sinc(200*pi*t)+sinc2(200*pi*t)
+//here,sinc(400t)=0.5cos(400t)/400t+
+clc;
+clear all;
+wq=400;
+wp=200;
+wf=0;
+if wp>=wq then
+wf=wp;
+else
+wf=wq;
+end
+F1=wf/2;
+Fs=2*F1;
+disp('Nyquist Rate=');
+disp(Fs);
|