image thumbnail

PWM Block

version (19.1 KB) by John Whittington
PWM generator requiring no supplementary toolboxes


Updated 10 Jun 2015

View License

Generates a PWM signal output when provided with a duty value (DC signal between 0 and 1). Amplitude of high signal and period can be set

Cite As

John Whittington (2022). PWM Block (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Triangle Wave - Mask defining example


Community Treasure Hunt

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

Start Hunting!