functionder_interpolate

Extends from Modelica.Icons.Function (Icon for functions).

Information

Syntax

der_y = Linear.der_interpolate(buffer,offset,der_buffer,der_offset);

Description

Determine the derivative of a signal interpolated linearly in a buffer (see interpolate). Input argument offset is a Real number marking the point at which interpolation shall take place. Input arguments der_buffer and der_offset are the derivatives of the input arguments buffer and offset. This function is used as derivative of the interpolate function. Please see the description there for an introduction to the interpolation method used and specific remerks in the buffer and offset values.

Inputs

TypeNameDefaultDescription
Real[:]bufferBuffer of random numbers
RealoffsetOffset from buffer start (0..size(buffer)-1
RealsamplePeriod1The sample period of the noise buffer
Real[size(buffer, 1)]der_bufferDerivatives of buffer values
Realder_offsetDerivative of offset value
Realder_samplePeriodDerivative of samplePeriod (unused)

Outputs

TypeNameDefaultDescription
Realder_yInterpolated value at position offset

Revisions

Date Description
Sep. 4, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control