In the Units section in the
Settings window for the Analytic, Interpolation, and Piecewise function nodes, you can define units for the function’s inputs and output. In the
Arguments field, type a single unit for all inputs, or specify space-separated or comma-separated units for each input (type
m, s, for example, for two input arguments with the units meter and second, respectively). In the
Function field, type the unit for the function’s output.
For External functions and
MATLAB functions, enter expressions for the partial derivatives of each function with respect to their input arguments. The derivative information is needed by the automatic Jacobian computation. In the
Derivatives table, each row contains a partial derivative of a function with respect to one of its arguments:
Use this table to set the range for arguments in preview plots. For each argument, enter a Lower limit,
and an
Upper limit in the
Plot Parameters table. In
Analytic function plot settings, the argument column is updated automatically and must always match the specified argument list. For
External and
MATLAB functions, the argument column is absent. Instead, the limits specified in the table are applied to in order from top to bottom to the arguments of the first function with a matching number of arguments. It is also this first matching function which is plotted when you click the
Plot button (
) or the
Create Plot button (
).
For the Ramp,
Step,
Triangle, and
Rectangle functions, enter a value in the
Size of transition zone field to control the amount of smoothing. Set the
Number of continuous derivatives to
1 or
2. The default is to make derivatives continuous up to second order. For the
Ramp function, additionally choose whether to
Smooth at start and/or
Smooth at cutoff. For the Step function, the step is the same as for the
flc1hs and
flc2hs smoothed step functions, depending on the settings in the
Number of continuous derivatives list (see
Additional Smoothed Functions). The parameter
d in
flc1hs(x,d), for example, is set to half of the value in the
Size of transition zone field,