File Exchange

image thumbnail

Simple Function Generator

version 1.0 (2.88 KB) by

function "sfg.m" can generate sin,square,duty square,iso triangle,saw tooth,sweep .and fft.

7 Downloads

Updated

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.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.6 (R2008a)

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

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

» Watch video