This question is closed. Reopen it to edit or answer.
what is the error ?
1 view (last 30 days)
Show older comments
Mostafa Anwar on 3 Jun 2021
Closed: Adam Danz on 3 Jun 2021
N = 4;
x = [ 3 4 5 6 ];
for k = 0 : N-1
sum = sum + x.*(exp(-1*1i*2*pi*k.*n/N));
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!