Syntax
der_y = SmoothIdealLowPass.der_interpolate(buffer,offset,der_buffer,der_offset);
Description
Determine the derivative of a signal interpolated smoothly 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.
function der_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";
input Real der_buffer[size(buffer, 1)] "Derivatives of buffer values";
input Real der_offset "Derivative of offset value";
input Real der_samplePeriod "Derivative of samplePeriod (unused)";
output Real der_y "Interpolated value at position offset";
end der_interpolate;
Date |
Description |
Sep. 4, 2015 |
|
Generated at 2024-11-24T19:25:44Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos