Obtaining fundamental frequency wave from a PWM signal

8 ビュー (過去 30 日間)
Rashmil Dahanayake
Rashmil Dahanayake 2013 年 8 月 21 日
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.
Please refer to the subplot #5 of the attached screen shot http://imgur.com/CSdqRyV
Thank you

採用された回答

laurie
laurie 2013 年 8 月 21 日
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 件)

コミュニティ

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by