# TOMVIEW  
# REGISTER (TOMVIEW)
# LOGIN  
# myTOMVIEW
TOMLAB LOGO

« Previous « Start » Next »

11  NLLS Problem

The constrained nonlinear least squares (cls) problem is defined as
 
min
x
f(x) =
1
2
r(x)T r(x)
   
s/t
xL x xU,
bL A x bU
cL c(x) cU
    (13)
where x, xL, xU ∈ Rn, r(x) ∈ RM, A ∈ Rm1 × n, bL,bU ∈ Rm1 and cL,c(x),cU ∈ Rm2. The following file defines and solves a problem in TOMVIEW.

The following VI's define a problem in TOMVIEW.

File: quickguide/nllsQG.vi, nllsQG_r.vi and nllsQG_J.vi
  r:   Residual function
  J:   Residual gradient matrix (Jacobian)
It is also possible to define nonlinear constraints as needed.

The following VI illustrates how to solve an NLLS problem in TOMVIEW. Also view the other VI's specified above for more information.
It is possible to change the output displayed by expanding the cluster in the block diagram.

« Previous « Start » Next »