Need help in creating a script without using for loops.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen

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 Kommentare
Antworten (1)
David Hill
am 25 Sep. 2020
N=length(x);
Xk=sum(x.*exp((-1i*2*pi/N*(0:N-1)).*(0:N-1)'),2);
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
