From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 40/CH8/EX8.19/Exa_8_19.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 40/CH8/EX8.19/Exa_8_19.sce (limited to '40/CH8/EX8.19') diff --git a/40/CH8/EX8.19/Exa_8_19.sce b/40/CH8/EX8.19/Exa_8_19.sce new file mode 100755 index 000000000..77fcc0e9e --- /dev/null +++ b/40/CH8/EX8.19/Exa_8_19.sce @@ -0,0 +1,10 @@ +//using DFT to find IDFT +XDFT=[4;-2*%i;0;2*%i]; +XDFTc=[4;2*%i;0;-2*%i]; +w=exp(-%i*%pi/2); +for i=1:4 + for j=1:4 + WN(i,j)=w^((i-1)*(j-1)); + end +end +xn=1/4*(WN*XDFTc) \ No newline at end of file -- cgit