[scilab-Users] Dynamic tracing functions

CRETE Denis denis.crete at thalesgroup.com
Mon Apr 23 16:09:26 CEST 2012


Hello,
If the variable t is discrete, then you may define the function f123 as a table of values [f1(1:10), f2(11:20), f3(21:30)].
If not, one can use a smooth "step" function like SSF(t)=1/2+1/%pi*atan(t/dt), which, if dt is sufficiently small, will be 0 if t <-dt  and 1 if t > +dt.
f123(t)=SSF(10 -t)*f1(t)+(SSF(20-t)-SSF(t-30))*f2(t)+SSF(t-30)*f3(t);
dt can be used as a "smoothing parameter" at the boundaries.
HTH
Denis

-----Message d'origine-----
De : Tima [mailto:meni.tima at hotmail.com] 
Envoyé : lundi 23 avril 2012 15:11
À : users at lists.scilab.org
Objet : [scilab-Users] Dynamic tracing functions

Hi,

Does anybody knows a way to plot different functions dynamically. 
/For example/,
at t=1..10, it appears f1(..)
at t=11..20, I indicate another function f2() and it appears f2() at t=21..30,  I indicate another function f3() and it appears f3() ....

Thanks a lot,
Regards,
Tima
 

--
View this message in context: http://mailinglists.scilab.org/Dynamic-tracing-functions-tp3932426p3932426.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

--
To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org
To check the archives of this mailing list, see http://mailinglists.scilab.org/




More information about the users mailing list