Skip to content
Discussion options

You must be logged in to vote

Thanks, those are good questions. I would separate three different uses that are easy to mix together here.

1. Why an exception instead of just plotting the unstable response?

In principle, yes, an unstable discrete system can be plotted. In this specific case the unstable pole is very large in magnitude, about -30.5. That means the response grows roughly like (-30.5)**k, so it becomes enormous after only a few samples. If step_response is choosing the time base automatically, it can run into numerical or time-vector issues rather than producing a useful plot. If you pass a short explicit discrete-time vector, you may be able to inspect the first few samples, but the response will blow up…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by oneEclipseUser1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants