Main Content

ord2

Generate continuous second-order systems

Syntax

[A,B,C,D] = ord2(wn,z)
[num,den] = ord2(wn,z)

Description

[A,B,C,D] = ord2(wn,z) generates the state-space description (A,B,C,D) of the second-order system

h(s)=1s2+2ζωns+ωn2

given the natural frequency wn (ωn) and damping factor z (ζ). Use ss to turn this description into a state-space object.

[num,den] = ord2(wn,z) returns the numerator and denominator of the second-order transfer function. Use tf to form the corresponding transfer function object.

Examples

To generate an LTI model of the second-order transfer function with damping factor ζ = 0.4 and natural frequency ωn = 2.4 rad/sec., type

[num,den] = ord2(2.4,0.4)
num =
     1
den =
    1.0000    1.9200    5.7600
sys = tf(num,den)
Transfer function:
         1
-------------------
s^2 + 1.92 s + 5.76

Version History

Introduced before R2006a

See Also

| |