Title: lti.evalfr and sys._evalfr have different behavior · Issue #434 · python-control/python-control · GitHub
Open Graph Title: lti.evalfr and sys._evalfr have different behavior · Issue #434 · python-control/python-control
X Title: lti.evalfr and sys._evalfr have different behavior · Issue #434 · python-control/python-control
Description: The evalfr function in the lti module expects a complex number and evaluates the system at that complex frequency. The method sys._evalfr, on the other hand, where sys is a transfer function or state space system, expects a real argument...
Open Graph Description: The evalfr function in the lti module expects a complex number and evaluates the system at that complex frequency. The method sys._evalfr, on the other hand, where sys is a transfer function or sta...
X Description: The evalfr function in the lti module expects a complex number and evaluates the system at that complex frequency. The method sys._evalfr, on the other hand, where sys is a transfer function or sta...
Opengraph URL: https://github.com/python-control/python-control/issues/434
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lti.evalfr and sys._evalfr have different behavior","articleBody":"The ``evalfr`` function in the ``lti`` module expects a complex number and evaluates the system at that complex frequency. The method ``sys._evalfr``, on the other hand, where sys is a transfer function or state space system, expects a real argument and multiplies it by j before evaluating the frequency response. \r\n\r\nIs this dichotomy intentional? \r\n\r\n* matlab's ``evalfr`` [function](https://www.mathworks.com/help/control/ref/evalfr.html) expects a complex number, which seems like a more general-purpose solution. ``sys.freqresp`` expects real-valued omega arguments, making it perhaps a better interface for users\r\n* also, right now, only ``sys._evalfr`` correctly performs the z-plane transformation for discrete-time systems. ","author":{"url":"https://github.com/sawyerbfuller","@type":"Person","name":"sawyerbfuller"},"datePublished":"2020-07-23T09:41:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/434/python-control/issues/434"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6bc03256-3f3b-919e-15c4-e54d20bfcab6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85C2:31F6F5:5F4EAF:87ACFA:6979ED86 |
| html-safe-nonce | cff5da0495e6de9e0dcca1119718ee1d0e75b90000e88244b83a3fdb8505cee8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUMyOjMxRjZGNTo1RjRFQUY6ODdBQ0ZBOjY5NzlFRDg2IiwidmlzaXRvcl9pZCI6IjYwMTI3NTE2NjU1MTE5MTg5ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 559ebf4a58d7092b830616c211c735e776189bb479aa61f2f8c6da53dcc270fb |
| hovercard-subject-tag | issue:664335014 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-control/python-control/434/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a94042acbe9c7d158b36dd8fe9447c44f51a8cd40634b8ba139c10bca70813c2/python-control/python-control/issues/434 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a94042acbe9c7d158b36dd8fe9447c44f51a8cd40634b8ba139c10bca70813c2/python-control/python-control/issues/434 |
| og:image:alt | The evalfr function in the lti module expects a complex number and evaluates the system at that complex frequency. The method sys._evalfr, on the other hand, where sys is a transfer function or sta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sawyerbfuller |
| hostname | github.com |
| expected-hostname | github.com |
| None | d518616844426fb176f4177c4776349f6e70ef1ce75f459c8c53bf9293bb6982 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22c6ce7724007ae85d7487fce3308a1c7cea8be6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width