blob: 9b8af1d59579c55b8c592deeb25b110ca061c622 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 3.4
//Program to Compute the IDFT of the Sequence X[k]=[5,0,1-j,0,1,0,1+j,0]
clear;
clc ;
close ;
j=sqrt(-1);
X = [5,0,1-j,0,1,0,1+j,0]
//IDFT Computation
x = fft (X , 1);
//Display sequences x[n]in command window
disp(x,"x[n]=");
|