[Scilab-users] Consistency in linearization function
I am not sure if I am doing something wrong but the lin function for linearization of a non-linear function surrounding a given point is returning different results each time I call it. And sometimes the results affects the following calculations I am performing (like root locus, for example). Below I pasted the output of a same linearization call.
Also, I made an overplot of a simulation using the linear and non-linear systems, as shown below (blue curve is the non-linear system and the green curves are linear system from several lin executions).
The full code is here .
Anyone faced something like that? I'd appreciate any help.