This partial function defines the input and output arguments of the function to interpolate in a buffer of random values.
partial function interpolate extends Modelica.Icons.Function; input Real buffer[:] "Buffer of random numbers"; input Real offset "Offset from buffer start (0..size(buffer)-1"; input Real samplePeriod = 1 "The sample period of the noise buffer"; output Real y "Interpolated value at position offset"; end interpolate;
Date | Description | ||
---|---|---|---|
Sep. 4, 2015 |
|