| Mu Analysis and Synthesis Toolbox | Search  Help Desk |
| fitsys | Examples See Also |
Fits single-input/single-output (SISO), single-input/multi-output (SIMO) and multi-input/single-output (MISO) frequency response data with SYSTEM matrix
Syntax
sys = fitsys(resp,ord,wt,code)
Description
fitsys fits frequency response (VARYING) data in resp with a transfer function of order ord, using a frequency dependent weight in wt (optional). The frequency response data may be either a row (SIMO) or column (MISO). The optional frequency dependent weight is a VARYING matrix. This weight may be a scalar (1 row, 1 column), or may be the same shape as resp.
The fourth argument, code, is optional. If set to 0 (default), then the fit is as described. If code = 1, as in the µ-synthesis routines, it forces the fit to be stable, minimum phase, simply by reflecting the poles and zeros if necessary. In this case, the response resp comes from the program genphase and already corresponds to a stable, minimum phase transfer function. fitsys is called by fitmag and msf.
Examples
An example of how to usefitsys to derive a SIMO transfer function model is provided in the "More Sophisticated SYSTEM Functions" section in Chapter 2.
Algorithm
The author offitsys is Xin Hua Yang.
See Also
fitmag, genphase, msf, vspect