Exponentials

Generate a rising and falling exponential signal

    Exponentials

Library

Blocks/Sources

Description

The Real output y is a rising exponential followed by a falling exponential signal:

Exponentials.png

Parameters

Exponentials_0

NameLabelDescriptionData TypeValid Values

mo_outMax

outMax

Height of output for infinite riseTime

Scalar

mo_riseTime

riseTime

Rise time

Scalar

mo_riseTimeConst

riseTimeConst

Rise time constant; rising is defined as outMax*(1-exp(-riseTime/riseTimeConst))

Scalar

mo_fallTimeConst

fallTimeConst

Fall time constant

Scalar

mo_offset

offset

Offset of output signal y

Scalar

mo_startTime

startTime

Output y = offset for time < startTime

Scalar

Exponentials_1

NameLabelDescriptionData TypeValid Values

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Real output signal

output

1