Hi Luca

Legacy files in [0] are the ported (*) ones, e.g. the lqr command. I  
modified lqr such that it accepts lqe designs, i. e. L = lqr (A', C'  
B*B', q)' In general, these function are intended for the user.  
Therefore, they're listed in the INDEX file.

(*) ported means that they accept the new system format and use only  
"official" functions from LTI Syncope internally.

Legacy files in [1] are not intended for the user (therefore the  
underscores in the function names), they are just for internal use in  
*one* specific function. I need __tzero__ and __zg* to calculate the  
zeros of a state-space model ([z, k] = zero (sys)). I reused the  
algorithm because I think it's better than what I would have written  
(the author, Prof. Hodel from Auburn University, published a paper  
about it :-). I made only some minor changes, e.g. sorting the results  
differently.

BTW: When coding new/porting old functions, please don't use functions  
from [1] internally. Use the "official" zero instead of __tzero__.  
This allows me to exchange algorithms quickly if needed, and all  
existing functions take benefit from it without any changes.

Maybe I should add a tag to each legacy file to simplify identification:
## Adapted-By: Lukas Reichlin
## Created: October 2009
## Version: 0.1

Please let me know if you have any further questions or suggestions.

Regards,
Lukas

> Hi, Lukas.
>
>
> I noted you copied some files from the legacy control package into
> your rewrite [0][1].
>
> Are they needed for the rewrite? Did you change them?
> If not, I think it is a good idea to remove them from the rewrite (at
> the moment)
> * not to have duplicated files here and there
> * to semplify tracking dependencies between scripts (using grep...)
>
>
> Cheers,
> Luca Favatella
>
>
>
> [0] 
> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/inst/control/
> [1] 
> http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/inst/ocst/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to