Info

此问题已关闭。 请重新打开它进行编辑或回答。

what is the error ?

1 次查看(过去 30 天)
Mostafa Anwar
Mostafa Anwar 2021-6-3
关闭: Adam Danz 2021-6-3
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)

回答(0 个)

此问题已关闭。

标签

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by