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

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

[Octave-bug-tracker] [bug #44949] control package: rlocus gives disconti


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #44949] control package: rlocus gives discontinuous data
Date: Wed, 10 Jun 2015 13:18:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

Follow-up Comment #4, bug #44949 (project octave):

I have a solution to this problem that works for me.
I created a new function called
crootssort.m    see attached file.
I then changed line 174 from

 rlpol(1:nroots,ii) = vec(sort (roots (den + gain*num)));

to 
 rlpol(1:nroots,ii) = vec(crootssort (roots (den + gain*num)));
and now it works for me.



(file #34196)
    _______________________________________________________

Additional Item Attachment:

File name: crootssort.m                   Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44949>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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