PWM Fourier series

The "pwm_fourier.m" function plots the Fourier series (i.e. frequency-domain) representation of periodic pulse-width-modulated (PWM) waveforms.

To run it, you will need to install either GNU Octave or MATLAB.

It is provided in the hope it will help those learning power electronics to understand what PWM is, and how it underpins general purpose DC-AC conversion.