Main Content

idUnitGain

Specify absence of nonlinearities for specific input or output channels in Hammerstein-Wiener models

Syntax

unit=idUnitGain

Description

unit=idUnitGaininstantiates an object that specifies an identity mappingF(x)=xto exclude specific input and output channels from being affected by a nonlinearity in Hammerstein-Wiener models.

Use theidUnitGainobject as an argument in thenlhwestimator to set the corresponding channel nonlinearity to unit gain.

For example, for a two-input and one-output model, to exclude the second input from being affected by a nonlinearity, use the following syntax:

m = nlhw(data,orders,['idSaturation''idUnitGain'],'idDeadZone')

In this case, the first input saturates and the output has an associateddeadzonenonlinearity.

idUnitGain Properties

idUnitGaindoes not have properties.

Examples

例如,对于一个输入和一个输出模型,to exclude the output from being affected by a nonlinearity, use the following syntax:

m = nlhw(Data,Orders,'idSaturation','idUnitGain')

In this case, the input has a saturation nonlinearity.

If nonlinearities are absent in input or output channels, you can replaceidUnitGainwith an empty matrix. For example, to specify a Wiener model with a sigmoid nonlinearity at the output and a unit gain at the input, use the following command:

m = nlhw(Data,Orders,[],'idSigmoidNetwork');

Tips

Use theidUnitGainobject to exclude specific input and output channels from being affected by a nonlinearity in Hammerstein-Wiener models.idUnitGainis a linear function y = F ( x ) , whereF(x)=x.

Version History

Introduced in R2007a

expand all

Not recommended starting in R2021b