freqresp
Evaluate system response over a grid of frequencies
语法
说明
Use freqresp
to evaluate the system response over a grid of frequencies. To obtain the magnitude and phase data as well as plots of the frequency response, use bode
.
[
returns the frequency response of the dynamic system model H
,wout
] = freqresp(sys
)sys
at frequencies wout
. freqresp
automatically determines the frequencies based on the dynamics of sys
. For more information about frequency response, see Frequency Response.
示例
输入参数
Output Arguments
详细信息
算法
For transfer functions or zero-pole-gain models, freqresp
evaluates the numerator(s) and denominator(s) at the specified frequency points. For continuous-time state-space models (A, B, C, D), the frequency response is
For efficiency, A is reduced to upper Hessenberg form and the linear equation (jω − A)X = B is solved at each frequency point, taking advantage of the Hessenberg structure. The reduction to Hessenberg form provides a good compromise between efficiency and reliability. For more details on this technique, see [1] (Control System Toolbox).
参考
[1] Laub, A.J., "Efficient Multivariable Frequency Response Computations," IEEE® Transactions on Automatic Control, AC-26 (1981), pp. 407-408.
版本历史记录
在 R2006a 之前推出