Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
index exceeded matrix dimensions please help
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I get this error what should i do to correct this?
Index exceeds matrix dimensions.
Error in t31 (line 11)
F1=Fmag((N/2)+1:N);
my code
N=length(t);
Fshifted=fftshift(F);
Fmag=norm(Fshifted);
F1=Fmag((N/2)+1:N);
F2=Fmag(N/2:-1:1);
2 comentarios
Walter Roberson
el 16 de Abr. de 2019
Do not use norm() to find the magnitude of the spectrum. Use abs() .
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!