From sources-request at octave dot org Mon Sep 27 01:24:02 2004 Subject: Re: Control Toolbox - ltiplot.m From: Jay H To: "John W. Eaton" Cc: octave sources mailing list Date: Sun, 26 Sep 2004 23:22:41 -0700 Hi, Yes, I am talking about the code posted at atomos, and it does appear to be code copyrighted by Mathsoft. What made me believe the code was appropriate for the octave control toolbox was that many of their posted .m files have the same name, and same functionality, of the corresponding octave .m files. For instance, the http://www.atmos.washington.edu .m directory includes bode.m, lsim.m, step.m and so on, all of which are also present in the octave control/base directory. Evidently, the octave control .m's comprise code that was written explicitly for octave. Therefore, my original question should have been along the lines of, "Is there any way we can write an ltiplot.m function for the octave control toolbox that reproduces the functionality of the matlab ltiplot.m function?" Jay On Sun, 26 Sep 2004 23:13:35 -0400, John W. Eaton wrote: > On 26-Sep-2004, Jay H wrote: > > | We just started to use matlab for a control systems course, and up > | until now I have been able to do all my homework in Octave. The > | octave control toolbox is excellent. > | > | Recently we were told to do some work with the matlab function > | 'ltiplot', and I found the source code with google, > | http://www.google.com/search?hl=en&ie=UTF-8&q=ltiplot+matlab&btnG=Google+Search > | > | but when I try to run the code I get various octave syntax errors. > > Are you talking about what is posted at http://www.atmos.washington.edu? > > I haven't looked at the code, but is it an independent implementation > for Octave or was it written for Matlab? Given the name of the > directory and the list of files in the directory, it looks like > someone has made some version of the Matlab control toolbox available > on the web. Somehow, I suspect that the MathWorks would not approve. > As I recall, redistribution is not allowed by the license. If it is > MathWorks code, then even if you have a license for it, you can't > simply modify it until it works in Octave and then submit it to the > Octave project. Doing that would clearly be a copyright and license > violation. > > jwe >