initialvalue

Navigation:  Language Reference > Functions > Arithmetic >

initialvalue

Previous pageReturn to chapter overviewNext page

Syntax

Y = initialvalue(X);

Description

Returns the initial value of X or the elements of X.  Value should be assigned to X first.

Examples

X

initialvalue(X)

1

1

sin(time)

0

[cos(time); sin(time)]

[1;0]

Limitations

X and Y must have the same size.