tempusSystem Class TimeHistory
TimeHistory is part of the WaveTrain system class library

TimeHistoryF should be used instead of this system as it treats time as a double instead of a float.

TimeHistory generates a float output signal formed from vector time history. An option allows data values to be sampled and held or linearly interpolated.

Tempus Block Diagram Editor Snapshot
Parameters
tv  Vector<float>   Time vector (s)   Vector()
sv  Vector<float>   Signal vector   Vector()
t0  float   The time within the tv vector that is to correspond to simulation time 0 (s)   0.0
s0  float   Default signal value before initial time   0.0
sampleFlag  int   If 0, use linear interpolation, otherwise use sample and hold   0
Inputs
None
Outputs
s  float   Signal value 0.0  
Subsystems


Last Saved: Wed Feb 13 11:34:53 MST 2008 by TVE version 2007B