File Exchange

image thumbnail

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.

668 Downloads

Updated 12 Sep 2013

View License

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 (2021). 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 Linux

Community Treasure Hunt

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

Start Hunting!