Skip to content

rlocus evaluation for a single gain value #1063

Description

@JonHowMIT

I recall in the past being able to evaluate rlocus for a single gain to obtain the closed-loop poles (as well as plotting), along the lines of:

L = tf([1,1],[1,2,3])
rr = rlocus(L, gains=np.array([1]))

but this fails giving the final message:
.../site-packages/control/pzmap.py:124
ValueError: zero-size array to reduction operation minimum which has no identity

While this does work:
rr = rlocus(L, gains=np.array([1,1]))
allowing for an evaluation at a single gain would be nice.

Activity

  1. linked a pull request that will close this issueallow root locus maps with only 1 point #1065on Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions