Hello, I was playing around learning the control toolbox today, and found that I couldn't properly set up a feedback system where sys1 had 2 inputs and 1 output, and sys2 had 1 input and 2 outputs. I would get the error message: > error: feedback: range of feedout indices exceeds dimensions of sys1 > error: called from: > error: C:\octave\3.6.2\share\octave\packages\control-2.3.52\@lti\feedback.m > at line 131, column 5 > error: C:\...\ssTest.m at line 15, column 6
I dug in a bit and found that feedback.m at line 130 does this-- > if (any (feedin > p1 | feedin < 1)) > error ("feedback: range of feedout indices exceeds dimensions of sys1"); > endif -- checking 'feedin>p1' and 'feedin<1' for the feedout condition. I changed both instances of feedin on line 130 to feedout, restarted Octave and am able to run my script successfully. You should be able to confirm with this script. http://pastebin.com/KDLsYgDy Thanks, -Tony ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev