Need help in creating a script without using for loops.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos

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 comentarios
Respuestas (1)
David Hill
el 25 de Sept. de 2020
N=length(x);
Xk=sum(x.*exp((-1i*2*pi/N*(0:N-1)).*(0:N-1)'),2);
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
