Title: dcgain on discrete-time systems is wrong · Issue #114 · python-control/python-control · GitHub
Open Graph Title: dcgain on discrete-time systems is wrong · Issue #114 · python-control/python-control
X Title: dcgain on discrete-time systems is wrong · Issue #114 · python-control/python-control
Description: dcgain should distinguish between continuous- and discrete-time systems when determining DC gain. import control gct=control.tf([1],[1,1]) gcs=control.ss(gct) gdt=control.sample_system(gct,5e-2,method='zoh') gds=control.ss(gdt) print('gc...
Open Graph Description: dcgain should distinguish between continuous- and discrete-time systems when determining DC gain. import control gct=control.tf([1],[1,1]) gcs=control.ss(gct) gdt=control.sample_system(gct,5e-2,met...
X Description: dcgain should distinguish between continuous- and discrete-time systems when determining DC gain. import control gct=control.tf([1],[1,1]) gcs=control.ss(gct) gdt=control.sample_system(gct,5e-2,met...
Opengraph URL: https://github.com/python-control/python-control/issues/114
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dcgain on discrete-time systems is wrong","articleBody":"dcgain should distinguish between continuous- and discrete-time systems when determining DC gain.\n\n``` python\nimport control\ngct=control.tf([1],[1,1])\ngcs=control.ss(gct)\ngdt=control.sample_system(gct,5e-2,method='zoh')\ngds=control.ss(gdt)\nprint('gct.dcgain()',gct.dcgain())\nprint('gcs.dcgain()',gcs.dcgain())\nprint('gdt.dcgain()',gdt.dcgain())\nprint('gds.dcgain()',gds.dcgain())\nprint('gdt.horner(1)',gdt.horner(1))\nprint('gds.horner(1)',gds.horner(1))\n```\n\ngives\n\n```\ngct.dcgain() 1.0\ngcs.dcgain() 1.0\ngdt.dcgain() -0.051271096376024033\ngds.dcgain() -0.051271096376024033\ngdt.horner(1) [[ 1.+0.j]]\ngds.horner(1) [[ 1.]]\n```\n","author":{"url":"https://github.com/roryyorke","@type":"Person","name":"roryyorke"},"datePublished":"2016-09-22T18:56:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/114/python-control/issues/114"}
| 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:b7aa936b-9838-f950-4cc3-9d5b1b207650 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8C4:35B685:408B67:58C532:697BC00B |
| html-safe-nonce | 699a40e52cd9c37ca5b12ecb4f0fb93ec40afc132cca8c3ebb41170f194b6a3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEM0OjM1QjY4NTo0MDhCNjc6NThDNTMyOjY5N0JDMDBCIiwidmlzaXRvcl9pZCI6IjcyNzg0Mzg0Njg0ODMyNjg2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 25a6d0adc756857a4e666b6352993c3c63223f94b436f3c8aa28a30ed191a2d1 |
| hovercard-subject-tag | issue:178692365 |
| 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/114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6f84ec96f6e4ee810bd1f8911a106ba40fee853095b258d371feb52e5b404fd/python-control/python-control/issues/114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6f84ec96f6e4ee810bd1f8911a106ba40fee853095b258d371feb52e5b404fd/python-control/python-control/issues/114 |
| og:image:alt | dcgain should distinguish between continuous- and discrete-time systems when determining DC gain. import control gct=control.tf([1],[1,1]) gcs=control.ss(gct) gdt=control.sample_system(gct,5e-2,met... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | roryyorke |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab413746e1b95376981dfec4a04b2384a611b96affe802ee3ee6d752200afbb1 |
| 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 | bea0e0f1995ab0bb7fa336572c353032cf897ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width