blob: 9f05bdc5f838d17ed7da9799a291188a38e5f86b (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 4.10
//Program to Compute the 4-point DFT of a Sequence x[n]=[0,1,2,3]
//using DIT-DIF Algorithm.
clear;
clc ;
close ;
x = [0,1,2,3];
//FFT Computation
X = fft (x , -1);
disp(X,'X(z) = ');
|