On 27.07.2012, at 21:28, Tony Olivo <[email protected]> wrote:
> 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
Hi Tony,
Thank you very much for your useful bug report. I committed the fix:
http://octave.svn.sourceforge.net/viewvc/octave?view=revision&revision=10779
Best regards,
Lukas
BTW: Did you know that instead of
load = ss([],[],[],[0; -1/Ro])
it is sufficient to write
load = ss([0; -1/Ro])
or even
load = [0; -1/Ro]
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev