From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 830/CH5/EX5.1.3/DFT2.sce | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to '830/CH5/EX5.1.3/DFT2.sce') diff --git a/830/CH5/EX5.1.3/DFT2.sce b/830/CH5/EX5.1.3/DFT2.sce index f95069679..a9178f3db 100755 --- a/830/CH5/EX5.1.3/DFT2.sce +++ b/830/CH5/EX5.1.3/DFT2.sce @@ -1,13 +1,13 @@ -//Graphical// -//Example 5.1.3 -//Finding DFT and IDFT -clear; -clc; -close; -L = 4; // Length of the sequence -N = 4; // N -point DFT -x = [0,1,2,3]; -//Computing DFT -X = dft(x,-1) -//Computing IDFT -x_inv = real(dft(X,1)) +//Graphical// +//Example 5.1.3 +//Finding DFT and IDFT +clear; +clc; +close; +L = 4; // Length of the sequence +N = 4; // N -point DFT +x = [0,1,2,3]; +//Computing DFT +X = fft(x,-1) +//Computing IDFT +x_inv = real(fft(X,1)) \ No newline at end of file -- cgit