[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60155] [octave forge] (control) Incorrect res
From: |
Torsten Lilge |
Subject: |
[Octave-bug-tracker] [bug #60155] [octave forge] (control) Incorrect result on "step()" function when plotting the continuous and discrete step responses |
Date: |
Sun, 14 Mar 2021 07:40:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 |
Follow-up Comment #4, bug #60155 (project octave):
[comment #3 comment #3:]
> I saw 2 more problems with the step function. Please try the 2 following
test cases.
> sys=tf([0 0 1], [1e-10 1e-8 1]); step(sys); t=0:5e-6:3e-3; hold on;
step(sys, t,'r'); axis([0.0015 0.0032 0 2])
> sys=tf([0 0 1], [1e-10 0 1]); step(sys); t=0:5e-6:3e-3; hold on; step(sys,
t,'r'); axis([0 0.0035 0 2])
> I append a file in which I implemented a workaround. Maybe this can help you
making the final correction.
Thanks for the report and the workaround. I will have a look at this.
[comment #3 comment #3:]
> Finally I guess that the new argument "names" is not compatible with the old
step function (and other functions calling __time_response__.m).
> Could you also provide these functions?
Ah yes, the new "names" argument was introduced for fixing an issue with the
legend. You can download the files which are calling __time_response__.m
(step.m, ramp.m, impulse.m, initial.m) from the same location, just replace
the file name in the url.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60155>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/