See how it works here:
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.
Maxim Vedenyov (2022). Waveform Generator GUI 2 (https://www.mathworks.com/matlabcentral/fileexchange/35183-waveform-generator-gui-2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!