Need help in creating a script without using for loops.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens

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