nwidPEM function
Identify a full network or a single target module using prediction error minimization (PEM), based on the implementation in the System Identification toolbox. The network model is transformed into a state space model to support optimization with pem.
Syntax
model = nwidPEM(data,model,orders,options)performs identification based on the provided data, initialized network model, model orders and option set. The identified predictor model is returned.
Input arguments
data
nwdataobjectNetwork data object. The input excitation, input node and output node signals (as referred to by their labels) in the
Rset,DsetandYsetof the predictor model must be present in the data.model
nwpredmodelobjectnwmodelobjectInitialized network model object. Use an
nwmodelobject to identify the full network, and annwpredmodelobject to identify a single target module. For each element, whether or not it is fixed, the number of delays, the orders of the numerators and denominators, parameter values of fixed elements and parameter initializations can be set using theG,TandHfields (PredictorMapobjects).Hmust specify a square matrix and is enforced to be monic by the algorithm.orders
structure array Model orders. Can be used to override properties of the initialized network model object. Use a structure array with optional fields
G,TandH, which should each be structure arrays themselves with the optional fieldsnpnum,npdenandd(to set the analogousPredictorMapproperties). Use an empty structure array to use the initialized network model object without modifications.options
nwidPEMOptionsobjectOption set for
nwidPEMfunction. Can be constructed usingoptions = nwidPEMOptionsfor the default option set oroptions = nwidPEMOptions(Name=Value,...)to set specified options.
Output arguments
model
nwpredmodelobjectnwmodelobjectEstimated network model object. This is an
nwmodelobject after full network identification, and annwpredmodelobject after single module identification. Thenpnumandnpdenproperties of theG,TandHfields are populated with the estimated parameter values. Theeproperties ofG,TandHcontain the fixed and estimated transfer functions of the predictor model connections.