Waveform generator using harmonics

Version 1.0 (585 Bytes) by Rajan Chalotra
These m files demonstrate, that square wave and triangular wave consists of sine components.
204 Downloads
Updated 19 Feb 2016

View License

These m files demonstrate, that square wave and triangular wave consists of sine components.
The more components ( harmonics) you add, more perfect wave you will get.
Similarly you can create sawtooth wave, half cycle sine wave or any periodic waveform, by adding/deleting sine cosine harmonics.

Cite As

Rajan Chalotra (2024). Waveform generator using harmonics (https://www.mathworks.com/matlabcentral/fileexchange/55294-waveform-generator-using-harmonics), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0

1.0