Main Content

ngrid

Superimpose Nichols chart on Nichols plot

Description

example

ngridsuperimposes Nichols chart grid lines over the Nichols frequency response of a SISO LTI system. The range of the Nichols grid lines is set to encompass the entire Nichols frequency response.

The chart relates the complex numberH/(1 +H) toH, whereHis any complex number. For SISO systems, whenH在开环f是一个点吗requency response, then the corresponding value of the closed-loop frequency response assuming unit negative feedback is

H 1 + H

If the current axis is empty,ngridgenerates a new Nichols chart grid in the region –40 dB to 40 dB in magnitude and –360 degrees to 0 degrees in phase.ngridreturns a warning if the current axis does not contain a SISO Nichols frequency response.

ngrid('new')clears the current axes first and setshold on.

ngrid(AX,___)plots the grid on theAxesorUIAxesobject in the current figure with the handleAX. Use this syntax when creating apps withngridin the App Designer.

Examples

collapse all

Plot the Nichols response with Nichols grid lines for the following system:

H ( s ) = - 4 s 4 + 4 8 s 3 - 1 8 s 2 + 2 5 0 s + 6 0 0 s 4 + 3 0 s 3 + 2 8 2 s 2 + 5 2 5 s + 6 0 .

H = tf([-4 48 -18 250 600],[1 30 282 525 60]); nichols(H) ngrid

Figure contains an axes object. The axes object contains an object of type line. This object represents H.

The context menu for Nichols charts includes theTightoption underZoom. You can use this option to clip unbounded branches of the Nichols chart.

Input Arguments

collapse all

Object handle, specified as anAxesorUIAxesobject. UseAXto create apps withngridin the App Designer.

Version History

Introduced before R2006a

See Also