Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix damp command natural frequency printout for discrete poles on real axis#894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
murrayrm merged 3 commits intopython-control:mainfromsawyerbfuller:damp-dt-freq
May 28, 2023

Conversation

sawyerbfuller
Copy link
Contributor

Thedamp command was assuming a cont-time system when printing out pole locations (but the return value was correct). Fixed, along with making a few docstring improvements.

@sawyerbfuller
Copy link
ContributorAuthor

Example:

sysd=ct.zpk([], [-1.1,1+1j,1-1j],1,True)ct.damp(sysd)

Old (pole at -1.1 has the wrong frequency, table is hard to read):

_____Eigenvalue______ Damping___ Frequency_         1        +1j    -0.4037     0.8585         1        -1j    -0.4037     0.8585      -1.1                     1        1.1

New:

    Eigenvalue (pole)       Damping     Frequency         1        +1j       -0.4037        0.8585         1        -1j       -0.4037        0.8585                 -1.1             1         3.143
joaoantoniocardoso reacted with thumbs up emoji

@murrayrm
Copy link
Member

LGTM.

@murrayrmmurrayrm merged commit1b84d80 intopython-control:mainMay 28, 2023
@murrayrmmurrayrm added this to the0.9.4 milestoneJun 7, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
0.9.4
Development

Successfully merging this pull request may close these issues.

2 participants
@sawyerbfuller@murrayrm

[8]ページ先頭

©2009-2025 Movatter.jp