Sawtooth.m

From Spinach Documentation Wiki
Jump to: navigation, search

Returns a saw-tooth waveform. Syntax:

     waveform=sawtooth(amplitude,frequency,time_grid)

Arguments:

     amplitude  -  amplitude at the tooth top
     frequency  -  waveform frequency in teeth per second
     time_grid  -  grid of time points, seconds