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 variablex
, the lower extremum a of the domain ofU
, or the upper extremum b of the domain ofU
. Moreover, derivatives ofU
can be created/accessed using the syntaxU(POINT,DERIVATIVE)where
POINT
isx
, a or b andDERIVATIVE
is the desired derivative order. Note thatU(POINT,0)
is equivalent toU(POINT)
.
- Syntax
[U1,U2,...Uq] = depvar(x)
- Description
sets up multiple dependent variables,
U1
, ...,Uq
. Each dependent variable depends on the independent variablex
.
Back to the list of main functions <./index>
Back to Table of Contents <../index>