On 06.07.2009, at 11:13, Luca Favatella wrote: > On 03/07/2009, Lukas Reichlin <lukas.reich...@swissonline.ch> wrote: > [...] >> Excellent :-) Below I added the discussion from help- >> oct...@octave.org >> together with a newer version of the function. > > Thanks. > > Committed with some style fixes. > > Please see > http://octave.svn.sourceforge.net/viewvc/octave?view=rev&revision=5988 > and control if I forgot something. > > > [...] >> Thank you. I corrected some minor typos and added my family >> name :-) I >> think this hack needs some serious testing before it's added to >> anything ;-) Especially because the accuracy relies on how tightly >> spaced the frequency vector of bode(sys) is. > > Mmm... It looks like you are more expert than me on this. > > Can you please provide a simple test for this? > You can use this file as a reference (see the last lines) > http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/inst/place.m?revision=5857&view=markup > > >> Regards, >> Lukas > > Thanks, > Luca Favatella
I found this hint about Matlab's implementation at the bottom of the following page. http://www.mathworks.com/access/helpdesk/help/toolbox/control/index.html?/access/helpdesk/help/toolbox/control/ref/margin.html&http://www.google.com/search ?q=%22gain%20margin%20algorithm%22&sourceid=mozilla2&ie=utf-8&oe=utf-8 On the same page, they are backing my doubts about the accuracy of the "bode technique" we used so far. Is there someone skilled out there who is able to implement the real thing? Regards, Lukas ------------------------------------------------------------------------------ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev