Robust Control Toolbox™ Previous page   Next Page 
drawmag
 Provide feedback about this page

Mouse-based tool for sketching and fitting

Syntax

Description

drawmag interactively uses the mouse in the plot window to create pts (the frd object) and sysout (a stable minimum-phase ss object), which approximately fits the frequency response (magnitude) in pts.

Input arguments:

data
Either a frequency response object that is plotted as a reference, or a constant matrix of the form [xmin xmax ymin ymax] specifying the plot window on the data.
init_pts
Optional frd objects of initial set of points

Output arguments

sysout
Stable, minimum-phase ss object that approximately fits, in magnitude, the pts data.
pts
Frequency response 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
ginput      Graphically input information from mouse

loglog      Plotting frequency responses on log-log scale


 Provide feedback about this page 

Previous page dmplot evallmi Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS