Waveform Generator GUI 2

Generate waveformed signal and play it. Interactive GUI with movable datapoints.
Updated 27 Feb 2012

View License


See how it works here:

Run waveform_generator.m

This is second more advanced and more accurate programmed of my Waveform Generator GUI.

The Waveform generator can generate periodic signal of arbitrary shape. Markers used. This also display Fourier series a and b coefficients. It is possible to plot harmonics and save to m-file. It is possible to listens sound. There are 10 presets for classic waveforms.

Continuous play option can be used only if DAQ toolbox installed. If continuous play stop because of markers move then increase buffer size: bufferSize, nblocks, margin variables in gui opening function. Generate m-file means generate m-function using current settings, the function is waveform as function y=function_name(x), that is periodic.

The generator used intractive_curve class.

Cite As

Maxim Vedenyov (2024). Waveform Generator GUI 2 (https://www.mathworks.com/matlabcentral/fileexchange/35183-waveform-generator-gui-2), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Waveform Generator GUI, Interactive curve class

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

update No. 1: add option "redraw harmonics", now it is possible to turn off harmonics for speed.