Text this: Simulation of PWM inverters using MATLAB