octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60155] [octave forge] (control) Incorrect res


From: Charles Praplan
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 06:47:07 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0

Follow-up Comment #3, bug #60155 (project octave):

Hi,

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.
Just search for prc_1, prc_2, prc_3 in the file. There is also a prc_4 but
this seems to be the problem that you just corrected in your patch.

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?



(file #51058)
    _______________________________________________________

Additional Item Attachment:

File name: __time_response__.m            Size:14 KB
    <https://file.savannah.gnu.org/file/__time_response__.m?file_id=51058>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60155>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]