Need help in creating a script without using for loops.
显示 更早的评论

I am trying to write a scrpt without using for loops. Attach is the scripts with for loops. They are for Q3a and Q3b.


4 个评论
KSSV
2020-9-25
Home Work......what have you attempted?
matthew choo
2020-9-25
KSSV
2020-9-25
Don't show your image as a image snippet....copy your code here.
matthew choo
2020-9-25
回答(1 个)
David Hill
2020-9-25
N=length(x);
Xk=sum(x.*exp((-1i*2*pi/N*(0:N-1)).*(0:N-1)'),2);
类别
在 帮助中心 和 File Exchange 中查找有关 Image Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
