summaryrefslogtreecommitdiff
path: root/62/CH6/EX6.50
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /62/CH6/EX6.50
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 '62/CH6/EX6.50')
-rwxr-xr-x62/CH6/EX6.50/ex_6_50.sce8
1 files changed, 4 insertions, 4 deletions
diff --git a/62/CH6/EX6.50/ex_6_50.sce b/62/CH6/EX6.50/ex_6_50.sce
index 7234437d9..643fec265 100755
--- a/62/CH6/EX6.50/ex_6_50.sce
+++ b/62/CH6/EX6.50/ex_6_50.sce
@@ -36,10 +36,10 @@ poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
clear y;
-X=dft(x,-1);
-H=dft(h,-1);
+X=fft(x,-1);
+H=fft(h,-1);
Y=H.*X;
-y=dft(Y,1);
+y=fft(Y,1);
subplot(4,1,4)
plot2d3(n,y);
xtitle('y[n]','n')
@@ -50,4 +50,4 @@ a.y_location="right";
poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
-plot(n,x,'r.')
+plot(n,x,'r.') \ No newline at end of file