depvar()

Define dependent variables to define integral inequalities in QUINOPT.


Syntax:

U = depvar(x)

Description:

sets up a symbolic variable modelling a generic function \(U(x)\), where x is a valid independent variable with domain \([a,b]\) created with the command indvar. U behaves like a function handle, and is used with the syntax

U(POINT)

where POINT is either the independent variable x, the lower extremum \(a\) of the domain of U, or the upper extremum \(b\) of the domain of U. Moreover, derivatives of U can be created/accessed using the syntax

U(POINT,DERIVATIVE)

where POINT is x, \(a\) or \(b\) and DERIVATIVE is the desired derivative order. Note that U(POINT,0) is equivalent to U(POINT).


Syntax:[U1,U2,...Uq] = depvar(x)
Description:sets up multiple dependent variables, U1, …, Uq. Each dependent variable depends on the independent variable x.