***function#

Description#

This command is similar to ***table in the preceding section, but defines the magnitude as a function of time (see function for a detailed discussion about functions).

The ***function command can only be defined in terms of the variable time.

Syntax#

The syntax is the following:

***function name   func_def;

Note that semi-colon is mandatory. The name has the same significance as in the ***table command. Each function requires its own ***function declaration.

Example#

***function  xtab cos(time);
***function  ytab sin(time);

***function  funny time + 3.0*exp(-8.2*time);

***function  constant 1.0;

The last example will give a warning, but works.