Compute the quadratic and log-least-squares cost functions comparing two sets of frequency response functions.
Syntax
[cst] = ii_cost(xf,xe)
Description
For two sets of FRFs H and H^, the quadratic cost function is given by
Jij(W) =
ijmeasured,kÎW
|
^
H
ij
(sk) - Hij(sk) |2
and the log-least-square cost function by
Jij(W) =
ijmeasured,kÎW
| log
½
½
½
½
^
H
ij
(sk)
Hij(sk)
½
½
½
½
|2
For sets xf and xe stored using the xf format , ii_cost computes both those costs which are used in identification and model update algorithms (see section 4.2.3).