-
Notifications
You must be signed in to change notification settings - Fork 438
Any plan for step_info to support negative step responses? #337
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
Comments
@joaoantoniocardoso Any interest in taking a look at this? |
@murrayrm Yes, I think I can take a look at this tomorrow. Also I think this error is not something that happens only for negative step responses... Months ago I did a pull-request (#293 ) that fixes some cases with the same message. (That pull was closed because while fixes some cases, it breaks others) |
Hi, think I solved this problem and the problem of systems with non settling time, I mean when dcgain isinf or isnan, doing:
|
Hi @juanodecc, it seems like a good solution. Could you open a PR with that, adding also a test case with a negative system and another with a system with non-settling time? Thanks |
I have step responses that go negative and sometimes stay negative, and it breaks the settling time calculation and rise time calculation. I've been messing around with it and might open a pull request if this is something y'all would be interested in.
For example, here is my code, the step response plot, and the error
step_info()
gives the following errorWhen I run this code in MATLAB, I get the following result
The text was updated successfully, but these errors were encountered: