How do ı calculate the harmonics by inspecting the signal in matlab?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
such as this signal gf=cos(2*pi*10*t)+ 0.5*sin(2*pi*20*t)+4*cos(2*pi*30*t-pi/3)
0 comentarios
Respuestas (1)
Rick Rosson
el 12 de Oct. de 2014
dt = t(2) - t(1);
Fs = 1/dt;
pwelch(gf,[],[],[],Fs);
0 comentarios
Ver también
Categorías
Más información sobre Code Inspection en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!