Frequency Domain Identification Toolbox
  Go to function:
    Search    Help Desk 
simfou    Examples   See Also

Generate simulated Fourier amplitudes from parameters and variances.

Syntax

Description

simfou generates simulated Fourier amplitudes (and perhaps also a Fourier file) for elis. The parameters of the transfer function are given in the vector pdat (see exppar), or in a file if pdat is a string. The frequencies are given in the vector freqv. The input amplitudes are given in the vector x0.

The variances are defined by vdat: if this is an 1-by-2 or 1-by-3 vector, its elements are taken as constant input and output variances (and perhaps the input-output covariance). If this is an N-by-2 or N-by-3 array, the variance vectors (and perhaps the covariance vector) are formed from the two (or three) columns. If this is a vector, the variance and covariance vectors are obtained using impvar. If it is a string, the variance file is looked for.

expno is the number of experiments to be generated.

Default Argument Values

Examples

The convergence properties of elis can be checked by running it several times on data simulated using a known transfer function:

Diagnostics

The routine checks the validity of the variance values and their compatibility with the frequency vector, and sends an error message when incompatibility is found.

When the system is unstable (the real part of a root is 0 in the s-domain or the absolute value of a root is 1 in the z-domain), a warning message is sent:

but the simulated values will be calculated in the frequency domain.

Algorithm

simfou calculates the input and output amplitude vectors, and adds zero-mean complex Gaussian noise with the given variances and properly set covariance to them.

See Also



[ Previous | Help Desk | Next ]