Description Usage Arguments Details Value See Also Examples
gensig generates a periodic signal. More useful when used in combination with lsim
| 1 | gensig(signal, tau, tfinal, tsam)
 | 
| signal | A string input containing either values of:  'sq' or 'square' - Square wave 'si' or 'sine' - Sine wave 'co' or 'cos' - Cosine wave 'pu' or 'pulse' - Periodic pulse | 
| tau | Duration of one period in seconds. Default is 5 | 
| tfinal | Duration of the signal in seconds. Default is 30 | 
| tsam | sampling time in seconds. Default is 0.01 | 
gensig generates a periodic signal of the following types: square, sin, cos, pulse
Possible usage: gensig(signal)
Returns a list of two single column matrices, u and t
u is the vector of signal values
t is the time vector of the signal
| 1 2 3 4 5 6 7 8 9 10 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.