how to create a dft function without using other functions of matlab
20 views (last 30 days)
Show older comments
how to create a discrete fourier transform function with out using other functions of matlab please help regarding this sir.
4 Comments
Answers (1)
Subhash Mardi
on 23 Aug 2018
N=input('enter the sequence'); Y=input('enter the order of sequence'); for n=0:1:N-1; for k=0:1:N-1; p = exp(2*pi*-j*n*k/N); x2(k+1,n+1) = p; end end Xk=x1*x2;
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!