Exponential
signal.exponential
Holds y0 until time t0, then moves from y0 towards y1 as y1 + (y0 - y1) exp(-(t - t0) / T). Rises when y1 > y0 and decays when y1 < y0.
Ports
| Name | Domain | Direction |
|---|---|---|
y | signal | out |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
y0 | 1 | 0 | Value before t0 | |
y1 | 1 | 1 | Final value | |
T | s | 1 | 0 to ∞ | Time constant |
t0 | s | 0 | Start time |
Equations
y = if time < t0 then y0 else y1 + (y0 - y1) * exp(-(time - t0) / T)