Info

This question is closed. Reopen it to edit or answer.

what is the error ?

1 view (last 30 days)
Mostafa Anwar
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
for n=0:N-1
sum = sum + x.*(exp(-1*1i*2*pi*k.*n/N));
end
end
stem(sum)

Answers (0)

This question is closed.

Tags

Products


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!