Simple Function Generator
Version 1.0.0.0 (2.88 KB) by
Hiroyuki Kato
function "sfg.m" can generate sin,square,duty square,iso triangle,saw tooth,sweep .and fft.
Simple Function Generator "sfg.m" is function generator.
kind of signals
1.sin
2.square(duty 50%)
3.duty square(0<duty<100%)
4.iso triangle
5.saw tooth
6.sweep
and fft analyze signals with optional argument).
So it is suitable learning frequency analyze,
to evaluate filter.
How to use
first using,input
>>sfg('demo')
you can know summary this command,
and watch all kind of plot.
Cite As
Hiroyuki Kato (2025). Simple Function Generator (https://www.mathworks.com/matlabcentral/fileexchange/43476-simple-function-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |