Generate a rising and falling exponential signal
Library
Blocks/Sources
Description
The output y (right) is a rising exponential followed by a falling exponential signal:

With

Parameters

- outMax [-] : Height of output for infinite riseTime (outMax): Scalar.
- riseTime [s] : Rise time (riseTime): Scalar.
- riseTimeConst [s] : Rise time constant (>0) (riseTimeConst): Scalar.
- fallTimeConst [s] : Fall time constant (>0) (fallTimeConst): Scalar.
- offset [-] : Offset of output signal (offset): Scalar.
- startTime [s] : Output = offset for time < startTime (startTime): Scalar.
Ports
- Port 1 at right position: implicit output fixedport numbered 1.