GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `rlocus` with `kvect` argument doesn't compute good limits · Issue #787 · python-control/python-control

rlocus with kvect argument doesn't compute good limits #787

New issue
Copy link
New issue
Copy link
Closed
#809
Closed
rlocus with kvect argument doesn't compute good limits#787
#809
Copy link

Description

@roryyorke
roryyorke
opened on Nov 12, 2022
Issue body actions

Example:

import control as ct
g = ct.tf([1,2], [1,2,10])
kvect = ct.rlocus(g)[1]
plt.figure()
ct.rlocus(g, kvect=kvect);

result:

image

image

I'd expect these two to look the same.

This is because axis limits are only calculated when argument kvect is None:

    if kvect is None:
        start_mat = _RLFindRoots(nump, denp, [1])
        kvect, mymat, xlim, ylim = _default_gains(nump, denp, xlim, ylim)
    else:
        start_mat = _RLFindRoots(nump, denp, [kvect[0]])
        mymat = _RLFindRoots(nump, denp, kvect)
        mymat = _RLSortRoots(mymat)

Activity

  1. murrayrm
    linked a pull request that will close this issuefix gain handling in rlocus and sisotool #809on Dec 14, 2022
  2. murrayrm
    closed this as completedin #809on Dec 16, 2022
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

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.