Mu Analysis and Synthesis Toolbox    
drawmag

Provide an interactive mouse-based log-log sketch and fitting tool

Syntax

Description
drawmag interactively uses the mouse in the plot window to create a VARYING matrix pts and a stable, minimum-phase SYSTEM sysout, which approximately fits, in magnitude, the frequency VARYING matrix in pts.

Input arguments:

in
either a VARYING matrix which is plotted each time as a reference or a CONSTANT matrix of the form [xmin xmax ymin ymax] specifying the plot window on the data.
init_pts
optional VARYING matrix of initial set of points

Output arguments

sysout
SYSTEM matrix fitting pts.
pts
VARYING matrix of points.
:

While drawmag is running, all interaction with the program is through the mouse and/or the keyboard. The mouse, if there is one, must be in the plot window. The program recognizes several commands:

See Also
axis, ginput, magfitlp, musynfit, vplot



dkitgui dypert, sisorat