Obtaining fundamental frequency wave from a PWM signal
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, Is there a way to get harmonic waves extracted from a signal. Say if I have a square wave I want to extract and plot 3 sin waves.
Similarly if a a PWM signal (ie a square wave), is it possible to plot the 1st fundamental sine wave.
Thank you
0 comentarios
Respuesta aceptada
laurie
el 21 de Ag. de 2013
it seems you want to do a Fourier transform of your signal. See http://www.mathworks.fr/fr/help/matlab/ref/fft.html
once you get the Fourier transform results, you can delete all frequencies except for the fundamental one, do a reverse Fourier transform and plot the result.
0 comentarios
Más respuestas (0)
Comunidades de usuarios
Más respuestas en Power Electronics Control
Ver también
Categorías
Más información sobre Discrete Fourier and Cosine Transforms en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!