Skip to content

Comments

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

Merged
murrayrm merged 3 commits intopython-control:mainfrom
murrayrm:matched_bug-26Dec2023
Dec 26, 2023
Merged

Fix bug in matched transformation + address other issues in #950#951
murrayrm merged 3 commits intopython-control:mainfrom
murrayrm:matched_bug-26Dec2023

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.

@murrayrm murrayrm merged commit 177d8b6 into python-control:main Dec 26, 2023
@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