File Exchange

image thumbnail

Waveform Generator GUI 2

version 1.1 (26.2 KB) by

Generate waveformed signal and play it. Interactive GUI with movable datapoints.



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.

Comments and Ratings (3)

Adolfo Anta


Miguel (view profile)


Does the utility have real-time AM and sweep inputs (FM)?

In other words, does Matlab use the sound input capabilities of the sound card too.


wen chien

looks nice



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

MATLAB Release
MATLAB 7.10 (R2010a)

Inspired by: Interactive curve class, Waveform Generator GUI

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today