Main Content

setOvershoot

Set overshoot of sdo.requirements.PZDampingRatio object

    Description

    example

    outReq = setOvershoot(inReq,overshoot) sets the damping ratio value of a sdo.requirements.PZDampingRatio object to a value equivalent to percent overshoot.

    Examples

    collapse all

    Create damping ratio object.

    req = sdo.requirements.PZDampingRatio;

    Set overshoot bound to 20%.

    setOvershoot(req,20);

    Input Arguments

    collapse all

    Damping ratio requirement object, specified as an sdo.requirements.PZDampingRatio object.

    Percent overshoot value, specified as a positive scalar.

    Output Arguments

    collapse all

    Updated damping ratio requirement object, returned as an sdo.requirements.PZDampingRatio whose DampingRatio property is set based on the specified overshoot bound.

    Version History

    Introduced in R2010b