Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in matched transformation + address other issues in #950 #951

Merged
merged 3 commits into from
Dec 26, 2023

Conversation

murrayrm
Copy link
Member

This PR fixes the calculation of the DC gain in the 'matched' transformation from continuous time to discrete time. It also fixes some other issues identified in #950. Also adds unit test for sample_system that catches the original error.

@coveralls
Copy link

coveralls commented Dec 26, 2023

Coverage Status

coverage: 94.989% (-0.02%) from 95.009%
when pulling e4bcec0 on murrayrm:matched_bug-26Dec2023
into 7a8581c on python-control:main.

control/xferfcn.py Outdated Show resolved Hide resolved
murrayrm and others added 2 commits December 26, 2023 11:11
Co-authored-by: Sawyer Fuller <58706249+sawyerbfuller@users.noreply.github.com>
@murrayrm murrayrm merged commit 177d8b6 into python-control:main Dec 26, 2023
14 checks passed
@murrayrm murrayrm deleted the matched_bug-26Dec2023 branch December 26, 2023 19:32
@murrayrm murrayrm added this to the 0.10.0 milestone Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gain offset using control.matlab.c2d using method='matched' ?
3 participants