From jaundreventer at gmail.com Tue Nov 1 16:18:22 2011 From: jaundreventer at gmail.com (jaundreventer at gmail.com) Date: Tue, 1 Nov 2011 15:18:22 +0000 Subject: [scilab-Users] No reaction In-Reply-To: <4EAF23C4.6080504@centre-cired.fr> References: <4E8C5106.3080801@centre-cired.fr> <4E8C79EA.9040909@centre-cired.fr> <4E8D9A18.2030203@centre-cired.fr> <4EAF23C4.6080504@centre-cired.fr> Message-ID: <802775837-1320160687-cardhu_decombobulator_blackberry.rim.net-110406671-@b1.c18.bise7.blackberry> Hi adrien Thank you very much for your help. I will try your tips. Thank you once again. Regards. Sent via my BlackBerry from Vodacom - let your email find you! -----Original Message----- From: Adrien Vogt-Schilb Date: Mon, 31 Oct 2011 23:40:04 To: Reply-To: users at lists.scilab.org Subject: Re: [scilab-Users] No reaction Hi Jaundre Venter your code runs just fine you just ploted y(9) and y(8) instead of y(9,:) and y(8,:) ! it happens that when M is a matrix, say a 3x4 matrix, things like M($), M(1), M(7) or M([1 3 5 9]) are legal scilab statements, so you don't have any error message. see the documentation: help extraction *scilab team*, maybe you could put an option for displaying warnings when tables are accessed with less arguments than their dimensions, what do you think? On 31/10/2011 21:10, Jaundre Venter wrote: > Hi Adrien > > Sorry for late response but had some issues on other projects that i > had to attend. > > i am still getting no reactions what so ever for the last three > curves. see attached the new code. i don't know it is showing 0 or at > the initial values! i have checked the mass balance if some input > values are wrong that is causing the no reaction but the constant etc > is correct. > > On Thu, Oct 6, 2011 at 2:07 PM, Adrien Vogt-Schilb > > wrote: > > Hi > > Maybe you should look at x (the output of ode) without ploting it. > That way you'll make sure if the problem comes from the plot or not > > Can you attach a file with the new code? > > > On 06/10/2011 10:00, Jaundre Venter wrote: >> Hi >> >> okay i have made the changes and the reaction curves are looking >> better but for some reason i still get no reaction on the last >> three curves. It is just showing a straight line. can it be that >> i have choosen to plot the wrong type of graph? Maybe because of >> a time value or to much ODE"s? >> >> On Wed, Oct 5, 2011 at 10:24 PM, Jaundre Venter >> > wrote: >> >> Thank you very much Adrien. >> >> always nice if someone can explain to you where your problems >> are and why. Thanks >> >> Was there any other problems you saw that i have to be aware of? >> >> >> On Wed, Oct 5, 2011 at 5:38 PM, Adrien Vogt-Schilb >> > wrote: >> >> Hi >> >> When you use ode, it's ok, if say, dx(1) depends on dx(4). >> but you still have say that to scilab properly, something >> like: >> >> function dx = f(t,x) >> dx(6)=((F+Fab+Floss)*(x(2))), // culture Volume V >> dx(1)=(((mu)*(x(1)))-(((x(1))/(x(6)))*((dx(6))))*(CO)*(x(2)))), >> //biomass concentration X >> and so one >> >> note that because i had to know dx(6) to compute dx(1) i >> just computed dx(6) before dx(1): no problem. and note >> that i used x(2). The idea of the ode is to compute dx >> from x! >> >> make sure you understand that using dx_6 instead of >> dx(6), your ODE solver is not updating dx_6 at each time >> step, it is using the initial and only dx_6 forever. >> That's why your last varaibles do not move, somehow their >> speeds are never updated. >> for instance, dx(6)=((F+Fab+Floss)*(HION)), // culture >> Volume V is constance in time (i guess) >> >> >> >> On 05/10/2011 15:00, Jaundre Venter wrote: >>> Hi Adrien >>> >>> i am new to SCILAB! I just want to say that. >>> >>> Yes dx_1 is equal to dx1 but the only reason why i have >>> programmed it like that is becasue the ODE's looks as >>> follows - (see word file attached that can explain the >>> ODE"s better. with regards to the HION and CO it >>> actually refers to [H+] and CO2 as you said. the only >>> reason why n multiplied HION and CO wit hsome ODE's is >>> because some does have a influence on some ODE's. >>> >>> This is the first time i am working with SCILAB thus i >>> am struggling to understand how SCILAB wants the code so >>> that all 9 ODE's are shown and so that the ODE's that is >>> having a effect on other does happen. I though if you >>> refer to dx(1) for example in a other ODE it means that >>> SCILAb will know the dx(1) has a influence on the other ODE. >>> >>> The main goal of my assesment is to deliver similar >>> results obtained from MATLAB on SCILAB. all i got was >>> how the grpahs should look like and the ODE's. >>> >>> On Wed, Oct 5, 2011 at 2:43 PM, Adrien Vogt-Schilb >>> > wrote: >>> >>> Hi >>> >>> Try to isalote your problem >>> if i understood well, the following code >>> >>> >>> // initial values >>> x0=[0.1, 1e-5, 0, 15, 1.16, 100,0,297,0.5]'; >>> t=0:0.005:400; >>> y=ode(x0, 0, t, f); >>> >>> returns y such that sum(y(6:9,:)>x0) == 0 ? >>> if this is true, we do not need the plots to solve >>> the problem >>> can you check that ? >>> >>> I believe the f function is erroneous. >>> It seems that dx_1 should be equal to dx(1) at each >>> time step, and that HION should be equal to x(2) at >>> each time step, etc. >>> >>> in other terms, some of your phisical variables seem >>> to be represented by to variables (i am guessing >>> HION=[H+] and x(2)=[H+] also) but scilab does not >>> have any chance to know that. >>> if my guess is right, you have to rewrite the f >>> function in a way that eliminates all references to >>> HION, dx_1, dx_6 and so on >>> >>> >>> On 05/10/2011 14:27, Jaundre Venter wrote: >>>> Hi all >>>> >>>> Can someone please explain to me the following: >>>> >>>> I am busy with a project of simulation the >>>> production of penicillin in a bio reactor. Now i >>>> have 9 ODE's which i want to simulate. >>>> >>>> now for some reason the last three graphs i am >>>> getting doesn't show any response what so ever. i >>>> am using the following code. >>>> >>>> dx(1)=(((mu)*(x(1)))-(((x(1))/(x(6)))*((dx_6)))*(CO)*(HION)), >>>> //biomass concentration X >>>> dx(2)=((z*(((mu)*(x(1)))-(((F)*(x(1)))/(x(6)))))+(QQ)), >>>> //hydrogen ion concentration H+ >>>> dx(3)=((((mupp)*(x(1)))-((K)*(x(3)))-((x(3))/(x(6)))*(dx_6))*(HION)), >>>> //Penicilin concentration P >>>> dx(4)=((-((mu)/(Yxs))*(x(1)))-(((mupp)/(Yps))*(x(1)))-((mx)*(x(1)))+((Fsf)/(x(6)))-((x(4)/(x(6)))*(dx_6))), >>>> //Substrate concentration S >>>> dx(5)=(-(((mu)/(Yxo))*(x(1)))-(((mupp)/(Ypo))*(x(1)))-(((mo))*(x(1)))+((kla)*(cll-(x(5))))-(((x(5))/(x(6)))*(dx_6))), >>>> //dissolved oxygen >>>> dx(6)=((F+Fab+Floss)*(HION)), // culture Volume V >>>> dx(7)=(((rq1)*(dx_1)*(x(6)))+(rq2)*(x(1))*(x(6))), >>>> //Heat generation Qrxn >>>> dx(8)=((((F)/(sf))*(Tf-(x(8))))+(1/((x(6))*(pcp)))*(QT)), >>>> // Temperature T >>>> dx(9)=(((a1)*(dx_1))+((a2)*(x(1)))+(a3)), // CO2 >>>> evolution, CO2 >>>> endfunction >>>> >>>> now when i ask for plotting the graphs i am using >>>> the following.: >>>> >>>> // initial values >>>> x0=[0.1, 1e-5, 0, 15, 1.16, 100,0,297,0.5]'; >>>> t=0:0.005:400; >>>> y=ode(x0, 0, t, f); >>>> >>>> // the plots of each variable >>>> da.title.text="BIOMASS CONCENTRATION" >>>> da.x_label.text="Time, hours"; >>>> da.y_label.text="X,g/l "; >>>> scf(1);clf; //Opens and clears figure 1 >>>> plot(t,y(1,:)) >>>> >>>> da.title.text="HYDROGEN ION H+ CONCENTRATION" >>>> da.y_label.text="H+,mol/l "; >>>> scf(2);clf; //Opens and clears figure 2 >>>> plot(t,y(2,:)) >>>> >>>> da.title.text="PENICILLIN CONCENTRATION" >>>> da.y_label.text="P,g/l "; >>>> scf(3);clf; //Opens and clears figure 3 >>>> plot(t,y(3,:)) >>>> >>>> da.title.text="SUBSTRATE CONCENTRATION" >>>> da.y_label.text="S,g/l "; >>>> scf(4);clf; //Opens and clears figure 4 >>>> plot(t,y(4,:)) >>>> >>>> da.title.text="DISSOLVED OXYGEN CONCENTRATION" >>>> da.y_label.text="C_l,g/l "; >>>> scf(5);clf; //Opens and clears figure 5 >>>> plot(t,y(5,:)) >>>> >>>> da.title.text="CULTURE VOLUME" >>>> da.y_label.text="V,l"; >>>> scf(6);clf; //Opens and clears figure 6 >>>> plot(t,y(6,:)) >>>> >>>> da.title.text="HEAT OF REACTION" >>>> da.y_label.text="Qrxn,cal"; >>>> scf(7); >>>> clf; //Opens and clears figure 7 >>>> plot(t,y(7),:) >>>> >>>> da.title.text="TEMPERATURE" >>>> da.y_label.text="T,Kelvin"; >>>> scf(8); >>>> clf; //Opens and clears figure 8 >>>> plot(t,y(8),:) >>>> >>>> da.title.text="CO2 EVOLUTION" >>>> da.y_label.text="CO2,mmol/l/"; >>>> scf(9); >>>> clf; //Opens and clears figure 9 >>>> plot(t,y(9),:) >>>> >>>> Am i doing something wrong? before the ODE's i have >>>> just programmed the initial values and constants : >>>> >>>> funcprot(0); >>>> function dx = f(t,x) >>>> K1=1.0e-10 //mol/l >>>> K2=7.0e-05 //mol/l >>>> Kx=0.15 // Contois saturation constant, g/l >>>> Kox=2e-02 // oxygen limitation constant >>>> mux=0.092 // maitenance coefficient on >>>> subsrate >>>> p=3 //constant >>>> Kp=0.0002 // inhibition constant >>>> Kop=2e-02 // oxygen limitation constant >>>> K=0.04 // Penicillin hydrolysis constant, per h >>>> Yxs=0.45 // yield constant,g biomass/g glucose = >>>> dimensionless >>>> Yps=0.90 // yield constant, g pinicillin/ g >>>> glucose = dimensionless >>>> mx= 0.014 // Maintenance coefficient on >>>> substrate, per h >>>> Yxo=0.04 // yield constant, g biomass/g oxygen = >>>> dimensionless >>>> Ypo=0.20 // yield constant, g penicillin/g >>>> oxygen= dimensionless >>>> mo= 0.467 // maintenance coefficient of oxygen, >>>> per h >>>> mup=0.0005 // specific rate of penicilline >>>> production (per h) >>>> sf=600 // Feed substrate concentration, g/l >>>> kla=23 // function of agitation power input and >>>> oxugen flow rate, dimensional >>>> cll=1.16 // dissolved oxygen concentration, g/l >>>> Cab=3 // concentrations in both solutions >>>> Fa=5 // acid flow rate, l/h !! >>>> Fb=5 // base flow rate, l/h !! >>>> delta_t=0.01 // time step in digital PID >>>> controller - arbitrary value!!! >>>> z=10e-5 // constant >>>> F=0.042 // feed substrate flow rate l/h >>>> T0=273 // temperature at freezing, K >>>> Tv=373 // temperature at boiling >>>> T=298 // feed temp of substrate >>>> h=(2.5e-4) // constant >>>> Floss=(x(6)*(h)*(exp(5)*((T-T0)/(Tv-T0)))) >>>> Fab=Fa+Fb // volume increase due to influx of acid >>>> Fa and base Fb >>>> Fsf=((sf)*(F)) >>>> kg= 7e-3 // Arrhenius constant for growth >>>> kd=10e33 // Arrhenius constant for cell death >>>> Eg= 5100 // Activation energy for growth, cal/mol >>>> Ed= 50000 // Activation energy for cell death, >>>> cal/mol >>>> R= 1.987 // gas constant, cal/mol k >>>> T= 297 // Temperature >>>> RT= R*T >>>> alpa= 70 // constant in Kla >>>> betha= 0.4 // constant in Kla >>>> Pw= 30 // Agitation power input, W >>>> fg= 8.6 // Flow rate of oxygen >>>> V=100 // Volume >>>> QE= ((kg*exp(-(Eg/RT)))-(kd*exp(-(Ed/RT)))) >>>> kla= alpa*((sqrt(fg)*(Pw/x(6)))^betha) >>>> mu >>>> =(((mux)/(1+((K1)/(x(2)))+((x(2))/(K2))))*((x(3))/(((Kx)*(x(1)))+(x(3))))*((x(5))/(((Kox)*(x(1)))+(x(5))))*(QE)) >>>> // Specific growth rate >>>> mupp = >>>> ((mup)*((x(4))/((Kp)+(x(4))+(x(4)^2)/(K1)))*((x(5)^p)/((Kop)*(x(1)))+(x(5)^p))) >>>> // Specific penicillin production rate >>>> B >>>> =(((1e-14/x(2)-x(2))*x(6)-Cab*(Fa+Fb)*delta_t)/(x(6)+(Fa+Fb)*delta_t)) >>>> QQ =((-B+sqrt(B^2+4e-14))/2-(x(2)))*(1/delta_t) >>>> dx_6 = (F+Fab+Floss) //Culture Volume V >>>> dx_1 = (((mu)*(x(1)))-((x(1))/(x(6)))*(dx_6)) >>>> //biomass concentration X >>>> rq1 = 60 // yield of heat generation, cal/g biomass >>>> rq2 = 1.6783e-4 // Constant, cal/g biomass h >>>> Tf = 296 // substrate feed temperature, Kelvin >>>> a = 1000 // heat transfer coefficient of >>>> cooling/heating liquid, cal/h degree C >>>> b = 0.60 // constant >>>> Fc=0.1 // Cooling water flow rate, not sure >>>> about value, l/h >>>> pcCpc = 1/2000 // Density times heat capacity of >>>> cooling liquid, per l degree C >>>> pcp = 1/1500 // density times heat capacity of >>>> medium >>>> QT = >>>> ((x(7)-(((a)*(Fc^b+1))/((Fc)+((a)*(Fc^b))/2*pcCpc)))) >>>> a1=0.143 // constant relating CO2 to growth, mmol >>>> CO2/g biomass >>>> a2=4e-7 // Constant relating CO2 to mainteneance >>>> energy, mmol CO2/g biomass h >>>> a3=1e-4 // Constant relating CO2 to penicillin >>>> production, mmol CO2/l h >>>> CO= (((a1)*(dx_1))+((a2)*(x(1)))+(a3)), // CO2 >>>> evolution, CO2 >>>> HION=((z*(((mu)*(x(1)))-(((F)*(x(1)))/(x(6)))))+(QQ)) >>>> >>>> Thanks. >>> >>> >>> -- >>> Adrien Vogt-Schilb (Cired) >>> Tel: (+33) 1 43 94 *73 77* >>> >>> >> >> >> -- >> Adrien Vogt-Schilb (Cired) >> Tel: (+33) 1 43 94 *73 77* >> >> >> > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* > > -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From ycollette.nospam at free.fr Wed Nov 2 10:46:22 2011 From: ycollette.nospam at free.fr (Yann COLLETTE) Date: Wed, 02 Nov 2011 10:46:22 +0100 Subject: Problem with scilab 5.3.3 and graphics Message-ID: <4EB1116E.9060004@free.fr> Hello, I am under mandriva 2011 + I have updated my nvidia driver to the latest version. When I launch a graphic, nothing is displayed and a strange error message is printed in the bash console: Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedAn error occurred when Scilab tried to open a Canvas: Unable to open default display, needed for visual selection and offscreen surface handling If an exception about java.lang.UnsatisfiedLinkError has been thrown, check if etc/librarypath.xml contains the path to gluegen and jogl libraries I use the scilab shipped by mandriva. I've got the same behavior with scilab-5.3.3 64 bits downloaded from the website. Best regards, YC From ycollette.nospam at free.fr Wed Nov 2 15:03:31 2011 From: ycollette.nospam at free.fr (Yann COLLETTE) Date: Wed, 02 Nov 2011 15:03:31 +0100 Subject: [scilab-Users] Problem with scilab 5.3.3 and graphics In-Reply-To: <4EB1116E.9060004@free.fr> References: <4EB1116E.9060004@free.fr> Message-ID: <4EB14DB3.6070803@free.fr> Le 02/11/2011 10:46, Yann COLLETTE a ?crit : > Hello, > > I am under mandriva 2011 + I have updated my nvidia driver to the > latest version. > When I launch a graphic, nothing is displayed and a strange error > message is printed in the bash console: > > Maximum number of clients reachedMaximum number of clients > reachedMaximum number of clients reachedAn error occurred when Scilab > tried to open a Canvas: Unable to open default display, needed for > visual selection and offscreen surface handling > If an exception about java.lang.UnsatisfiedLinkError has been thrown, > check if etc/librarypath.xml contains the path to gluegen and jogl > libraries > > I use the scilab shipped by mandriva. I've got the same behavior with > scilab-5.3.3 64 bits downloaded from the website. > > Best regards, > > YC Argghh ! It's a problem related to Xorg / KDE / Gnome. With some versions of KDE, many ports are opened. And Xorg can only manage a maximum amount of opened ports (256). I switched to XFCE for now until a patched version of KDE is released. Some similar problems have been reported with firefox and thunderbirds (with some specific plugins). YC From adelson.oliveira at gmail.com Wed Nov 2 17:16:04 2011 From: adelson.oliveira at gmail.com (Adelson Santos de Oliveira) Date: Wed, 02 Nov 2011 14:16:04 -0200 Subject: [scilab-Users] Problem with scilab 5.3.3 and graphics In-Reply-To: <4EB1116E.9060004@free.fr> References: <4EB1116E.9060004@free.fr> Message-ID: <4EB16CC4.4050403@gmail.com> Em 02-11-2011 07:46, Yann COLLETTE escreveu: > Hello, > > I am under mandriva 2011 + I have updated my nvidia driver to the > latest version. > When I launch a graphic, nothing is displayed and a strange error > message is printed in the bash console: > > Maximum number of clients reachedMaximum number of clients > reachedMaximum number of clients reachedAn error occurred when Scilab > tried to open a Canvas: Unable to open default display, needed for > visual selection and offscreen surface handling > If an exception about java.lang.UnsatisfiedLinkError has been thrown, > check if etc/librarypath.xml contains the path to gluegen and jogl > libraries > > I use the scilab shipped by mandriva. I've got the same behavior with > scilab-5.3.3 64 bits downloaded from the website. > > Best regards, > > YC > I use Mandriva 2011 64 bits updated as to yesterday and Scilab 5.3.3 64 bits downloaded from the website. So far, I have not had this problem. Regards From adelson.oliveira at gmail.com Wed Nov 2 17:17:47 2011 From: adelson.oliveira at gmail.com (Adelson Santos de Oliveira) Date: Wed, 02 Nov 2011 14:17:47 -0200 Subject: [scilab-Users] Problem with scilab 5.3.3 and graphics In-Reply-To: <4EB14DB3.6070803@free.fr> References: <4EB1116E.9060004@free.fr> <4EB14DB3.6070803@free.fr> Message-ID: <4EB16D2B.3020600@gmail.com> Em 02-11-2011 12:03, Yann COLLETTE escreveu: > Le 02/11/2011 10:46, Yann COLLETTE a ?crit : >> Hello, >> >> I am under mandriva 2011 + I have updated my nvidia driver to the >> latest version. >> When I launch a graphic, nothing is displayed and a strange error >> message is printed in the bash console: >> >> Maximum number of clients reachedMaximum number of clients >> reachedMaximum number of clients reachedAn error occurred when Scilab >> tried to open a Canvas: Unable to open default display, needed for >> visual selection and offscreen surface handling >> If an exception about java.lang.UnsatisfiedLinkError has been thrown, >> check if etc/librarypath.xml contains the path to gluegen and jogl >> libraries >> >> I use the scilab shipped by mandriva. I've got the same behavior with >> scilab-5.3.3 64 bits downloaded from the website. >> >> Best regards, >> >> YC > > Argghh ! > > It's a problem related to Xorg / KDE / Gnome. > With some versions of KDE, many ports are opened. And Xorg can only > manage a maximum amount of opened ports (256). > I switched to XFCE for now until a patched version of KDE is released. > > Some similar problems have been reported with firefox and thunderbirds > (with some specific plugins). > > YC > I have not checked for a "big" number of graphic widows... From fvogelnew1 at free.fr Wed Nov 2 21:18:53 2011 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Wed, 02 Nov 2011 21:18:53 +0100 Subject: [ANN] Scipad-8.68 Message-ID: <4EB1A5AD.5060201@free.fr> ANNOUNCE: Scipad version 8.68 ============================= A new version of the Scipad text editor for Scilab and Scicoslab is available. This is a bug fix release. CHANGES SINCE PREVIOUS VERSION ============================== FIXED BUGS: * Fixed ticket #13 (emacs bindings mixed with mac-pc bindings) * Fixed bugs with incremental search: . F3, find a match, insert a line before the match, F3 --> wrong highlighting . The searched string could keep the red color even if there was a match * Fixed: only Scilab scheme colorized buffers shall be executed on Load all into Scilab * Fixed: new Scipad version check failed due to a change in the content of the queried SourceForge page WHAT IS SCIPAD ? ================ Scipad is a powerful editor and graphical debugger for programs written in Scilab language. It is a mature and highly configurable programmer's editor, including features like syntax colorization, regexp search/replace, parentheses matching, logical/physical line numbering, peer windows, line and block text editing, and much more. Scipad can be used along with Scicoslab or Scilab, but even as a standalone text editor. Used as internal Sci(cos)lab editor, it interacts tightly with the interpreter, allowing - Scilab code execution control - conditional breakpointing - variable retrieval and tooltip display - Scilab help lookup - access to source code of Scilab library function - control of Scilab facilities for Matlab code and creation of help documents - and much more Scipad also includes basic Modelica and XML syntax colorization; it is currently localized in 13 languages and further localizations can easily be added. Scipad is entirely written in Tcl/Tk and Scilab language. It has been tested and developed under various versions of Windows and Linux. WHERE CAN SCIPAD BE FOUND? ========================== Project page @ SourceForge.net: http://sourceforge.net/p/scipad/ Direct download: - for Scilab: http://sourceforge.net/projects/scipad/files/scipad/8.68/scipad-8.68-Scilab5.zip/download - for Scicoslab: http://sourceforge.net/projects/scipad/files/scipad-8.68/scipad-8.68-Scicoslab.zip/download Installation instructions: http://sourceforge.net/p/scipad/wiki/Installation/ Details regarding the tested platforms: http://sourceforge.net/p/scipad/wiki/Tested%20on/ LICENSE ======= Scipad is a free software distributed under the terms of the GPL (V2) license. From inpost at gmail.com Wed Nov 2 23:37:58 2011 From: inpost at gmail.com (e-letter) Date: Wed, 2 Nov 2011 22:37:58 +0000 Subject: use scilab with existing java Message-ID: Readers, The tarball was downloaded and expanded. Java is installed at: /usr/local/java/java/ The bash profile file contains: export JAVA_HOME=/usr/local/java/java/jre/bin/java PATH=$PATH:/usr/local/java/java/jre/bin:/usr/local/bin export PATH The libjava file is at: /usr/local/java/java/jre/lib/i386/libjava.so The scilab file was edited: detect_java_vm() { proc="i386" # If the user has the variable JAVA_HOME in the ENV if test -n "$JAVA_HOME" ; then if test $SCIVERBOSE -ne 0; then echo "Using specified vm: $JAVA_HOME" fi # if test ! -x "$JAVA_HOME/bin/java" ; then if test ! -x "$JAVA_HOME" ; then echo "Cannot find $JAVA_HOME/bin/java" exit 1 else JAVA_BINDIR=$JAVA_HOME/bin fi # Manage JRE & JDK because libjava.so and others are stored in the JRE if test -d $JAVA_HOME/jre; then JRE_HOME=$JAVA_HOME/jre else JRE_HOME=$JAVA_HOME fi # Configuring LD_LIBRARY_PATH for libjava.so libhpi.so and libxxxx.so JAVA_SHLIB="libjava.so" # LIBJAVA="$JRE_HOME/lib/$proc/$JAVA_SHLIB" LIBJAVA="$JRE_HOME/../../lib/i386/$proc/$JAVA_SHLIB" Trying to start scilab causes an error: /usr/local/scilab/scilab/bin/scilab Could not load JVM dynamic library (libjava). Error: libjvm.so: cannot open shared object file: No such file or directory If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/. If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM. The problem might be related to SELinux. Try to deactivate it. Scilab cannot open JVM library. Any help please? From sylvestre.ledru at scilab.org Thu Nov 3 00:02:09 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 03 Nov 2011 00:02:09 +0100 Subject: [scilab-Users] use scilab with existing java In-Reply-To: References: Message-ID: <1320274929.5305.24.camel@pomegues.inria.fr> Hello Le mercredi 02 novembre 2011 ? 22:37 +0000, e-letter a ?crit : > Readers, > > The tarball was downloaded and expanded. > > Java is installed at: > > /usr/local/java/java/ > > The bash profile file contains: > > export JAVA_HOME=/usr/local/java/java/jre/bin/java This declaration is wrong. JAVA_HOME must point to a path which should be /usr/local/java/java here JAVA_HOME=/usr/local/java/java scilab should start Scilab FYI, SCIVERBOSE=1 scilab will give you some debug information. Regards, S From inpost at gmail.com Thu Nov 3 00:09:26 2011 From: inpost at gmail.com (e-letter) Date: Wed, 2 Nov 2011 23:09:26 +0000 Subject: [scilab-Users] use scilab with existing java In-Reply-To: <1320274929.5305.24.camel@pomegues.inria.fr> References: <1320274929.5305.24.camel@pomegues.inria.fr> Message-ID: On 02/11/2011, Sylvestre Ledru wrote: >> The bash profile file contains: >> >> export JAVA_HOME=/usr/local/java/java/jre/bin/java > This declaration is wrong. > JAVA_HOME must point to a path which should be > /usr/local/java/java > here > But this works for other java programs? > JAVA_HOME=/usr/local/java/java scilab > should start Scilab > scilab didn't start, command terminal output: /usr/local/java/java/jre/bin/java /usr/local/scilab/scilab/bin/scilab Exception in thread "main" java.lang.NoClassDefFoundError: .usr.local.scilab.scilab.bin.scilab Caused by: java.lang.ClassNotFoundException: .usr.local.scilab.scilab.bin.scilab at java.net.URLClassLoader.findClass(URLClassLoader.java:434) at java.lang.ClassLoader.loadClass(ClassLoader.java:660) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) at java.lang.ClassLoader.loadClass(ClassLoader.java:626) Could not find the main class: /usr/local/scilab/scilab/bin/scilab. Program will exit. > FYI, > SCIVERBOSE=1 scilab > will give you some debug information. > Sorry but it is not understood how to use this command From sylvestre.ledru at scilab.org Thu Nov 3 00:29:09 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 03 Nov 2011 00:29:09 +0100 Subject: [scilab-Users] use scilab with existing java In-Reply-To: References: <1320274929.5305.24.camel@pomegues.inria.fr> Message-ID: <1320276549.8969.8.camel@pomegues.inria.fr> Le mercredi 02 novembre 2011 ? 23:09 +0000, e-letter a ?crit : > On 02/11/2011, Sylvestre Ledru wrote: > >> The bash profile file contains: > >> > >> export JAVA_HOME=/usr/local/java/java/jre/bin/java > > This declaration is wrong. > > JAVA_HOME must point to a path which should be > > /usr/local/java/java > > here > > > > But this works for other java programs? It should not. Anyway, first, why are you not using Scilab official binaries ? > > JAVA_HOME=/usr/local/java/java scilab > > should start Scilab > > > > scilab didn't start, command terminal output: > > /usr/local/java/java/jre/bin/java /usr/local/scilab/scilab/bin/scilab > Exception in thread "main" java.lang.NoClassDefFoundError: > .usr.local.scilab.scilab.bin.scilab > Caused by: java.lang.ClassNotFoundException: .usr.local.scilab.scilab.bin.scilab > at java.net.URLClassLoader.findClass(URLClassLoader.java:434) > at java.lang.ClassLoader.loadClass(ClassLoader.java:660) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) > at java.lang.ClassLoader.loadClass(ClassLoader.java:626) > Could not find the main class: /usr/local/scilab/scilab/bin/scilab. > Program will exit. Please use the exact command as I told you: JAVA_HOME=/usr/local/java/java /usr/local/scilab/scilab/bin/scilab Sylvestre From inpost at gmail.com Thu Nov 3 00:34:48 2011 From: inpost at gmail.com (e-letter) Date: Wed, 2 Nov 2011 23:34:48 +0000 Subject: [scilab-Users] use scilab with existing java In-Reply-To: <1320276549.8969.8.camel@pomegues.inria.fr> References: <1320274929.5305.24.camel@pomegues.inria.fr> <1320276549.8969.8.camel@pomegues.inria.fr> Message-ID: On 02/11/2011, Sylvestre Ledru wrote: > Le mercredi 02 novembre 2011 ? 23:09 +0000, e-letter a ?crit : >> On 02/11/2011, Sylvestre Ledru wrote: >> >> The bash profile file contains: >> >> >> >> export JAVA_HOME=/usr/local/java/java/jre/bin/java >> > This declaration is wrong. >> > JAVA_HOME must point to a path which should be >> > /usr/local/java/java >> > here >> > >> >> But this works for other java programs? > It should not. > I assure you it does, for examples using jedit, freeplane, rssowl. > Anyway, first, why are you not using Scilab official binaries ? > Because it wants to install extra java software and I have already java installed. >> > JAVA_HOME=/usr/local/java/java scilab >> > should start Scilab >> > >> >> scilab didn't start, command terminal output: >> >> /usr/local/java/java/jre/bin/java /usr/local/scilab/scilab/bin/scilab >> Exception in thread "main" java.lang.NoClassDefFoundError: >> .usr.local.scilab.scilab.bin.scilab >> Caused by: java.lang.ClassNotFoundException: >> .usr.local.scilab.scilab.bin.scilab >> at java.net.URLClassLoader.findClass(URLClassLoader.java:434) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:660) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:626) >> Could not find the main class: /usr/local/scilab/scilab/bin/scilab. >> Program will exit. > Please use the exact command as I told you: > JAVA_HOME=/usr/local/java/java /usr/local/scilab/scilab/bin/scilab > That does not work: JAVA_HOME=/usr/local/java/java /usr/local/scilab/scilab/bin/scilab Could not load JVM dynamic library (libjava). Error: libjvm.so: cannot open shared object file: No such file or directory If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/. If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM. The problem might be related to SELinux. Try to deactivate it. Scilab cannot open JVM library. From ycollette.nospam at free.fr Thu Nov 3 09:21:21 2011 From: ycollette.nospam at free.fr (ycollette.nospam at free.fr) Date: Thu, 3 Nov 2011 09:21:21 +0100 (CET) Subject: [scilab-Users] Problem with scilab 5.3.3 and graphics In-Reply-To: <4EB16D2B.3020600@gmail.com> Message-ID: <84716680.7213131320308481390.JavaMail.root@zimbra40-e7.priv.proxad.net> When I switched to XFCE, I noticed that a process eat all the ressources of on processor. This process is knotify4. I think this is the source of my problem. I will try again under kde4 but I will kill knotify4 before launching scilab. YC ----- Mail Original ----- De: "Adelson Santos de Oliveira" ?: users at lists.scilab.org Envoy?: Mercredi 2 Novembre 2011 17h17:47 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Problem with scilab 5.3.3 and graphics Em 02-11-2011 12:03, Yann COLLETTE escreveu: > Le 02/11/2011 10:46, Yann COLLETTE a ?crit : >> Hello, >> >> I am under mandriva 2011 + I have updated my nvidia driver to the >> latest version. >> When I launch a graphic, nothing is displayed and a strange error >> message is printed in the bash console: >> >> Maximum number of clients reachedMaximum number of clients >> reachedMaximum number of clients reachedAn error occurred when Scilab >> tried to open a Canvas: Unable to open default display, needed for >> visual selection and offscreen surface handling >> If an exception about java.lang.UnsatisfiedLinkError has been thrown, >> check if etc/librarypath.xml contains the path to gluegen and jogl >> libraries >> >> I use the scilab shipped by mandriva. I've got the same behavior with >> scilab-5.3.3 64 bits downloaded from the website. >> >> Best regards, >> >> YC > > Argghh ! > > It's a problem related to Xorg / KDE / Gnome. > With some versions of KDE, many ports are opened. And Xorg can only > manage a maximum amount of opened ports (256). > I switched to XFCE for now until a patched version of KDE is released. > > Some similar problems have been reported with firefox and thunderbirds > (with some specific plugins). > > YC > I have not checked for a "big" number of graphic widows... From inpost at gmail.com Thu Nov 3 10:57:37 2011 From: inpost at gmail.com (e-letter) Date: Thu, 3 Nov 2011 09:57:37 +0000 Subject: digest mode Message-ID: What is the command to receive messages in digest mode, please? From solerec at eircom.net Thu Nov 3 20:44:11 2011 From: solerec at eircom.net (christophe) Date: Thu, 03 Nov 2011 19:44:11 +0000 Subject: Copula In-Reply-To: References: <1320274929.5305.24.camel@pomegues.inria.fr> <1320276549.8969.8.camel@pomegues.inria.fr> Message-ID: <4EB2EF0B.7070108@eircom.net> Hi, Is there any copula toolbox in scilab? Thanks From petterwr at gmail.com Thu Nov 3 21:31:49 2011 From: petterwr at gmail.com (Petter Wingren) Date: Thu, 3 Nov 2011 21:31:49 +0100 Subject: Spearman's rho in scilab Message-ID: Hi! I've been looking for a way to integrate my correlation analysis in scilab, which needs spearmans rho. Is there a ready-to-use package to install somewhere? Otherwise I found this: http://books.google.com/books?id=K4kMx3EWj9MC&pg=PA68&lpg=PA68&dq=spearman+scilab&source=bl&ots=KrBZp9IKya&sig=pCm0jcrnybCcwEfpMmzjmdJ_KNY&hl=en&ei=e-uyTrH3BNLQ4QTGxKTwAw&sa=X&oi=book_result&ct=result&resnum=5&ved=0CDkQ6AEwBA#v=onepage&q=spearman%20scilab&f=false How do I implement this into scilab on my own so it becomes a useable function? (if none exists already that is..) -------------- next part -------------- An HTML attachment was scrubbed... URL: From inpost at gmail.com Thu Nov 3 22:24:33 2011 From: inpost at gmail.com (e-letter) Date: Thu, 3 Nov 2011 21:24:33 +0000 Subject: [scilab-Users] use scilab with existing java In-Reply-To: References: <1320274929.5305.24.camel@pomegues.inria.fr> <1320276549.8969.8.camel@pomegues.inria.fr> Message-ID: What is copula toolbox? From serge.steer at inria.fr Thu Nov 3 22:31:42 2011 From: serge.steer at inria.fr (Serge Steer) Date: Thu, 3 Nov 2011 22:31:42 +0100 (CET) Subject: [scilab-Users] Spearman's rho in scilab In-Reply-To: Message-ID: <587313008.931948.1320355902990.JavaMail.root@zmbs3.inria.fr> ----- Mail original ----- > De: "Petter Wingren" > ?: users at lists.scilab.org > Envoy?: Jeudi 3 Novembre 2011 21:31:49 > Objet: [scilab-Users] Spearman's rho in scilab > Hi! > I've been looking for a way to integrate my correlation analysis in > scilab, which needs spearmans rho. > Is there a ready-to-use package to install somewhere? I think so, please give a look at the nan toolbox available through atoms... Serge Steer INRIA > Otherwise I found this: > http://books.google.com/books?id=K4kMx3EWj9MC&pg=PA68&lpg=PA68&dq=spearman+scilab&source=bl&ots=KrBZp9IKya&sig=pCm0jcrnybCcwEfpMmzjmdJ_KNY&hl=en&ei=e-uyTrH3BNLQ4QTGxKTwAw&sa=X&oi=book_result&ct=result&resnum=5&ved=0CDkQ6AEwBA#v=onepage&q=spearman%20scilab&f=false > How do I implement this into scilab on my own so it becomes a useable > function? (if none exists already that is..) -------------- next part -------------- An HTML attachment was scrubbed... URL: From inpost at gmail.com Fri Nov 4 00:05:30 2011 From: inpost at gmail.com (e-letter) Date: Thu, 3 Nov 2011 23:05:30 +0000 Subject: how to access xcos in scilab 412 Message-ID: Readers, Have been unable to use the latest version and so reverting to using scilab412. How to access the xcos module using this version please? From sgougeon at free.fr Fri Nov 4 00:17:32 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 04 Nov 2011 00:17:32 +0100 Subject: [scilab-Users] how to access xcos in scilab 412 In-Reply-To: References: Message-ID: <4EB3210C.4020909@free.fr> Le 04/11/2011 00:05, e-letter a ?crit : > Readers, > > Have been unable to use the latest version and so reverting to using > scilab412. How to access the xcos module using this version please? > > run scicos(); or Menu Applications => scicos -------------- next part -------------- An HTML attachment was scrubbed... URL: From inpost at gmail.com Fri Nov 4 10:42:51 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 09:42:51 +0000 Subject: scilab java Message-ID: Readers, Below are command terminal errors trying to install scilab 5 and run in opensuse: scilab /usr/bin/scilab-bin: error while loading shared libraries: libhdf5.so.6: cannot open shared object file: No such file or directory [root] # rpm -i libhdf5-0-1.8.2-2.2.i586.rpm warning: libhdf5-0-1.8.2-2.2.i586.rpm: Header V3 DSA/SHA1 Signature, key ID bd432934: NOKEY [normaluser] # scilab Warning: Could not find Java package '/usr/lib/java//jhdf5.jar'. Some problems during the loading of the Java libraries occured. This could lead to inconsistent behaviours. Please check SCI/etc/classpath.xml. Error parsing gtk-icon-sizes string: '' If scilab 5 requires java, why is it not compiled as a jar file? It is too difficult to configure. Programmers should consider that other java software would be installed before scilab. From inpost at gmail.com Fri Nov 4 10:46:28 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 09:46:28 +0000 Subject: xcos failure Message-ID: Readers, Tried to activate xcos but failure occurred: Undefined variable: Xcos if with_module("xcos") then xcos(); else disp(gettext("Please install xcos m !--error 999 xcos: Unable to load the hdf5-java (jhdf5) library. Expecting version [1, 8, 4] ; Getting version [0, 0, 0] . while executing a callback How to solve please? scilab53 openjdk16022 From sylvestre.ledru at scilab.org Fri Nov 4 10:49:20 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 04 Nov 2011 10:49:20 +0100 Subject: [scilab-Users] scilab java In-Reply-To: References: Message-ID: <1320400160.7718.10.camel@pomegues.inria.fr> Hello e-letter (?), Le vendredi 04 novembre 2011 ? 09:42 +0000, e-letter a ?crit : > Readers, > > Below are command terminal errors trying to install scilab 5 and run > in opensuse: > > scilab > /usr/bin/scilab-bin: error while loading shared libraries: > libhdf5.so.6: cannot open shared object file: No such file or > directory > [root] # rpm -i libhdf5-0-1.8.2-2.2.i586.rpm > warning: libhdf5-0-1.8.2-2.2.i586.rpm: Header V3 DSA/SHA1 Signature, > key ID bd432934: NOKEY > [normaluser] # scilab > Warning: Could not find Java package '/usr/lib/java//jhdf5.jar'. > Some problems during the loading of the Java libraries occured. > This could lead to inconsistent behaviours. > Please check SCI/etc/classpath.xml. Here, the problem is because you haven't installed java hdf5. http://www.hdfgroup.org/hdf-java-html/ > If scilab 5 requires java, why is it not compiled as a jar file? It is > too difficult to configure. Well, it requires certain skills ;) > Programmers should consider that other > java software would be installed before scilab. I don't understand your point. I am trying once more my question, why are you not using the official binary ? http://www.scilab.org/products/scilab/download it is providing an out-of-box fully functional Scilab. If you are are using the packaged version of Scilab by Opensuse and you are experiencing these issue, please report them on the opensuse bug tracker. The maintainer is usually reactive. http://en.opensuse.org/openSUSE:Submitting_bug_reports Sylvestre From sylvestre.ledru at scilab.org Fri Nov 4 10:52:31 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 04 Nov 2011 10:52:31 +0100 Subject: [scilab-Users] xcos failure In-Reply-To: References: Message-ID: <1320400351.7718.12.camel@pomegues.inria.fr> Le vendredi 04 novembre 2011 ? 09:46 +0000, e-letter a ?crit : > Readers, > > Tried to activate xcos but failure occurred: > > Undefined variable: Xcos > > > > if with_module("xcos") then xcos(); else disp(gettext("Please install xcos m > !--error 999 > xcos: Unable to load the hdf5-java (jhdf5) library. > Expecting version [1, 8, 4] ; Getting version [0, 0, 0] . > while executing a callback > > How to solve please? It is the same issue you reported in the previous email... http://mailinglists.scilab.org/scilab-java-td3479658.html Sylvestre From inpost at gmail.com Fri Nov 4 11:12:15 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 10:12:15 +0000 Subject: [scilab-Users] scilab java In-Reply-To: <1320400160.7718.10.camel@pomegues.inria.fr> References: <1320400160.7718.10.camel@pomegues.inria.fr> Message-ID: On 04/11/2011, Sylvestre Ledru wrote: >> If scilab 5 requires java, why is it not compiled as a jar file? It is >> too difficult to configure. > Well, it requires certain skills ;) > Usually, other java programs are very easy to install. For unknown reason, the official build demands that a separate version of java is installed, even if the computer already has java. Why? >> Programmers should consider that other >> java software would be installed before scilab. > I don't understand your point. > See above. As an example, installing jedit allows the user to edit the executable file to use an existing installation of java. Scilab installation does not allow this. > I am trying once more my question, why are you not using the official > binary ? To repeat, using the command 'urpmi', the installation process demanded that java is installed, even though java was installed previously to run other java programs. There does not seem to be an option to instruct scilab to use an existing installation of java. From inpost at gmail.com Fri Nov 4 11:16:11 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 10:16:11 +0000 Subject: [scilab-Users] xcos failure In-Reply-To: <1320400351.7718.12.camel@pomegues.inria.fr> References: <1320400351.7718.12.camel@pomegues.inria.fr> Message-ID: On 04/11/2011, Sylvestre Ledru wrote: > Le vendredi 04 novembre 2011 ? 09:46 +0000, e-letter a ?crit : >> Readers, >> >> Tried to activate xcos but failure occurred: >> >> Undefined variable: Xcos >> >> >> >> if with_module("xcos") then xcos(); else disp(gettext("Please install xcos >> m >> !--error 999 >> xcos: Unable to load the hdf5-java (jhdf5) library. >> Expecting version [1, 8, 4] ; Getting version [0, 0, 0] . >> while executing a callback >> >> How to solve please? > It is the same issue you reported in the previous email... > http://mailinglists.scilab.org/scilab-java-td3479658.html > jdhf5 files were installed and contains: fits-2.6.1.jar, fits.jar, jhdf5-2.6.1.jar, jhdf5.jar, jhdf5obj-2.6.1.jar, jhdf5obj.jar, jhdfobj-2.6.1.jar, jhdfobj.jar, jhdfview-2.6.1.jar, jhdfview.jar, junit-2.6.1.jar, junit.jar, netcdf-2.6.1.jar, netcdf.jar After installation and start of scilab, the following error is reported: ___________________________________________ scilab-branch-5.3 Consortium Scilab (DIGITEO) Copyright (c) 1989-2011 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment if with_module("xcos") then xcos(); else disp(gettext("Please install xcos m !--error 999 xcos: Unable to load the hdf5-java (jhdf5) library. Expecting version [1, 8, 4] ; Getting version [1, 8, 2] . while executing a callback From clement.david at scilab-enterprises.com Fri Nov 4 12:04:16 2011 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Fri, 04 Nov 2011 12:04:16 +0100 Subject: [scilab-Users] scilab java In-Reply-To: References: <1320400160.7718.10.camel@pomegues.inria.fr> Message-ID: <1320404656.2089.18.camel@work> Hello, Le vendredi 04 novembre 2011 ? 10:12 +0000, e-letter a ?crit : > On 04/11/2011, Sylvestre Ledru wrote: > >> If scilab 5 requires java, why is it not compiled as a jar file? It is > >> too difficult to configure. > > Well, it requires certain skills ;) > > > Usually, other java programs are very easy to install. For unknown > reason, the official build demands that a separate version of java is > installed, even if the computer already has java. Why? For scilab stock versions, we maintain a thirdparty repository with libs supported version. With that we can assert that using a Scilab binary version has the same dependencies for all of our supported platforms. Exemple, I use openjdk7 with new features / new bugs / many many changes. When I found a new java related bug, I can check if it is a jre7 bug or a Scilab one but reproduce it with the stock version. > >> Programmers should consider that other > >> java software would be installed before scilab. > > I don't understand your point. > > > > See above. As an example, installing jedit allows the user to edit the > executable file to use an existing installation of java. Scilab > installation does not allow this. Well jedit has a linux installer, we do not have. Average user just need to extract the binary tarball and execute bin/scilab. If you need more customization then build your own Scilab. > > I am trying once more my question, why are you not using the official > > binary ? > > To repeat, using the command 'urpmi', the installation process > demanded that java is installed, even though java was installed > previously to run other java programs. There does not seem to be an > option to instruct scilab to use an existing installation of java. It may be a scilab packaging issue, file a bug against opensuse bugzilla. -- Cl?ment David Scilab Enterprises From clement.david at scilab-enterprises.com Fri Nov 4 12:08:12 2011 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Fri, 04 Nov 2011 12:08:12 +0100 Subject: [scilab-Users] xcos failure In-Reply-To: References: <1320400351.7718.12.camel@pomegues.inria.fr> Message-ID: <1320404892.2089.23.camel@work> Hello, Important part : > xcos: Unable to load the hdf5-java (jhdf5) library. > Expecting version [1, 8, 4] ; Getting version [1, 8, 2] . Update hdf5 and jhdf5 versions as 1.8.2 has some major issues and we do not support it anymore. -- Cl?ment Le vendredi 04 novembre 2011 ? 10:16 +0000, e-letter a ?crit : > On 04/11/2011, Sylvestre Ledru wrote: > > Le vendredi 04 novembre 2011 ? 09:46 +0000, e-letter a ?crit : > >> Readers, > >> > >> Tried to activate xcos but failure occurred: > >> > >> Undefined variable: Xcos > >> > >> > >> > >> if with_module("xcos") then xcos(); else disp(gettext("Please install xcos > >> m > >> !--error 999 > >> xcos: Unable to load the hdf5-java (jhdf5) library. > >> Expecting version [1, 8, 4] ; Getting version [0, 0, 0] . > >> while executing a callback > >> > >> How to solve please? > > It is the same issue you reported in the previous email... > > http://mailinglists.scilab.org/scilab-java-td3479658.html > > > > jdhf5 files were installed and contains: > > fits-2.6.1.jar, fits.jar, jhdf5-2.6.1.jar, jhdf5.jar, > jhdf5obj-2.6.1.jar, jhdf5obj.jar, jhdfobj-2.6.1.jar, jhdfobj.jar, > jhdfview-2.6.1.jar, jhdfview.jar, junit-2.6.1.jar, junit.jar, > netcdf-2.6.1.jar, netcdf.jar > > After installation and start of scilab, the following error is reported: > > ___________________________________________ > scilab-branch-5.3 > > Consortium Scilab (DIGITEO) > Copyright (c) 1989-2011 (INRIA) > Copyright (c) 1989-2007 (ENPC) > ___________________________________________ > > > Startup execution: > loading initial environment > > if with_module("xcos") then xcos(); else disp(gettext("Please install xcos m > !--error 999 > xcos: Unable to load the hdf5-java (jhdf5) library. > Expecting version [1, 8, 4] ; Getting version [1, 8, 2] . > while executing a callback -- Cl?ment David Scilab Enterprises From inpost at gmail.com Fri Nov 4 12:51:11 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 11:51:11 +0000 Subject: [scilab-Users] scilab java In-Reply-To: <1320404656.2089.18.camel@work> References: <1320400160.7718.10.camel@pomegues.inria.fr> <1320404656.2089.18.camel@work> Message-ID: On 04/11/2011, Cl?ment David wrote: >> Usually, other java programs are very easy to install. For unknown >> reason, the official build demands that a separate version of java is >> installed, even if the computer already has java. Why? > For scilab stock versions, we maintain a thirdparty repository with libs > supported version. With that we can assert that using a Scilab binary > version has the same dependencies for all of our supported platforms. > I do not understand; it does not explain that if the demand to install _another_ java version before installing scilab is accepted I would have multiple versions of java installed. This is not logical; if every java program behaved like scilab, I would need many java installations! > Exemple, I use openjdk7 with new features / new bugs / many many > changes. When I found a new java related bug, I can check if it is a > jre7 bug or a Scilab one but reproduce it with the stock version. > I have been using ibm java for many years, no bugs founds, stable and works nicely with all my other java programs (except scilab). >> >> See above. As an example, installing jedit allows the user to edit the >> executable file to use an existing installation of java. Scilab >> installation does not allow this. > > Well jedit has a linux installer, we do not have. Average user just need > to extract the binary tarball and execute bin/scilab. If you need more > customization then build your own Scilab. > Jedit has a java installer. Is it not possible for scilab to use a cross-platform java installer? >> > I am trying once more my question, why are you not using the official >> > binary ? >> >> To repeat, using the command 'urpmi', the installation process >> demanded that java is installed, even though java was installed >> previously to run other java programs. There does not seem to be an >> option to instruct scilab to use an existing installation of java. > > It may be a scilab packaging issue, file a bug against opensuse > bugzilla. > To clarify this was experienced using another computer using mandriva. So you are stating that if the installation process demands java is installed, that if the problem with mandriva, not scilab? From inpost at gmail.com Fri Nov 4 13:36:26 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 12:36:26 +0000 Subject: [scilab-Users] xcos failure In-Reply-To: <1320404892.2089.23.camel@work> References: <1320400351.7718.12.camel@pomegues.inria.fr> <1320404892.2089.23.camel@work> Message-ID: On 04/11/2011, Cl?ment David wrote: > Hello, > > Important part : >> xcos: Unable to load the hdf5-java (jhdf5) library. >> Expecting version [1, 8, 4] ; Getting version [1, 8, 2] . > > Update hdf5 and jhdf5 versions as 1.8.2 has some major issues and we do > not support it anymore. > Command terminal errors indicate a conflict in requirements. rpm -i libhdf5-0-1.8.2-2.2.i586.rpm warning: libhdf5-0-1.8.2-2.2.i586.rpm: Header V3 DSA/SHA1 Signature, key ID bd432934: NOKEY package libhdf5-0-1.8.7-1.6.i586 (which is newer than libhdf5-0-1.8.2-2.2.i586) is already installed So version 187 was removed and installation of scilab attempted rpm -i -a scilab-5.3.1-13.7.i586.rpm error: Failed dependencies: libhdf5.so.6 is needed by scilab-5.3.1-13.7.i586 And the original xcos error occurs! The upgrade of hdf breaks dependency with earlier version. From inpost at gmail.com Fri Nov 4 13:42:57 2011 From: inpost at gmail.com (e-letter) Date: Fri, 4 Nov 2011 12:42:57 +0000 Subject: version 4 request Message-ID: Readers, Have tried to search for an old version of scilab (4) as an opensuse rpm package. Java dependency causing problems. Is there an archive somewhere please? From clement.david at scilab-enterprises.com Fri Nov 4 13:47:16 2011 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Fri, 04 Nov 2011 13:47:16 +0100 Subject: [scilab-Users] scilab java In-Reply-To: References: <1320400160.7718.10.camel@pomegues.inria.fr> <1320404656.2089.18.camel@work> Message-ID: <1320410836.2089.38.camel@work> Le vendredi 04 novembre 2011 ? 11:51 +0000, e-letter a ?crit : > On 04/11/2011, Cl?ment David wrote: > >> Usually, other java programs are very easy to install. For unknown > >> reason, the official build demands that a separate version of java is > >> installed, even if the computer already has java. Why? > > For scilab stock versions, we maintain a thirdparty repository with libs > > supported version. With that we can assert that using a Scilab binary > > version has the same dependencies for all of our supported platforms. > > > > I do not understand; it does not explain that if the demand to install > _another_ java version before installing scilab is accepted I would > have multiple versions of java installed. This is not logical; if > every java program behaved like scilab, I would need many java > installations! Well, binary version *IS* binary version. We consider the JVM as mandatory for this binary version so we provide it. Your remark also apply to blas / lapack implementation. We ship the original implementation, which is far less performant than more modern ones (ATLAS, GOTOBlas, MKL) *BUT* if someone wants better performance, then compile a specific scilab version with specific dependencies. This is package maintainer job (distro responsibility) to provide this version not upstream one. > > Exemple, I use openjdk7 with new features / new bugs / many many > > changes. When I found a new java related bug, I can check if it is a > > jre7 bug or a Scilab one but reproduce it with the stock version. > > > > I have been using ibm java for many years, no bugs founds, stable and > works nicely with all my other java programs (except scilab). > > >> > >> See above. As an example, installing jedit allows the user to edit the > >> executable file to use an existing installation of java. Scilab > >> installation does not allow this. > > > > Well jedit has a linux installer, we do not have. Average user just need > > to extract the binary tarball and execute bin/scilab. If you need more > > customization then build your own Scilab. > > > > Jedit has a java installer. Is it not possible for scilab to use a > cross-platform java installer? > > >> > I am trying once more my question, why are you not using the official > >> > binary ? > >> > >> To repeat, using the command 'urpmi', the installation process > >> demanded that java is installed, even though java was installed > >> previously to run other java programs. There does not seem to be an > >> option to instruct scilab to use an existing installation of java. > > > > It may be a scilab packaging issue, file a bug against opensuse > > bugzilla. > > > > To clarify this was experienced using another computer using mandriva. > So you are stating that if the installation process demands java is > installed, that if the problem with mandriva, not scilab? We guarantee software useability on the binary version. If you install something with a package manager, fill any bug on distro bugzilla. If you are able to reproduce on binary version, fill a bug on scilab BZ. -- Cl?ment David Scilab Enterprises From iai at axelspace.com Mon Nov 7 02:43:17 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Mon, 07 Nov 2011 10:43:17 +0900 Subject: Using a cell entry to access part of a matrix Message-ID: <4EB737B5.9050407@axelspace.com> Hi, Could anyone tell me if, in the codes below, there is any way to make "y(II(1))" work without error, just like "y(ii)"? I wanted to access a part of a matrix by using an entry of a cell. I think it is a pretty intuitive way of using a cell. //-------------------------- y=[100:110] ii=[1 3 5 7]; jj=[2 4 6 8]; y(ii) // OK. This is an ordinary way. II=cell(2,1); II.entries(1)=ii; II.entries(2)=jj; II(1) y(II(1)) // <-- ERROR y(II.entries(1)) // OK. But not as concise as I see the benefit of using cells. //-------------------------- Thanks, Iai From vogt at centre-cired.fr Mon Nov 7 09:15:18 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 07 Nov 2011 09:15:18 +0100 Subject: [scilab-Users] Using a cell entry to access part of a matrix In-Reply-To: <4EB737B5.9050407@axelspace.com> References: <4EB737B5.9050407@axelspace.com> Message-ID: <4EB79396.9060604@centre-cired.fr> Hi why don't you just y(ii(1)) ? On 07/11/2011 02:43, Iai Masafumi ax wrote: > Hi, > > Could anyone tell me if, in the codes below, there is any way to make > "y(II(1))" work without error, just like "y(ii)"? I wanted to access a > part of a matrix by using an entry of a cell. I think it is a pretty > intuitive way of using a cell. > > //-------------------------- > y=[100:110] > ii=[1 3 5 7]; > jj=[2 4 6 8]; > y(ii) // OK. This is an ordinary way. > > II=cell(2,1); > II.entries(1)=ii; > II.entries(2)=jj; > > II(1) > y(II(1)) // <-- ERROR > > y(II.entries(1)) // OK. But not as concise as I see the benefit of using > cells. > //-------------------------- > > > > Thanks, > Iai -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From fweiss at ac-toulouse.fr Mon Nov 7 09:46:21 2011 From: fweiss at ac-toulouse.fr (Francois WEISS) Date: Mon, 7 Nov 2011 09:46:21 +0100 Subject: tool-box for control design specific for CPGE ? References: <4EB737B5.9050407@axelspace.com> <4EB79396.9060604@centre-cired.fr> Message-ID: <2C0E21BA5A784890A462BA3B95AE5890@weiss7ec94d186> Hello, I heard about a specific tool-box for control design with Scilab-xcos developped for "classes preparatoires aux grandes ecoles". Could someone tell me more about that ? Thanks. Francois WEISS ----- Original Message ----- From: Adrien Vogt-Schilb To: users at lists.scilab.org Sent: Monday, November 07, 2011 9:15 AM Subject: Re: [scilab-Users] Using a cell entry to access part of a matrix Hi why don't you just y(ii(1)) ? On 07/11/2011 02:43, Iai Masafumi ax wrote: Hi, Could anyone tell me if, in the codes below, there is any way to make "y(II(1))" work without error, just like "y(ii)"? I wanted to access a part of a matrix by using an entry of a cell. I think it is a pretty intuitive way of using a cell. //-------------------------- y=[100:110] ii=[1 3 5 7]; jj=[2 4 6 8]; y(ii) // OK. This is an ordinary way. II=cell(2,1); II.entries(1)=ii; II.entries(2)=jj; II(1) y(II(1)) // <-- ERROR y(II.entries(1)) // OK. But not as concise as I see the benefit of using cells. //-------------------------- Thanks, Iai -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 73 77 -------------- next part -------------- An HTML attachment was scrubbed... URL: From iai at axelspace.com Mon Nov 7 23:19:19 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Tue, 08 Nov 2011 07:19:19 +0900 Subject: [scilab-Users] Using a cell entry to access part of a matrix In-Reply-To: <4EB79396.9060604@centre-cired.fr> References: <4EB737B5.9050407@axelspace.com> <4EB79396.9060604@centre-cired.fr> Message-ID: <4EB85967.4060004@axelspace.com> Thanks for your reply. I wanted to use a cell array to manage a lot of variable in my code which is more complicated. I guess I have to put my question in a different way: After running the code below, type(II(1)) returns 17 while type(ii) returns 1. According to the help, 1 means "real or complex constant matrix". 17 means "matrix oriented typed list (mlist)". How do I convert II(1) into a "real or complex constant matrix"? I expected II(1) would return a matrix essentially identical as ii because I stored ii into the first entry of a cell array, II, by letting II.entries(1)=ii. But obviously what I expected was not the case. (2011/11/07 17:15), Adrien Vogt-Schilb wrote: > Hi > > why don't you just > > y(ii(1)) ? > > > On 07/11/2011 02:43, Iai Masafumi ax wrote: >> Hi, >> >> Could anyone tell me if, in the codes below, there is any way to make >> "y(II(1))" work without error, just like "y(ii)"? I wanted to access a >> part of a matrix by using an entry of a cell. I think it is a pretty >> intuitive way of using a cell. >> >> //-------------------------- >> y=[100:110] >> ii=[1 3 5 7]; >> jj=[2 4 6 8]; >> y(ii) // OK. This is an ordinary way. >> >> II=cell(2,1); >> II.entries(1)=ii; >> II.entries(2)=jj; >> >> II(1) >> y(II(1)) //<-- ERROR >> >> y(II.entries(1)) // OK. But not as concise as I see the benefit of using >> cells. >> //-------------------------- >> >> >> >> Thanks, >> Iai > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* From vogt at centre-cired.fr Mon Nov 7 23:31:55 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 07 Nov 2011 23:31:55 +0100 Subject: [scilab-Users] Using a cell entry to access part of a matrix In-Reply-To: <4EB85967.4060004@axelspace.com> References: <4EB737B5.9050407@axelspace.com> <4EB79396.9060604@centre-cired.fr> <4EB85967.4060004@axelspace.com> Message-ID: <4EB85C5B.2010701@centre-cired.fr> On 07/11/2011 23:19, Iai Masafumi ax wrote: > Thanks for your reply. I wanted to use a cell array to manage a lot of > variable in my code which is more complicated. > > I guess I have to put my question in a different way: > > After running the code below, type(II(1)) returns 17 while type(ii) > returns 1. According to the help, 1 means "real or complex constant > matrix". 17 means "matrix oriented typed list (mlist)". How do I convert > II(1) into a "real or complex constant matrix"? > hi you could use : m=cell2mat(II) //converts cell to matrix, what you asked. m(1,:) if you build yourself the cell, i am guessing you are trying to mimic something you are used to do with matlab in that case, consider: 1-using structures instead of cells y=[100:110] ii=[1 3 5 7]; jj=[2 4 6 8]; y(ii) // OK. This is an ordinary way. //build II.actual_name_i=ii; II.myindexes=jj; //access y(II("myindexes ")) y(II.actual_name_i ) //useful for loops fieldnames(II) 2-using hypermatrices if ii and jj will always have the same size II = zeros(1,4,2) II(:,:,1) = ii; II(:,:,2) = jj; y(II(:,:,1)) hope this helps -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Mon Nov 7 23:43:12 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 07 Nov 2011 23:43:12 +0100 Subject: [scilab-Users] Using a cell entry to access part of a matrix In-Reply-To: <4EB85C5B.2010701@centre-cired.fr> References: <4EB737B5.9050407@axelspace.com> <4EB79396.9060604@centre-cired.fr> <4EB85967.4060004@axelspace.com> <4EB85C5B.2010701@centre-cired.fr> Message-ID: <4EB85F00.2000603@centre-cired.fr> Iai, y(cell2mat(II(1))) should be what you are looking for (in the previous mail m was unnecessary) On 07/11/2011 23:31, Adrien Vogt-Schilb wrote: > On 07/11/2011 23:19, Iai Masafumi ax wrote: >> Thanks for your reply. I wanted to use a cell array to manage a lot of >> variable in my code which is more complicated. >> >> I guess I have to put my question in a different way: >> >> After running the code below, type(II(1)) returns 17 while type(ii) >> returns 1. According to the help, 1 means "real or complex constant >> matrix". 17 means "matrix oriented typed list (mlist)". How do I convert >> II(1) into a "real or complex constant matrix"? >> > hi > > you could use : > > m=cell2mat(II) //converts cell to matrix, what you asked. > m(1,:) > > > > if you build yourself the cell, i am guessing you are trying to mimic > something you are used to do with matlab > in that case, consider: > > 1-using structures instead of cells > y=[100:110] > ii=[1 3 5 7]; > jj=[2 4 6 8]; > y(ii) // OK. This is an ordinary way. > > //build > II.actual_name_i=ii; > II.myindexes=jj; > //access > y(II("myindexes ")) > y(II.actual_name_i ) > > //useful for loops > fieldnames(II) > > 2-using hypermatrices if ii and jj will always have the same size > II = zeros(1,4,2) > II(:,:,1) = ii; > II(:,:,2) = jj; > > y(II(:,:,1)) > > > hope this helps > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From iai at axelspace.com Mon Nov 7 23:52:33 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Tue, 08 Nov 2011 07:52:33 +0900 Subject: [scilab-Users] Using a cell entry to access part of a matrix In-Reply-To: <4EB85F00.2000603@centre-cired.fr> References: <4EB737B5.9050407@axelspace.com> <4EB79396.9060604@centre-cired.fr> <4EB85967.4060004@axelspace.com> <4EB85C5B.2010701@centre-cired.fr> <4EB85F00.2000603@centre-cired.fr> Message-ID: <4EB86131.9070104@axelspace.com> Thank you, Adrien. You are exactly right. I was trying to do what I used to do with Matlab. The code you gave me helps a lot! Iai (2011/11/08 7:43), Adrien Vogt-Schilb wrote: > Iai, > > y(cell2mat(II(1))) > > should be what you are looking for > (in the previous mail m was unnecessary) > > On 07/11/2011 23:31, Adrien Vogt-Schilb wrote: >> On 07/11/2011 23:19, Iai Masafumi ax wrote: >>> Thanks for your reply. I wanted to use a cell array to manage a lot of >>> variable in my code which is more complicated. >>> >>> I guess I have to put my question in a different way: >>> >>> After running the code below, type(II(1)) returns 17 while type(ii) >>> returns 1. According to the help, 1 means "real or complex constant >>> matrix". 17 means "matrix oriented typed list (mlist)". How do I convert >>> II(1) into a "real or complex constant matrix"? >>> >> hi >> >> you could use : >> >> m=cell2mat(II) //converts cell to matrix, what you asked. >> m(1,:) >> >> >> >> if you build yourself the cell, i am guessing you are trying to mimic >> something you are used to do with matlab >> in that case, consider: >> >> 1-using structures instead of cells >> y=[100:110] >> ii=[1 3 5 7]; >> jj=[2 4 6 8]; >> y(ii) // OK. This is an ordinary way. >> >> //build >> II.actual_name_i=ii; >> II.myindexes=jj; >> //access >> y(II("myindexes ")) >> y(II.actual_name_i ) >> >> //useful for loops >> fieldnames(II) >> >> 2-using hypermatrices if ii and jj will always have the same size >> II = zeros(1,4,2) >> II(:,:,1) = ii; >> II(:,:,2) = jj; >> >> y(II(:,:,1)) >> >> >> hope this helps >> >> -- >> Adrien Vogt-Schilb (Cired) >> Tel: (+33) 1 43 94 *73 77* > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* From d.blanc at pellenc.com Tue Nov 8 17:05:01 2011 From: d.blanc at pellenc.com (BLANC, David) Date: Tue, 8 Nov 2011 17:05:01 +0100 Subject: XCPL module installation pb Message-ID: <83CAC82FA210B946B4AB5E13D739951503AD5813@durance.intranet.pellenc.com> Dear all, I am trying to install the XCPL module and I have the following error: -->exec('XCPL_Load.sce', -1); export_to_hdf5(path_load_file + "xcpl_BLDC.h5", "scs_m"); !--error 999 export_to_hdf5: Cannot open file C:\XCPL\intf\xcpl_BLDC.h5. at line 13 of exec file called by : exec('XCPL_Load.sce', -1); at line 8 of exec file called by : exec RunFirst.sce Do you you have any idea how to fix it please? Best regards, David Blanc -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Tue Nov 8 18:39:06 2011 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 8 Nov 2011 18:39:06 +0100 Subject: [scilab-Users] XCPL module installation pb In-Reply-To: <83CAC82FA210B946B4AB5E13D739951503AD5813@durance.intranet.pellenc.com> References: <83CAC82FA210B946B4AB5E13D739951503AD5813@durance.intranet.pellenc.com> Message-ID: <000601cc9e3d$508292f0$f187b8d0$@scilab.org> Hi, Where can we download XCPL module ? http://fileexchange.scilab.org/toolboxes/163000 ? It is not a valid ATOMS module. Please contact the main author Thanks Allan CORNET De : BLANC, David [mailto:d.blanc at pellenc.com] Envoy? : mardi 8 novembre 2011 17:05 ? : users at lists.scilab.org Objet : [scilab-Users] XCPL module installation pb Dear all, I am trying to install the XCPL module and I have the following error: -->exec('XCPL_Load.sce', -1); export_to_hdf5(path_load_file + "xcpl_BLDC.h5", "scs_m"); !--error 999 export_to_hdf5: Cannot open file C:\XCPL\intf\xcpl_BLDC.h5. at line 13 of exec file called by : exec('XCPL_Load.sce', -1); at line 8 of exec file called by : exec RunFirst.sce Do you you have any idea how to fix it please? Best regards, David Blanc -------------- next part -------------- An HTML attachment was scrubbed... URL: From bm.abhilash01 at gmail.com Tue Nov 8 17:50:18 2011 From: bm.abhilash01 at gmail.com (Abhilash BM) Date: Tue, 8 Nov 2011 22:20:18 +0530 Subject: Need help in Scilab. Message-ID: hi, i'm one of user of scilab. i need the instructions( descriptions and commands) to plot graphs of: 1) A straight line 2) a circle of unit radius 3) a vector between 2 points 4) plotting a sphere. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Nov 8 22:08:01 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 08 Nov 2011 22:08:01 +0100 Subject: [scilab-Users] Need help in Scilab. In-Reply-To: References: Message-ID: <4EB99A31.5040203@free.fr> Le 08/11/2011 17:50, Abhilash BM a ?crit : > hi, i'm one of user of scilab. > > i need the instructions( descriptions and commands) to plot graphs of: > 1) A straight line > 2) a circle of unit radius > 3) a vector between 2 points > 4) plotting a sphere. > > Yes, it's a nice exercise ;) You may have a look at plot() or plot2d(), xarc(), xarrows(), plot3d(), and above all at the demos : menu ? => Demos : Menu 1 : Graphics, then browse the examples and look at the code. Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From rouxph.22 at gmail.com Tue Nov 8 23:31:14 2011 From: rouxph.22 at gmail.com (philippe) Date: Tue, 08 Nov 2011 23:31:14 +0100 Subject: Need help in Scilab. In-Reply-To: References: Message-ID: Hi, Le 08/11/2011 17:50, Abhilash BM a ?crit : > hi, i'm one of user of scilab. > > i need the instructions( descriptions and commands) to plot graphs of: have a look to http://perso.univ-rennes1.fr/philippe.roux/scilab/graphiques/fiche_graphiques.html > 1) A straight line plot2d() http://perso.univ-rennes1.fr/philippe.roux/scilab/graphiques/fiche_graphiques.html#x1-60002 > 2) a circle of unit radius plot2d() http://perso.univ-rennes1.fr/philippe.roux/scilab/graphiques/fiche_graphiques.html#x1-60002 or xarc() http://perso.univ-rennes1.fr/philippe.roux/scilab/graphiques/fiche_graphiques.html#x1-110003.2 > 3) a vector between 2 points xsegs() http://perso.univ-rennes1.fr/philippe.roux/scilab/graphiques/fiche_graphiques.html#x1-130003.4 > 4) plotting a sphere. plot3d() http://perso.univ-rennes1.fr/philippe.roux/scilab/graphiques/fiche_graphiques.html#x1-80002.2 Philippe. From sgougeon at free.fr Wed Nov 9 00:01:06 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 09 Nov 2011 00:01:06 +0100 Subject: Scilab 6 from a Scilab 5 user's point of view Message-ID: <4EB9B4B2.5060306@free.fr> Hello, The talk given by Scilab team leaders during the last ScilabTec : Scilab 6 from a Scilab 5 user's point of view http://www.scilab.org/content/download/2379/24494/file/ScilabTEC2011_WorkshopScilab6.pdf is a full bunch of good news for forthcoming features & performances. As many scilabers, i couldn't attend the talk, but reading the very interesting PDF brings me to some questions. In pages 13 & 14 : What you may wonder from Scilab 6 as a user / a developper, i do not see anything about the debugger. This component is certainly among those that the come back would be very appreciated. What about it? About the select loop (page 21): None of the examples use grouped cases. Is this wish abandonned? Thank you for your attention Samuel Gougeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Wed Nov 9 00:04:57 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 09 Nov 2011 00:04:57 +0100 Subject: [scilab-Users] Scilab 6 from a Scilab 5 user's point of view In-Reply-To: <4EB9B4B2.5060306@free.fr> References: <4EB9B4B2.5060306@free.fr> Message-ID: <1320793497.7312.11.camel@pomegues.inria.fr> Le mercredi 09 novembre 2011 ? 00:01 +0100, Samuel Gougeon a ?crit : > Hello, > > The talk given by Scilab team leaders during the last ScilabTec : > Scilab 6 from a Scilab 5 user's point of view > http://www.scilab.org/content/download/2379/24494/file/ScilabTEC2011_WorkshopScilab6.pdf > is a full bunch of good news for forthcoming features & performances. > As many scilabers, i couldn't attend the talk, but reading the very > interesting PDF brings me to > some questions. > > In pages 13 & 14 : What you may wonder from Scilab 6 as a user / a > developper, > i do not see anything about the debugger. This component is certainly > among > those that the come back would be very appreciated. What about it? We will indeed propose a debugger in the future (we already have a prototype). Under which form and/or in which specific version it will be published have not been decided. Sylvestre From frank at photonita.com.br Wed Nov 9 13:12:45 2011 From: frank at photonita.com.br (Frank Hrebabetzky) Date: Wed, 09 Nov 2011 10:12:45 -0200 Subject: [scilab-Users] Scilab 6 from a Scilab 5 user's point of view In-Reply-To: <4EB9B4B2.5060306@free.fr> References: <4EB9B4B2.5060306@free.fr> Message-ID: <4EBA6E3D.8040106@photonita.com.br> I didn't see any comment about support of CPUs without CPU instruction SSE2, which was dropped in Scilab 6. Is this temporary or definitive? -- Frank Hrebabetzky Tel. (48) 3239 2258 Photonita Ltda. http://www.photonita.com.br Brazil From antoine.monmayrant at laas.fr Wed Nov 9 13:31:00 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 09 Nov 2011 13:31:00 +0100 Subject: [scilab-Users] Scilab 6 from a Scilab 5 user's point of view In-Reply-To: <1320793497.7312.11.camel@pomegues.inria.fr> References: <4EB9B4B2.5060306@free.fr> <1320793497.7312.11.camel@pomegues.inria.fr> Message-ID: <4EBA7284.7060809@laas.fr> Le 09/11/2011 00:04, Sylvestre Ledru a ?crit : > Le mercredi 09 novembre 2011 ? 00:01 +0100, Samuel Gougeon a ?crit : >> Hello, >> >> The talk given by Scilab team leaders during the last ScilabTec : >> Scilab 6 from a Scilab 5 user's point of view >> http://www.scilab.org/content/download/2379/24494/file/ScilabTEC2011_WorkshopScilab6.pdf >> is a full bunch of good news for forthcoming features& performances. >> As many scilabers, i couldn't attend the talk, but reading the very >> interesting PDF brings me to >> some questions. >> >> In pages 13& 14 : What you may wonder from Scilab 6 as a user / a >> developper, >> i do not see anything about the debugger. This component is certainly >> among >> those that the come back would be very appreciated. What about it? > We will indeed propose a debugger in the future (we already have a > prototype). > Under which form and/or in which specific version it will be published > have not been decided. Sorry to hijack the discussion, but I had a look at the pdf and could not understand exactly how things are evolving concerning the prefered/easier way to link to a c library. For the moment, I use ilib_for_link/call but it is far from convenient. Any change on this side? Antoine > Sylvestre > > > From sylvestre.ledru at scilab.org Wed Nov 9 14:44:51 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 09 Nov 2011 14:44:51 +0100 Subject: [scilab-Users] Scilab 6 from a Scilab 5 user's point of view In-Reply-To: <4EBA7284.7060809@laas.fr> References: <4EB9B4B2.5060306@free.fr> <1320793497.7312.11.camel@pomegues.inria.fr> <4EBA7284.7060809@laas.fr> Message-ID: <1320846291.18385.18.camel@pomegues.inria.fr> Le mercredi 09 novembre 2011 ? 13:31 +0100, Antoine Monmayrant a ?crit : > Le 09/11/2011 00:04, Sylvestre Ledru a ?crit : > > Le mercredi 09 novembre 2011 ? 00:01 +0100, Samuel Gougeon a ?crit : > >> Hello, > >> > >> The talk given by Scilab team leaders during the last ScilabTec : > >> Scilab 6 from a Scilab 5 user's point of view > >> http://www.scilab.org/content/download/2379/24494/file/ScilabTEC2011_WorkshopScilab6.pdf > >> is a full bunch of good news for forthcoming features& performances. > >> As many scilabers, i couldn't attend the talk, but reading the very > >> interesting PDF brings me to > >> some questions. > >> > >> In pages 13& 14 : What you may wonder from Scilab 6 as a user / a > >> developper, > >> i do not see anything about the debugger. This component is certainly > >> among > >> those that the come back would be very appreciated. What about it? > > We will indeed propose a debugger in the future (we already have a > > prototype). > > Under which form and/or in which specific version it will be published > > have not been decided. > Sorry to hijack the discussion, but I had a look at the pdf and could > not understand exactly how things are evolving concerning the > prefered/easier way to link to a c library. > For the moment, I use ilib_for_link/call but it is far from convenient. > Any change on this side? If based on API_Scilab, the compatibility will be straightforward. Our main objective with Scilab 6 is the compatibility, therefor, you will find ilib_for_link/call in this version. However, we agree that "call" is a pain to use. It is why we are thinking about implementing a similar thing as ctypes from the Python world: http://docs.python.org/library/ctypes.html but since the priority is on Scilab 6 itself, I cannot promise a target release. Sylvestre From tony.persson at perstorp.com Wed Nov 9 16:37:24 2011 From: tony.persson at perstorp.com (septpprt) Date: Wed, 9 Nov 2011 07:37:24 -0800 (PST) Subject: Scidb error at sql connection Message-ID: <1320853044397-3493870.post@n3.nabble.com> I've recently installed SciLab and wanted to use it for importing data from an ODBC server. I've installed the toolbox Scidb but it does not seem to work at my computer. When I run th DbQuery demo i get the following message: conn = struct ("provider", "QSQLITE", "database", "C:\PROJEC~1\MatLab\SCIDB_~1.WIN\scidb_0.1\demos\addressbook") Connecting to a database: DbConnect(conn) resultHandler = DbQuery("SELECT * FROM addressbook") Warning !!! Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION) with "scidb" function. Save your data and restart Scilab. DbDisconnect() Anyone who has an idea what the problem is? //TP -- View this message in context: http://mailinglists.scilab.org/Scidb-error-at-sql-connection-tp3493870p3493870.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From saikiran.bonthu at gmail.com Thu Nov 10 06:16:08 2011 From: saikiran.bonthu at gmail.com (sai kiran) Date: Thu, 10 Nov 2011 10:46:08 +0530 Subject: what is the advantage of scilab compared to matlab Message-ID: Hi Scilab, Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I attended an interview. They put up a question that why you shifted to scilab from matlab. I simply told them that scilab is open source and matlab is closed source. They told that is not the right answer and hence i am not selected in the interview. So please could u guys tell me, what are other major advantages of scilab over matlab. Thanks and Regards, Saikiran IIT Kanpur -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Thu Nov 10 08:42:16 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 10 Nov 2011 08:42:16 +0100 Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: <4EBB8058.1080009@laas.fr> Le 10/11/2011 06:16, sai kiran a ?crit : > Hi Scilab, > > Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I > attended an interview. They put up a question that why you shifted to > scilab from matlab. > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. > So please could u guys tell me, what are other major advantages of scilab > over matlab. > > Thanks and Regards, > Saikiran > IIT Kanpur > Well in terms of quality/price ratio, scilab beats matlab easily ;-) ! Antoine From manjusha.joshi at gmail.com Thu Nov 10 09:51:16 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Thu, 10 Nov 2011 14:21:16 +0530 Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: Hello Saikiran, Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I > attended an interview. They put up a question that why you shifted to > scilab from matlab. > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. > So please could u guys tell me, what are other major advantages of scilab > over matlab. > > Thanks and Regards, > Saikiran > IIT Kanpur > Since Scilab is open source software, one can use the source code and modify it accordingly requirement of the project or research for personal use or commercial use. People can contribute toolboxes to Scilab, that way Scilab is growing like anything. However, the people who do not have idea about openness of the Open source software may not appreciate it! It is good to have job with Open minded people instead! ;-) -- Manjusha S. Joshi Pune | India blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sumit.adhikari at gmail.com Thu Nov 10 10:01:25 2011 From: sumit.adhikari at gmail.com (Sumit Adhikari) Date: Thu, 10 Nov 2011 10:01:25 +0100 Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: You gave the correct answer on a broader perspective! On Thu, Nov 10, 2011 at 6:16 AM, sai kiran wrote: > Hi Scilab, > > Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I > attended an interview. They put up a question that why you shifted to > scilab from matlab. > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. > So please could u guys tell me, what are other major advantages of scilab > over matlab. > > Thanks and Regards, > Saikiran > IIT Kanpur > -- Sumit Adhikari, Institute of Computer Technology, Faculty of Electrical Engineering, Vienna University of Technology, Gu?hausstra?e 27-29,1040 Vienna -------------- next part -------------- An HTML attachment was scrubbed... URL: From petterwr at gmail.com Thu Nov 10 10:22:58 2011 From: petterwr at gmail.com (Petter Wingren) Date: Thu, 10 Nov 2011 10:22:58 +0100 Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: On Thu, Nov 10, 2011 at 6:16 AM, sai kiran wrote: > Hi Scilab, > > Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I > attended an interview. They put up a question that why you shifted to > scilab from matlab. > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. > So please could u guys tell me, what are other major advantages of scilab > over matlab. > The transparence of how data is calculated,limitless customisation options and the price are the main advantages of opensource imo. Personally I'm using scilab to make a prototype of my project before we port it to python and c-applications. -------------- next part -------------- An HTML attachment was scrubbed... URL: From inpost at gmail.com Thu Nov 10 10:40:40 2011 From: inpost at gmail.com (e-letter) Date: Thu, 10 Nov 2011 09:40:40 +0000 Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: On 10/11/2011, sai kiran wrote: > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. Curious to know: what was the right answer that they wanted. Perhaps you could ask the interviewer, add the type of responses that have published here. Maybe they will reconsider their mistake...:) From tpaysen at sbcglobal.net Thu Nov 10 20:19:59 2011 From: tpaysen at sbcglobal.net (Tim Paysen) Date: Thu, 10 Nov 2011 11:19:59 -0800 (PST) Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: References: Message-ID: <1320952799.83731.YahooMailRC@web80203.mail.mud.yahoo.com> Not only is the obvious advantage of being open-source a big plus, but it also has the power to be improved by individual users as necessiy arises; its structure is completely transparent to the user.? It is also easier?to use in many respects--for example, you can program a function right into an immediate application--no need to store the?function, and call it up seperately (this also provides a way to 'tweak' the function to meet specific programatic needs).? AND--updates are freely available (the open source nature can not be ignored) TP ________________________________ From: sai kiran To: users at lists.scilab.org Sent: Wed, November 9, 2011 9:16:08 PM Subject: [scilab-Users] what is the advantage of scilab compared to matlab Hi Scilab, Myself Saikiran, a research scholar, IIT Kanpur, India.?Last week I attended an interview. They put up a question that why you shifted to scilab from matlab. I simply told them that scilab is open source and matlab is closed source. They told that is not the right answer and hence i am not selected in the interview. So please could u guys tell me, what are other major advantages of scilab over matlab. Thanks and Regards, Saikiran IIT Kanpur -------------- next part -------------- An HTML attachment was scrubbed... URL: From hinow at uwm.edu Thu Nov 10 20:27:00 2011 From: hinow at uwm.edu (Peter Hinow) Date: Thu, 10 Nov 2011 13:27:00 -0600 (CST) Subject: annotation of 3d plots Message-ID: <129515754.218253.1320953220711.JavaMail.root@mail09.pantherlink.uwm.edu> Deat all, it would be nice to have a function xstring3d(x,y,z,s) similar to what xstring does in 2d. It's possible to use xstring on a 3d graph, but there x and y have other meanings, so it's quite a pain. Thank you for your attention, Peter -- Peter Hinow, PhD Department of Mathematical Sciences University of Wisconsin - Milwaukee P.O. Box 413 Milwaukee, WI 53201-0413 USA phone: ++1 414 229 4933 https://pantherfile.uwm.edu/hinow/www/ From p_ledoux at yahoo.com.br Fri Nov 11 01:39:48 2011 From: p_ledoux at yahoo.com.br (Pedro Ledoux) Date: Thu, 10 Nov 2011 16:39:48 -0800 (PST) Subject: [scilab-Users] what is the advantage of scilab compared to matlab In-Reply-To: <4EBB8058.1080009@laas.fr> References: <4EBB8058.1080009@laas.fr> Message-ID: <1320971988.87607.YahooMailNeo@web120528.mail.ne1.yahoo.com> WHen I woeked with project of filtering circuits one very interesting advantage I found in scilab was in the manipulation of polynomials in theis transfer function. Look that s=poly(0,'s') n=s-1 d=s^2+2*s+5 h=n/d In filtering projects, is possible to project any filter from a low pass one transforming the variable in the polinomial. Look that w=poly(0,'w') s=2/w? ?now type again n=s-1 d=s^2+2*s+5 h=n/d Voila! The transformed transfer function ________________________________ De: Antoine Monmayrant Para: users at lists.scilab.org Enviadas: Quinta-feira, 10 de Novembro de 2011 5:42 Assunto: Re: [scilab-Users] what is the advantage of scilab compared to matlab Le 10/11/2011 06:16, sai kiran a ?crit : > Hi Scilab, > > Myself Saikiran, a research scholar, IIT Kanpur, India. Last week I > attended an interview. They put up a question that why you shifted to > scilab from matlab. > I simply told them that scilab is open source and matlab is closed source. > They told that is not the right answer and hence i am not selected in the > interview. > So please could u guys tell me, what are other major advantages of scilab > over matlab. > > Thanks and Regards, > Saikiran > IIT Kanpur > Well in terms of quality/price ratio, scilab beats matlab easily ;-) ! Antoine -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Fri Nov 11 19:14:10 2011 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 11 Nov 2011 19:14:10 +0100 Subject: [scilab-Users] annotation of 3d plots In-Reply-To: <129515754.218253.1320953220711.JavaMail.root@mail09.pantherlink.uwm.edu> References: <129515754.218253.1320953220711.JavaMail.root@mail09.pantherlink.uwm.edu> Message-ID: <4EBD65F2.2030005@inria.fr> Le 10/11/2011 20:27, Peter Hinow a ?crit : > Deat all, > it would be nice to have a function xstring3d(x,y,z,s) similar to what xstring does in 2d. It's possible to use xstring on a 3d graph, but there x and y have other meanings, so it's quite a pain. > Thank you for your attention, > Peter > Please it find below Serge Steer, INRIA function xstring3d(x,y,z,s) xstring(x,y,s) e=gce() e.data(3)=z endfunction From hinow at uwm.edu Fri Nov 11 19:20:31 2011 From: hinow at uwm.edu (Peter Hinow) Date: Fri, 11 Nov 2011 12:20:31 -0600 (CST) Subject: [scilab-Users] annotation of 3d plots In-Reply-To: <4EBD65F2.2030005@inria.fr> Message-ID: <2012212271.230938.1321035631107.JavaMail.root@mail09.pantherlink.uwm.edu> thank you, Serge! ----- Original Message ----- From: "Serge Steer" To: users at lists.scilab.org Sent: Friday, November 11, 2011 12:14:10 PM Subject: Re: [scilab-Users] annotation of 3d plots Le 10/11/2011 20:27, Peter Hinow a ?crit : > Deat all, > it would be nice to have a function xstring3d(x,y,z,s) similar to what xstring does in 2d. It's possible to use xstring on a 3d graph, but there x and y have other meanings, so it's quite a pain. > Thank you for your attention, > Peter > Please it find below Serge Steer, INRIA function xstring3d(x,y,z,s) xstring(x,y,s) e=gce() e.data(3)=z endfunction -- Peter Hinow, PhD Department of Mathematical Sciences University of Wisconsin - Milwaukee P.O. Box 413 Milwaukee, WI 53201-0413 USA phone: ++1 414 229 4933 https://pantherfile.uwm.edu/hinow/www/ From gunter.zielke at t-online.de Sun Nov 13 11:46:30 2011 From: gunter.zielke at t-online.de (Gunter Zielke) Date: Sun, 13 Nov 2011 11:46:30 +0100 Subject: Android Message-ID: Hello, Is there a version for android available? Or do you plan this version in near future? Regards Gunter from Germany From romain.reuillon at iscpif.fr Mon Nov 14 12:01:42 2011 From: romain.reuillon at iscpif.fr (Romain) Date: Mon, 14 Nov 2011 12:01:42 +0100 Subject: Batch mode Message-ID: <4EC0F516.1050205@iscpif.fr> Hi guys, I work on a software for distributed executions of simulation models (www.openmole.org). Some of our users are using scilab. In order to execute scilab on a computing grid we need to execute it in batch mode. I have tryed the option "-nw -nogui" and "-nwi" however when an error occurs durring the execution of the scilab script, scilab doesn't stop and is waiting for the user to react. Is there anyway of switching to a real batch mode where no interaction is ever requiered? Cheers, Romain Reuillon -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3879 bytes Desc: Signature cryptographique S/MIME URL: From vogt at centre-cired.fr Mon Nov 14 12:03:30 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 14 Nov 2011 12:03:30 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0F516.1050205@iscpif.fr> References: <4EC0F516.1050205@iscpif.fr> Message-ID: <4EC0F582.6000307@centre-cired.fr> Hi Do you have some command line prompting for user input, like "input" ? On 14/11/2011 12:01, Romain wrote: > Hi guys, > > I work on a software for distributed executions of simulation models > (www.openmole.org). Some of our users are using scilab. In order to > execute scilab on a computing grid we need to execute it in batch > mode. I have tryed the option "-nw -nogui" and "-nwi" however when an > error occurs durring the execution of the scilab script, scilab > doesn't stop and is waiting for the user to react. Is there anyway of > switching to a real batch mode where no interaction is ever requiered? > > Cheers, > Romain Reuillon > -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From romain.reuillon at iscpif.fr Mon Nov 14 12:08:22 2011 From: romain.reuillon at iscpif.fr (Romain) Date: Mon, 14 Nov 2011 12:08:22 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0F582.6000307@centre-cired.fr> References: <4EC0F516.1050205@iscpif.fr> <4EC0F582.6000307@centre-cired.fr> Message-ID: <4EC0F6A6.8080204@iscpif.fr> For instance when a lanch a script with an error, I get: > [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui -f > Simul1.sci > java.lang.reflect.InvocationTargetException > ___________________________________________ > scilab-5.3.3 > > Consortium Scilab (DIGITEO) > Copyright (c) 1989-2011 (INRIA) > Copyright (c) 1989-2007 (ENPC) > ___________________________________________ > > > Startup execution: > loading initial environment > ee; > !--error 4 > Undefined variable: ee > > at line 26 of exec file called by : > exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1) > > > --> At the end, it displays a prompt and waits for the user to input something. The behaviour is similar with the -nwni option. Romain Le 14/11/2011 12:03, Adrien Vogt-Schilb a ?crit : > Hi > > Do you have some command line prompting for user input, like "input" ? > > On 14/11/2011 12:01, Romain wrote: >> Hi guys, >> >> I work on a software for distributed executions of simulation models >> (www.openmole.org). Some of our users are using scilab. In order to >> execute scilab on a computing grid we need to execute it in batch >> mode. I have tryed the option "-nw -nogui" and "-nwi" however when an >> error occurs durring the execution of the scilab script, scilab >> doesn't stop and is waiting for the user to react. Is there anyway of >> switching to a real batch mode where no interaction is ever requiered? >> >> Cheers, >> Romain Reuillon >> > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3879 bytes Desc: Signature cryptographique S/MIME URL: From jasper at amsterchem.com Mon Nov 14 12:13:19 2011 From: jasper at amsterchem.com (jasper van baten) Date: Mon, 14 Nov 2011 12:13:19 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0F6A6.8080204@iscpif.fr> References: <4EC0F516.1050205@iscpif.fr> <4EC0F582.6000307@centre-cired.fr> <4EC0F6A6.8080204@iscpif.fr> Message-ID: <4EC0F7CF.5000008@amsterchem.com> Use errcatch(-1,'stop') Best wishes, Jasper. On 11/14/2011 12:08, Romain wrote: > For instance when a lanch a script with an error, I get: >> [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui -f >> Simul1.sci >> java.lang.reflect.InvocationTargetException >> ___________________________________________ >> scilab-5.3.3 >> >> Consortium Scilab (DIGITEO) >> Copyright (c) 1989-2011 (INRIA) >> Copyright (c) 1989-2007 (ENPC) >> ___________________________________________ >> >> >> Startup execution: >> loading initial environment >> ee; >> !--error 4 >> Undefined variable: ee >> >> at line 26 of exec file called by : >> exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1) >> >> >> --> > At the end, it displays a prompt and waits for the user to input > something. The behaviour is similar with the -nwni option. > > Romain > > Le 14/11/2011 12:03, Adrien Vogt-Schilb a ?crit : >> Hi >> >> Do you have some command line prompting for user input, like "input" ? >> >> On 14/11/2011 12:01, Romain wrote: >>> Hi guys, >>> >>> I work on a software for distributed executions of simulation models >>> (www.openmole.org). Some of our users are using scilab. In order to >>> execute scilab on a computing grid we need to execute it in batch >>> mode. I have tryed the option "-nw -nogui" and "-nwi" however when >>> an error occurs durring the execution of the scilab script, scilab >>> doesn't stop and is waiting for the user to react. Is there anyway >>> of switching to a real batch mode where no interaction is ever >>> requiered? >>> >>> Cheers, >>> Romain Reuillon >>> >> >> >> -- >> Adrien Vogt-Schilb (Cired) >> Tel: (+33) 1 43 94 *73 77* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From romain.reuillon at iscpif.fr Mon Nov 14 12:18:42 2011 From: romain.reuillon at iscpif.fr (Romain) Date: Mon, 14 Nov 2011 12:18:42 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0F7CF.5000008@amsterchem.com> References: <4EC0F516.1050205@iscpif.fr> <4EC0F582.6000307@centre-cired.fr> <4EC0F6A6.8080204@iscpif.fr> <4EC0F7CF.5000008@amsterchem.com> Message-ID: <4EC0F912.9000600@iscpif.fr> It works, thank you for your reactivity. Nevertheless, I think that being able to set this beaviour from the command line without having to modify the script would be a great functionnality for distributed execution of scilab. Cheers, Rom Le 14/11/2011 12:13, jasper van baten a ?crit : > Use > > errcatch(-1,'stop') > > Best wishes, > > Jasper. > > On 11/14/2011 12:08, Romain wrote: >> For instance when a lanch a script with an error, I get: >>> [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui -f >>> Simul1.sci >>> java.lang.reflect.InvocationTargetException >>> ___________________________________________ >>> scilab-5.3.3 >>> >>> Consortium Scilab (DIGITEO) >>> Copyright (c) 1989-2011 (INRIA) >>> Copyright (c) 1989-2007 (ENPC) >>> ___________________________________________ >>> >>> >>> Startup execution: >>> loading initial environment >>> ee; >>> !--error 4 >>> Undefined variable: ee >>> >>> at line 26 of exec file called by : >>> exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1) >>> >>> >>> --> >> At the end, it displays a prompt and waits for the user to input >> something. The behaviour is similar with the -nwni option. >> >> Romain >> >> Le 14/11/2011 12:03, Adrien Vogt-Schilb a ?crit : >>> Hi >>> >>> Do you have some command line prompting for user input, like "input" ? >>> >>> On 14/11/2011 12:01, Romain wrote: >>>> Hi guys, >>>> >>>> I work on a software for distributed executions of simulation >>>> models (www.openmole.org). Some of our users are using scilab. In >>>> order to execute scilab on a computing grid we need to execute it >>>> in batch mode. I have tryed the option "-nw -nogui" and "-nwi" >>>> however when an error occurs durring the execution of the scilab >>>> script, scilab doesn't stop and is waiting for the user to react. >>>> Is there anyway of switching to a real batch mode where no >>>> interaction is ever requiered? >>>> >>>> Cheers, >>>> Romain Reuillon >>>> >>> >>> >>> -- >>> Adrien Vogt-Schilb (Cired) >>> Tel: (+33) 1 43 94 *73 77* >> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3879 bytes Desc: Signature cryptographique S/MIME URL: From vogt at centre-cired.fr Mon Nov 14 12:23:30 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 14 Nov 2011 12:23:30 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0F912.9000600@iscpif.fr> References: <4EC0F516.1050205@iscpif.fr> <4EC0F582.6000307@centre-cired.fr> <4EC0F6A6.8080204@iscpif.fr> <4EC0F7CF.5000008@amsterchem.com> <4EC0F912.9000600@iscpif.fr> Message-ID: <4EC0FA32.8090007@centre-cired.fr> well, you can always try something like /tmp/scilab-5.3.3/bin/scilab -nw -nogui -e "errcatch(-1,''stop'') ; exec(''Simul1.sci '')" On 14/11/2011 12:18, Romain wrote: > It works, thank you for your reactivity. > > Nevertheless, I think that being able to set this beaviour from the > command line without having to modify the script would be a great > functionnality for distributed execution of scilab. > > Cheers, > Rom > > Le 14/11/2011 12:13, jasper van baten a ?crit : >> Use >> >> errcatch(-1,'stop') >> >> Best wishes, >> >> Jasper. >> >> On 11/14/2011 12:08, Romain wrote: >>> For instance when a lanch a script with an error, I get: >>>> [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui >>>> -f Simul1.sci >>>> java.lang.reflect.InvocationTargetException >>>> ___________________________________________ >>>> scilab-5.3.3 >>>> >>>> Consortium Scilab (DIGITEO) >>>> Copyright (c) 1989-2011 (INRIA) >>>> Copyright (c) 1989-2007 (ENPC) >>>> ___________________________________________ >>>> >>>> >>>> Startup execution: >>>> loading initial environment >>>> ee; >>>> !--error 4 >>>> Undefined variable: ee >>>> >>>> at line 26 of exec file called by : >>>> exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1) >>>> >>>> >>>> --> >>> At the end, it displays a prompt and waits for the user to input >>> something. The behaviour is similar with the -nwni option. >>> >>> Romain >>> >>> Le 14/11/2011 12:03, Adrien Vogt-Schilb a ?crit : >>>> Hi >>>> >>>> Do you have some command line prompting for user input, like "input" ? >>>> >>>> On 14/11/2011 12:01, Romain wrote: >>>>> Hi guys, >>>>> >>>>> I work on a software for distributed executions of simulation >>>>> models (www.openmole.org). Some of our users are using scilab. In >>>>> order to execute scilab on a computing grid we need to execute it >>>>> in batch mode. I have tryed the option "-nw -nogui" and "-nwi" >>>>> however when an error occurs durring the execution of the scilab >>>>> script, scilab doesn't stop and is waiting for the user to react. >>>>> Is there anyway of switching to a real batch mode where no >>>>> interaction is ever requiered? >>>>> >>>>> Cheers, >>>>> Romain Reuillon >>>>> >>>> >>>> >>>> -- >>>> Adrien Vogt-Schilb (Cired) >>>> Tel: (+33) 1 43 94 *73 77* >>> > -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasper at amsterchem.com Mon Nov 14 12:23:44 2011 From: jasper at amsterchem.com (jasper van baten) Date: Mon, 14 Nov 2011 12:23:44 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0F912.9000600@iscpif.fr> References: <4EC0F516.1050205@iscpif.fr> <4EC0F582.6000307@centre-cired.fr> <4EC0F6A6.8080204@iscpif.fr> <4EC0F7CF.5000008@amsterchem.com> <4EC0F912.9000600@iscpif.fr> Message-ID: <4EC0FA40.1090008@amsterchem.com> You could run the script inside another script, using exec. This also gives you control over the error level. You could do this from the command line using the -e option. You can also use the -e option to call errcatch. Best wishes, Jasper. On 11/14/2011 12:18, Romain wrote: > It works, thank you for your reactivity. > > Nevertheless, I think that being able to set this beaviour from the > command line without having to modify the script would be a great > functionnality for distributed execution of scilab. > > Cheers, > Rom > > Le 14/11/2011 12:13, jasper van baten a ?crit : >> Use >> >> errcatch(-1,'stop') >> >> Best wishes, >> >> Jasper. >> >> On 11/14/2011 12:08, Romain wrote: >>> For instance when a lanch a script with an error, I get: >>>> [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui >>>> -f Simul1.sci >>>> java.lang.reflect.InvocationTargetException >>>> ___________________________________________ >>>> scilab-5.3.3 >>>> >>>> Consortium Scilab (DIGITEO) >>>> Copyright (c) 1989-2011 (INRIA) >>>> Copyright (c) 1989-2007 (ENPC) >>>> ___________________________________________ >>>> >>>> >>>> Startup execution: >>>> loading initial environment >>>> ee; >>>> !--error 4 >>>> Undefined variable: ee >>>> >>>> at line 26 of exec file called by : >>>> exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1) >>>> >>>> >>>> --> >>> At the end, it displays a prompt and waits for the user to input >>> something. The behaviour is similar with the -nwni option. >>> >>> Romain >>> >>> Le 14/11/2011 12:03, Adrien Vogt-Schilb a ?crit : >>>> Hi >>>> >>>> Do you have some command line prompting for user input, like "input" ? >>>> >>>> On 14/11/2011 12:01, Romain wrote: >>>>> Hi guys, >>>>> >>>>> I work on a software for distributed executions of simulation >>>>> models (www.openmole.org). Some of our users are using scilab. In >>>>> order to execute scilab on a computing grid we need to execute it >>>>> in batch mode. I have tryed the option "-nw -nogui" and "-nwi" >>>>> however when an error occurs durring the execution of the scilab >>>>> script, scilab doesn't stop and is waiting for the user to react. >>>>> Is there anyway of switching to a real batch mode where no >>>>> interaction is ever requiered? >>>>> >>>>> Cheers, >>>>> Romain Reuillon >>>>> >>>> >>>> >>>> -- >>>> Adrien Vogt-Schilb (Cired) >>>> Tel: (+33) 1 43 94 *73 77* >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasper at amsterchem.com Mon Nov 14 12:24:41 2011 From: jasper at amsterchem.com (jasper van baten) Date: Mon, 14 Nov 2011 12:24:41 +0100 Subject: [scilab-Users] Batch mode In-Reply-To: <4EC0FA32.8090007@centre-cired.fr> References: <4EC0F516.1050205@iscpif.fr> <4EC0F582.6000307@centre-cired.fr> <4EC0F6A6.8080204@iscpif.fr> <4EC0F7CF.5000008@amsterchem.com> <4EC0F912.9000600@iscpif.fr> <4EC0FA32.8090007@centre-cired.fr> Message-ID: <4EC0FA79.3090904@amsterchem.com> ... except for the quotes... Jasper. On 11/14/2011 12:23, Adrien Vogt-Schilb wrote: > well, you can always try something like > > /tmp/scilab-5.3.3/bin/scilab -nw -nogui -e "errcatch(-1,''stop'') ; > exec(''Simul1.sci '')" > > > On 14/11/2011 12:18, Romain wrote: >> It works, thank you for your reactivity. >> >> Nevertheless, I think that being able to set this beaviour from the >> command line without having to modify the script would be a great >> functionnality for distributed execution of scilab. >> >> Cheers, >> Rom >> >> Le 14/11/2011 12:13, jasper van baten a ?crit : >>> Use >>> >>> errcatch(-1,'stop') >>> >>> Best wishes, >>> >>> Jasper. >>> >>> On 11/14/2011 12:08, Romain wrote: >>>> For instance when a lanch a script with an error, I get: >>>>> [reuillon at zebulon coin]$ ~/tmp/scilab-5.3.3/bin/scilab -nw -nogui >>>>> -f Simul1.sci >>>>> java.lang.reflect.InvocationTargetException >>>>> ___________________________________________ >>>>> scilab-5.3.3 >>>>> >>>>> Consortium Scilab (DIGITEO) >>>>> Copyright (c) 1989-2011 (INRIA) >>>>> Copyright (c) 1989-2007 (ENPC) >>>>> ___________________________________________ >>>>> >>>>> >>>>> Startup execution: >>>>> loading initial environment >>>>> ee; >>>>> !--error 4 >>>>> Undefined variable: ee >>>>> >>>>> at line 26 of exec file called by : >>>>> exec('SCI/etc/scilab.start',-1);;exec('Simul1.sci',-1) >>>>> >>>>> >>>>> --> >>>> At the end, it displays a prompt and waits for the user to input >>>> something. The behaviour is similar with the -nwni option. >>>> >>>> Romain >>>> >>>> Le 14/11/2011 12:03, Adrien Vogt-Schilb a ?crit : >>>>> Hi >>>>> >>>>> Do you have some command line prompting for user input, like "input" ? >>>>> >>>>> On 14/11/2011 12:01, Romain wrote: >>>>>> Hi guys, >>>>>> >>>>>> I work on a software for distributed executions of simulation >>>>>> models (www.openmole.org). Some of our users are using scilab. In >>>>>> order to execute scilab on a computing grid we need to execute it >>>>>> in batch mode. I have tryed the option "-nw -nogui" and "-nwi" >>>>>> however when an error occurs durring the execution of the scilab >>>>>> script, scilab doesn't stop and is waiting for the user to react. >>>>>> Is there anyway of switching to a real batch mode where no >>>>>> interaction is ever requiered? >>>>>> >>>>>> Cheers, >>>>>> Romain Reuillon >>>>>> >>>>> >>>>> >>>>> -- >>>>> Adrien Vogt-Schilb (Cired) >>>>> Tel: (+33) 1 43 94 *73 77* >>>> >> > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From iai at axelspace.com Tue Nov 15 01:21:22 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Tue, 15 Nov 2011 09:21:22 +0900 Subject: Scilab equivalent of mfilename? Message-ID: <4EC1B082.8030207@axelspace.com> Hi Does Scilab have a command like mfilename in Matlab? I want to get the name of a currently running script file. Thanks, Iai From sgougeon at free.fr Tue Nov 15 01:36:19 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 15 Nov 2011 01:36:19 +0100 Subject: [scilab-Users] Scilab equivalent of mfilename? In-Reply-To: <4EC1B082.8030207@axelspace.com> References: <4EC1B082.8030207@axelspace.com> Message-ID: <4EC1B403.5070107@free.fr> Le 15/11/2011 01:21, Iai Masafumi ax a ?crit : > Hi > > Does Scilab have a command like mfilename in Matlab? I want to get the > name of a currently running script file. > Yes it does: path = get_absolute_file_path('running_or_open_filename.m') Samuel From sgougeon at free.fr Tue Nov 15 03:23:10 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 15 Nov 2011 03:23:10 +0100 Subject: [scilab-Users] Scilab equivalent of mfilename? In-Reply-To: <4EC1B082.8030207@axelspace.com> References: <4EC1B082.8030207@axelspace.com> Message-ID: <4EC1CD0E.9000403@free.fr> Le 15/11/2011 01:21, Iai Masafumi ax a e'crit : > Hi > > Does Scilab have a command like mfilename in Matlab? I want to get the > name of a currently running script file. > If you really don't know the name of the current script, you may use the following: [u,t,n]=file(); i = grep(n',"/(?:.*\.sci|.*\.sce)$/","r"); p = n(i(1)) // and if you need only the script name without its path nor the file extension: basename(p) Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Tue Nov 15 05:40:44 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 15 Nov 2011 05:40:44 +0100 Subject: [scilab-Users] Android In-Reply-To: References: Message-ID: <1321332044.10880.3.camel@pomegues.inria.fr> Hello Gunter, Le dimanche 13 novembre 2011 ? 11:46 +0100, Gunter Zielke a ?crit : > Hello, > Is there a version for android available? Unfortunately, no. > Or do you plan this version in near future? I would love to see an Android version and we have been contacted by a few people for a port. However, I haven't seen anything yet. For now, we, the Scilab consortium, are not working on it (it is not part of our priority) but we will be glad to apply patches and to help to see that coming. Sylvestre From iai at axelspace.com Tue Nov 15 06:33:18 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Tue, 15 Nov 2011 14:33:18 +0900 Subject: [scilab-Users] Scilab equivalent of mfilename? In-Reply-To: <4EC1CD0E.9000403@free.fr> References: <4EC1B082.8030207@axelspace.com> <4EC1CD0E.9000403@free.fr> Message-ID: <4EC1F99E.20904@axelspace.com> I am wanting something like __FILE__ macro of C language. It should be useful in debugging and in managing a lot of data files and figures generated by different scripts. The code you provided did not work as I wanted when multiple script files are nested. To solve this, slight modification is made: [u,t,n]=file(); i = grep(n',"/(?:.*\.sci|.*\.sce)$/","r"); p = n(i(length(i))); // <--- modified. Still, this method does not give me the file name of *.sci itself. Suppose you have two files, fileA.sci and fileB.sce. A function is defined in fileA.sci and is called from fileB.sce. If you put the above code in fileA.sci and execute the script, fileB.sce, then you get "fileB.sce" in the varialbe, p. Is there any way to get the file name of sci file as well? Iai (2011/11/15 11:23), Samuel Gougeon wrote: > Le 15/11/2011 01:21, Iai Masafumi ax a ?crit : >> Hi >> >> Does Scilab have a command like mfilename in Matlab? I want to get the >> name of a currently running script file. >> > If you really don't know the name of the current script, you may use the > following: > > [u,t,n]=file(); > i = grep(n',"/(?:.*\.sci|.*\.sce)$/","r"); > p = n(i(1)) > // and if you need only the script name without its path nor the file > extension: > basename(p) > > Samuel > From iai at axelspace.com Tue Nov 15 06:54:04 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Tue, 15 Nov 2011 14:54:04 +0900 Subject: Actual boundary values when tight_limits=="off"? Message-ID: <4EC1FE7C.8080700@axelspace.com> Hello, How do I get the actual boundary values of an axis when the tight_limits property of that axis is set "off"? The values in the data_bounds property does not match the actual boundary values adjusted automatically. Thanks, Iai From sgougeon at free.fr Tue Nov 15 09:26:45 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 15 Nov 2011 09:26:45 +0100 Subject: [scilab-Users] Scilab equivalent of mfilename? In-Reply-To: <4EC1F99E.20904@axelspace.com> References: <4EC1B082.8030207@axelspace.com> <4EC1CD0E.9000403@free.fr> <4EC1F99E.20904@axelspace.com> Message-ID: <4EC22245.7020409@free.fr> Hello Iai, Le 15/11/2011 06:33, Iai Masafumi ax a ?crit : > I am wanting something like __FILE__ macro of C language. It should be > useful in debugging and in managing a lot of data files and figures > generated by different scripts. > > The code you provided did not work as I wanted when multiple script > files are nested. To solve this, slight modification is made: > > [u,t,n]=file(); > i = grep(n',"/(?:.*\.sci|.*\.sce)$/","r"); > p = n(i(length(i))); // <--- modified. > > Still, this method does not give me the file name of *.sci itself. > Suppose you have two files, fileA.sci and fileB.sce. A function is > defined in fileA.sci and is called from fileB.sce. If you put the > above code in fileA.sci and execute the script, fileB.sce, then you > get "fileB.sce" in the varialbe, p. > > Is there any way to get the file name of sci file as well? The code provided above works only in scripts. It won't work in functions. For functions, you may have a look at the function where(), or/and whereami(), and get_function_path(). HTH Samuel From sgougeon at free.fr Tue Nov 15 09:30:53 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 15 Nov 2011 09:30:53 +0100 Subject: [scilab-Users] Actual boundary values when tight_limits=="off"? In-Reply-To: <4EC1FE7C.8080700@axelspace.com> References: <4EC1FE7C.8080700@axelspace.com> Message-ID: <4EC2233D.1050306@free.fr> Le 15/11/2011 06:54, Iai Masafumi ax a ?crit : > Hello, > > How do I get the actual boundary values of an axis when the tight_limits > property of that axis is set "off"? The values in the data_bounds > property does not match the actual boundary values adjusted automatically. > Thanks, > Iai > > It is presently not possible. It has been reported at http://bugzilla.scilab.org/6311 From iai at axelspace.com Tue Nov 15 10:29:50 2011 From: iai at axelspace.com (Iai Masafumi ax) Date: Tue, 15 Nov 2011 18:29:50 +0900 Subject: [scilab-Users] Actual boundary values when tight_limits=="off"? In-Reply-To: <4EC2233D.1050306@free.fr> References: <4EC1FE7C.8080700@axelspace.com> <4EC2233D.1050306@free.fr> Message-ID: <4EC2310E.2000803@axelspace.com> Thank you, Samuel! (2011/11/15 17:30), Samuel Gougeon wrote: > Le 15/11/2011 06:54, Iai Masafumi ax a ?crit : >> Hello, >> >> How do I get the actual boundary values of an axis when the tight_limits >> property of that axis is set "off"? The values in the data_bounds >> property does not match the actual boundary values adjusted >> automatically. >> Thanks, >> Iai >> > It is presently not possible. It has been reported at > http://bugzilla.scilab.org/6311 From Serge.Steer at inria.fr Tue Nov 15 19:17:55 2011 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 15 Nov 2011 19:17:55 +0100 Subject: [scilab-Users] Scilab equivalent of mfilename? In-Reply-To: <4EC1F99E.20904@axelspace.com> References: <4EC1B082.8030207@axelspace.com> <4EC1CD0E.9000403@free.fr> <4EC1F99E.20904@axelspace.com> Message-ID: <4EC2ACD3.8040201@inria.fr> Le 15/11/2011 06:33, Iai Masafumi ax a ?crit : > I am wanting something like __FILE__ macro of C language. It should be > useful in debugging and in managing a lot of data files and figures > generated by different scripts. > > The code you provided did not work as I wanted when multiple script > files are nested. To solve this, slight modification is made: > > [u,t,n]=file(); > i = grep(n',"/(?:.*\.sci|.*\.sce)$/","r"); > p = n(i(length(i))); // <--- modified. > > Still, this method does not give me the file name of *.sci itself. > Suppose you have two files, fileA.sci and fileB.sce. A function is > defined in fileA.sci and is called from fileB.sce. If you put the > above code in fileA.sci and execute the script, fileB.sce, then you > get "fileB.sce" in the varialbe, p. > > Is there any way to get the file name of sci file as well? > > > Iai > > > (2011/11/15 11:23), Samuel Gougeon wrote: >> Le 15/11/2011 01:21, Iai Masafumi ax a ?crit : >>> Hi >>> >>> Does Scilab have a command like mfilename in Matlab? I want to get the >>> name of a currently running script file. >>> >> If you really don't know the name of the current script, you may use the >> following: >> >> [u,t,n]=file(); >> i = grep(n',"/(?:.*\.sci|.*\.sce)$/","r"); >> p = n(i(1)) >> // and if you need only the script name without its path nor the file >> extension: >> basename(p) >> >> Samuel >> > In scilab the functions are not linked to a file name because it is possible to define a function in a script. Take also care that functions are Scilab variables (like matrices) function n=functionname() [linenum,mac]=where() n=mac(2) endfunction example function y=foo(x) disp(functionname()) y=x+1 endfunction foo(3) //the calling function is named "foo" A=foo A(3) //the calling function is named "A" Serge Steer INRIA From Christian.Wohlschlager at jku.at Wed Nov 16 17:34:46 2011 From: Christian.Wohlschlager at jku.at (Christian Wohlschlager) Date: Wed, 16 Nov 2011 17:34:46 +0100 Subject: Parallel execution Message-ID: <4EC3F4360200003800029F4D@gwia1.im.jku.at> ** Reply Requested When Convenient ** Hi ! to my excuse I'm new in this. I want to use scilab on my SGI UV 1000 with 2000 Cores ,i download it (the binary version) everything ok, the parallel option seems ??? to be installed so i try it but while i monitor the cpu i coudn't find out that scilab is using more than 1 CPU. even the test says everything computet in different threads but ????. Did you have any Answere what i'm doing wrong, we just wanted to change to scilab because matlab wantet to charge us for 1000 cpu workers 70 000 Euro !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! and telling us that Matlab is soo extremly performant just on this Supercomputer . Thats wy we want to change. thank you Christian Wohlschlager Christian Wohlschlager JKU Universit?t Linz Altenbergerstr.69 4040 Linz Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Nov 16 22:59:55 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 16 Nov 2011 22:59:55 +0100 Subject: [scilab-Users] Parallel execution In-Reply-To: <4EC3F4360200003800029F4D@gwia1.im.jku.at> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> Message-ID: <4EC4325B.4070901@free.fr> Hello, Which OS are you using? On Windows, parallel_run() runs only 1 processor. It is a limitation documented in the parallel_run help page. Best regards Samuel Gougeon Le 16/11/2011 17:34, Christian Wohlschlager a ?crit : > > Hi ! > > > to my excuse I'm new in this. > > I want to use scilab on my SGI UV 1000 with 2000 Cores ,i download it > (the binary version) everything ok, the parallel option seems ??? to > be installed so i try it but while i monitor the cpu i coudn't find > out that scilab is using more than 1 CPU. > > even the test says everything computet in different threads but ????. > > Did you have any Answere what i'm doing wrong, we just wanted to > change to scilab because matlab wantet to charge us for 1000 cpu > workers 70 000 Euro !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! and > telling us that Matlab is soo extremly performant just on this > Supercomputer . Thats wy we want to change. > > > thank you > > > Christian Wohlschlager > > > Christian Wohlschlager > JKU Universit?t Linz > Altenbergerstr.69 > 4040 Linz > Austria > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Wohlschlager at jku.at Thu Nov 17 09:27:01 2011 From: Christian.Wohlschlager at jku.at (christian.wohlschlager@jku.at) Date: Thu, 17 Nov 2011 00:27:01 -0800 (PST) Subject: Parallel execution In-Reply-To: <4EC4325B.4070901@free.fr> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> <4EC4325B.4070901@free.fr> Message-ID: <1321518421804-3515092.post@n3.nabble.com> Sorry for giving you not much (any ?) Details My OS is Novelle Suse SLES 11 Compiler I Have GnuCC/4.1.2 GnuCC/4.4 icc 12.0.3 ifort 12.0.3 i like to link my intel mkl 2011 libraries with it so the performance will be much better. thank you christian -- View this message in context: http://mailinglists.scilab.org/Parallel-execution-tp3513234p3515092.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From inpost at gmail.com Thu Nov 17 09:57:06 2011 From: inpost at gmail.com (e-letter) Date: Thu, 17 Nov 2011 08:57:06 +0000 Subject: no mail mode Message-ID: Readers, There is no digest mode for this mailing list. Is it possible to subscribe but receive no mail please? From inpost at gmail.com Thu Nov 17 10:04:54 2011 From: inpost at gmail.com (e-letter) Date: Thu, 17 Nov 2011 09:04:54 +0000 Subject: no mail mode In-Reply-To: References: Message-ID: On 17/11/2011, e-letter wrote: > Readers, > > There is no digest mode for this mailing list. Is it possible to > subscribe but receive no mail please? > Sorry, please ignore. From petterwr at gmail.com Thu Nov 17 10:36:33 2011 From: petterwr at gmail.com (Petter Wingren) Date: Thu, 17 Nov 2011 10:36:33 +0100 Subject: [scilab-Users] Spearman's rho in scilab In-Reply-To: <587313008.931948.1320355902990.JavaMail.root@zmbs3.inria.fr> References: <587313008.931948.1320355902990.JavaMail.root@zmbs3.inria.fr> Message-ID: On Thu, Nov 3, 2011 at 10:31 PM, Serge Steer wrote: > > > ------------------------------ > > * > * > I've been looking for a way to integrate my correlation analysis in > scilab, which needs spearmans rho. > > Is there a ready-to-use package to install somewhere? > > > I think so, please give a look at the nan toolbox available through > atoms... > > Serge Steer > INRIA > The Corrcoeff function in the nan toolbox can do everything i need. Thanks a lot :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Thu Nov 17 10:43:05 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 17 Nov 2011 10:43:05 +0100 Subject: [scilab-Users] no mail mode In-Reply-To: References: Message-ID: <1321522986.24178.54.camel@korcula.inria.fr> Le jeudi 17 novembre 2011 ? 08:57 +0000, e-letter a ?crit : > Readers, > > There is no digest mode for this mailing list. Is it possible to > subscribe but receive no mail please? For those who are not familiar, the mailing list are also available here: http://mailinglists.scilab.org/ And can be used like a forum if you prefer... Sylvestre From petterwr at gmail.com Thu Nov 17 12:41:53 2011 From: petterwr at gmail.com (Petter Wingren) Date: Thu, 17 Nov 2011 12:41:53 +0100 Subject: Reading an Excel file with mixed strings and numbers Message-ID: I am trying to read an excel file that looks somewhat like this (only a lot bigger): Download Time 19:54:08 Download Date 11-21-2010 -------------------------------------------------- 11/21/2010 19:43:30 0 11/21/2010 19:43:40 0 11/21/2010 19:43:50 0 11/21/2010 19:44:00 0 11/21/2010 19:44:10 0 11/21/2010 19:44:20 0 11/21/2010 19:44:30 518 11/21/2010 19:44:40 1139 11/21/2010 19:44:50 1035 11/21/2010 19:45:00 501 11/21/2010 19:45:10 449 11/21/2010 19:45:20 901 11/21/2010 19:45:30 545 11/21/2010 19:45:40 113 11/21/2010 19:45:50 1 11/21/2010 19:46:00 37 11/21/2010 19:46:10 17 11/21/2010 19:46:20 71 After I've read it I want to crop it according to a specific time and keep the values in the second column. However, when I do [fd,SST,Sheetnames,Sheetpos] = xls_open('file.xls') [Value,TextInd] = xls_read(fd,Sheetpos) Value only contains *** in the first column, and TextInd mostly zeroes. Any suggestions on how to get those timestamps? From luca.marcato66 at gmail.com Thu Nov 17 13:36:11 2011 From: luca.marcato66 at gmail.com (Luca Marcato) Date: Thu, 17 Nov 2011 13:36:11 +0100 Subject: plot issue Message-ID: Hi, I have installed the 5.3.3 version of scilab on winXp but I'm not able to use plot function. What I got is the follow: Exception in thread "AWT-EventQueue-0" java.lang. UnsatisfiedLinkError: C:\Program Files\scilab-5.3.3\bin\jogl.dll: %1 is not a valid Win32 application at java.lang.ClassLoader$NativeLibrary.load(Native Method) have somebody hear something similar? BR -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.schreckenbach at truma.com Thu Nov 17 14:07:01 2011 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Thu, 17 Nov 2011 14:07:01 +0100 Subject: AW: [scilab-Users] no mail mode In-Reply-To: <1321522986.24178.54.camel@korcula.inria.fr> References: <1321522986.24178.54.camel@korcula.inria.fr> Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23D@truma-mail.truma.com> Hi, I look for a test of saisonality in time series. The time series might be instationary and nonlinear and the saisonality / oscillation might have a changing amplitude. Furthermore the distribution might be unknown as well. I need something to test for significant saisonality without knowing / estimating a (linear) model of the time series. ideas I got so far: Chi Square Test for independency: I could test for independence of saison and mean value of the data Chi Square Test to test for different means of two data groups. I could test for a difference of the mean between several seasons. Any more or better ideas? Thanks in advance, Stephan From vogt at centre-cired.fr Thu Nov 17 14:26:30 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 17 Nov 2011 14:26:30 +0100 Subject: AW: [scilab-Users] no mail mode In-Reply-To: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23D@truma-mail.truma.com> References: <1321522986.24178.54.camel@korcula.inria.fr> <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23D@truma-mail.truma.com> Message-ID: <4EC50B86.3020202@centre-cired.fr> I don't knwo if that is usefull for you: I had to test seasonality and i did it successfully with Principal component analyses you may use the grocer atoms toolbox to do PCAs there's a lot of documentation on the web: https://www.google.com/search?q=seasonality+principal+component+analyses&hl=en On 17/11/2011 14:07, Schreckenbach Stephan wrote: > Hi, > > I look for a test of saisonality in time series. > The time series might be instationary and nonlinear and the saisonality > / oscillation might have a changing amplitude. Furthermore the > distribution > might be unknown as well. > I need something to test for significant saisonality without knowing / > estimating a (linear) model of the time series. > > ideas I got so far: Chi Square Test for independency: > I could test for independence of saison and mean value of the data > > Chi Square Test to test for different means of two data groups. > I could test for a difference of the mean between several seasons. > > Any more or better ideas? > > Thanks in advance, Stephan > -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Thu Nov 17 14:30:03 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 17 Nov 2011 14:30:03 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: References: Message-ID: <4EC50C5B.5070501@centre-cired.fr> hi i'd avoid using xls_open, which i found not very reliable with large files. i'd try to save the excel sheet as a tsv file (text separated by tabs), then read it from scilab with read_csv, then sparse myself the date strings with an ad hoc function let me know if you find dificulties On 17/11/2011 12:41, Petter Wingren wrote: > I am trying to read an excel file that looks somewhat like this (only > a lot bigger): > > Download Time 19:54:08 > Download Date 11-21-2010 > -------------------------------------------------- > 11/21/2010 19:43:30 0 > 11/21/2010 19:43:40 0 > 11/21/2010 19:43:50 0 > 11/21/2010 19:44:00 0 > 11/21/2010 19:44:10 0 > 11/21/2010 19:44:20 0 > 11/21/2010 19:44:30 518 > 11/21/2010 19:44:40 1139 > 11/21/2010 19:44:50 1035 > 11/21/2010 19:45:00 501 > 11/21/2010 19:45:10 449 > 11/21/2010 19:45:20 901 > 11/21/2010 19:45:30 545 > 11/21/2010 19:45:40 113 > 11/21/2010 19:45:50 1 > 11/21/2010 19:46:00 37 > 11/21/2010 19:46:10 17 > 11/21/2010 19:46:20 71 > > > After I've read it I want to crop it according to a specific time and > keep the values in the second column. > However, when I do > [fd,SST,Sheetnames,Sheetpos] = xls_open('file.xls') > [Value,TextInd] = xls_read(fd,Sheetpos) > > Value only contains *** in the first column, and TextInd mostly zeroes. > > Any suggestions on how to get those timestamps? -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.schreckenbach at truma.com Thu Nov 17 15:36:36 2011 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Thu, 17 Nov 2011 15:36:36 +0100 Subject: saisonality in time series In-Reply-To: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23D@truma-mail.truma.com> References: <1321522986.24178.54.camel@korcula.inria.fr> <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23D@truma-mail.truma.com> Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23E@truma-mail.truma.com> Hi, I look for a test of saisonality in time series. The time series might be instationary and nonlinear and the saisonality / oscillation might have a changing amplitude. Furthermore the distribution might be unknown as well. I need something to test for significant saisonality without knowing / estimating a (linear) model of the time series. ideas I got so far: Chi Square Test for independency: I could test for independence of saison and mean value of the data Chi Square Test to test for different means of two data groups. I could test for a difference of the mean between several seasons. Any more or better ideas? Thanks in advance, Stephan From petterwr at gmail.com Thu Nov 17 18:10:18 2011 From: petterwr at gmail.com (Petter Wingren) Date: Thu, 17 Nov 2011 18:10:18 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: <4EC50C5B.5070501@centre-cired.fr> References: <4EC50C5B.5070501@centre-cired.fr> Message-ID: Was hoping not to have to do it that way, as I have a huge amount of files and every little step I can avoid saves time. Also read_csv seems to be extremely slow.. I tried reading a 30000 cells sheet, which took 460 seconds Writing it as .sci and loading it again (after clearing) took 0.2 seconds. Guess I could make a script to take care of that and reformat all files during the night. On Thu, Nov 17, 2011 at 2:30 PM, Adrien Vogt-Schilb wrote: > hi > > i'd avoid using xls_open, which i found not very reliable with large files. > i'd try to save the excel sheet as a tsv file (text separated by tabs), then > read it from scilab with read_csv, then sparse myself the date strings with > an ad hoc function > > let me know if you find dificulties > > > On 17/11/2011 12:41, Petter Wingren wrote: > > I am trying to read an excel file that looks somewhat like this (only > a lot bigger): > > Download Time 19:54:08 > Download Date 11-21-2010 > -------------------------------------------------- > 11/21/2010 19:43:30 0 > 11/21/2010 19:43:40 0 > 11/21/2010 19:43:50 0 > 11/21/2010 19:44:00 0 > 11/21/2010 19:44:10 0 > 11/21/2010 19:44:20 0 > 11/21/2010 19:44:30 518 > 11/21/2010 19:44:40 1139 > 11/21/2010 19:44:50 1035 > 11/21/2010 19:45:00 501 > 11/21/2010 19:45:10 449 > 11/21/2010 19:45:20 901 > 11/21/2010 19:45:30 545 > 11/21/2010 19:45:40 113 > 11/21/2010 19:45:50 1 > 11/21/2010 19:46:00 37 > 11/21/2010 19:46:10 17 > 11/21/2010 19:46:20 71 > > > After I've read it I want to crop it according to a specific time and > keep the values in the second column. > However, when I do > [fd,SST,Sheetnames,Sheetpos] = xls_open('file.xls') > [Value,TextInd] = xls_read(fd,Sheetpos) > > Value only contains *** in the first column, and TextInd mostly zeroes. > > Any suggestions on how to get those timestamps? > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 73 77 From petterwr at gmail.com Thu Nov 17 18:17:49 2011 From: petterwr at gmail.com (Petter Wingren) Date: Thu, 17 Nov 2011 18:17:49 +0100 Subject: [scilab-Users] saisonality in time series In-Reply-To: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23E@truma-mail.truma.com> References: <1321522986.24178.54.camel@korcula.inria.fr> <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23D@truma-mail.truma.com> <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D23E@truma-mail.truma.com> Message-ID: Did a quick search but couldnt find anything obvious. I suppose the word you are looking for is seasonality - maybe that helps in finding something useful. On Thu, Nov 17, 2011 at 3:36 PM, Schreckenbach Stephan wrote: > > Hi, > > I look for a test of saisonality in time series. > The time series might be instationary and nonlinear and the saisonality > / oscillation might have a changing amplitude. Furthermore the > distribution > might be unknown as well. > I need something to test for significant saisonality without knowing / > estimating a (linear) model of the time series. > > ideas I got so far: Chi Square Test for independency: > I could test for independence of saison and mean value of the data > > Chi Square Test to test for different means of two data groups. > I could test for a difference of the mean between several seasons. > > Any more or better ideas? > > Thanks in advance, Stephan > > From vogt at centre-cired.fr Thu Nov 17 18:19:32 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 17 Nov 2011 18:19:32 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: References: <4EC50C5B.5070501@centre-cired.fr> Message-ID: <4EC54224.90107@centre-cired.fr> Well, did you generate the excel files from another process? In that case, you may directly export your data as text. About read_csv being very slow: you may try csv_read instead, which can be installed from atoms : http://atoms.scilab.org/toolboxes/csv_readwrite It's supposed to be much faster Also, if you do generate the excel files yourself, consider exporting numerical values only. If well formated, numerical text files may be read very quickly with fscanfMat Finally, if the data acquisition takes long and you are going to test several scilab programs on it, i suggest you import the data to scilab once, then save it from scilab in a scilab-friendly format (with save("mydata.sav",data1,data2)), and then build your test programs from a load("mydata.sav"). This way, you wont have to read the whole data each time. Oh, a last thing: string management was much faster with scilab4 (which does not support utf8), so this last "first acquisition and export in *.sav" could be done with sci4 (note that the instaler is less than 20MB and the sci4 instalation takes very few disk space) On 17/11/2011 18:10, Petter Wingren wrote: > Was hoping not to have to do it that way, as I have a huge amount of > files and every little step I can avoid saves time. > > Also read_csv seems to be extremely slow.. > I tried reading a 30000 cells sheet, which took 460 seconds > Writing it as .sci and loading it again (after clearing) took 0.2 seconds. > > Guess I could make a script to take care of that and reformat all > files during the night. > > > On Thu, Nov 17, 2011 at 2:30 PM, Adrien Vogt-Schilb > wrote: >> hi >> >> i'd avoid using xls_open, which i found not very reliable with large files. >> i'd try to save the excel sheet as a tsv file (text separated by tabs), then >> read it from scilab with read_csv, then sparse myself the date strings with >> an ad hoc function >> >> let me know if you find dificulties >> >> >> On 17/11/2011 12:41, Petter Wingren wrote: >> >> I am trying to read an excel file that looks somewhat like this (only >> a lot bigger): >> >> Download Time 19:54:08 >> Download Date 11-21-2010 >> -------------------------------------------------- >> 11/21/2010 19:43:30 0 >> 11/21/2010 19:43:40 0 >> 11/21/2010 19:43:50 0 >> 11/21/2010 19:44:00 0 >> 11/21/2010 19:44:10 0 >> 11/21/2010 19:44:20 0 >> 11/21/2010 19:44:30 518 >> 11/21/2010 19:44:40 1139 >> 11/21/2010 19:44:50 1035 >> 11/21/2010 19:45:00 501 >> 11/21/2010 19:45:10 449 >> 11/21/2010 19:45:20 901 >> 11/21/2010 19:45:30 545 >> 11/21/2010 19:45:40 113 >> 11/21/2010 19:45:50 1 >> 11/21/2010 19:46:00 37 >> 11/21/2010 19:46:10 17 >> 11/21/2010 19:46:20 71 >> >> >> After I've read it I want to crop it according to a specific time and >> keep the values in the second column. >> However, when I do >> [fd,SST,Sheetnames,Sheetpos] = xls_open('file.xls') >> [Value,TextInd] = xls_read(fd,Sheetpos) >> >> Value only contains *** in the first column, and TextInd mostly zeroes. >> >> Any suggestions on how to get those timestamps? >> >> >> -- >> Adrien Vogt-Schilb (Cired) >> Tel: (+33) 1 43 94 73 77 -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Thu Nov 17 18:40:07 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 17 Nov 2011 17:40:07 -0000 Subject: [scilab-Users] saisonality in time series In-Reply-To: Message-ID: Hi, I don't know much about this application, but the Cepstrum can be used to find hidden periodicity in time series. Might be worth trying? I have used it for finding rotational components in the vibration signatures from rotating machinery. There's a simple example here (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). Mike. -----Original Message----- From: Petter Wingren [mailto:petterwr at gmail.com] Sent: 17 November 2011 17:18 To: users at lists.scilab.org Subject: Re: [scilab-Users] saisonality in time series Did a quick search but couldnt find anything obvious. I suppose the word you are looking for is seasonality - maybe that helps in finding something useful. On Thu, Nov 17, 2011 at 3:36 PM, Schreckenbach Stephan wrote: > > Hi, > > I look for a test of saisonality in time series. > The time series might be instationary and nonlinear and the saisonality > / oscillation might have a changing amplitude. Furthermore the > distribution > might be unknown as well. > I need something to test for significant saisonality without knowing / > estimating a (linear) model of the time series. > > ideas I got so far: Chi Square Test for independency: > I could test for independence of saison and mean value of the data > > Chi Square Test to test for different means of two data groups. > I could test for a difference of the mean between several seasons. > > Any more or better ideas? > > Thanks in advance, Stephan > > From cwarner.cw711 at gmail.com Fri Nov 18 00:34:04 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Thu, 17 Nov 2011 18:34:04 -0500 Subject: [scilab-Users] saisonality in time series In-Reply-To: References: Message-ID: Although "seasonality" is not the term I use for long term trends hidden in noisy data, I have had some success by taking the log of the data, and running an FFT on the log data. Usually, I have some prior knowledge of the long-term periodic trends I expect, so it is relatively easy to determine quickly if this method works. Plotting the log of the data also gives one a good feel for whether the data is stationary, or whether there are windows of data that can be treated as stationary. Any changing magnitude effect is, of course, reduced when on works with logs, but such effects can help one understand what the raw data is really telling you. Charlie On Thu, Nov 17, 2011 at 12:40 PM, Mike Page wrote: > Hi, > > I don't know much about this application, but the Cepstrum can be used to > find hidden periodicity in time series. Might be worth trying? I have > used > it for finding rotational components in the vibration signatures from > rotating machinery. There's a simple example here > (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). > > Mike. > > > -----Original Message----- > From: Petter Wingren [mailto:petterwr at gmail.com] > Sent: 17 November 2011 17:18 > To: users at lists.scilab.org > Subject: Re: [scilab-Users] saisonality in time series > > > Did a quick search but couldnt find anything obvious. I suppose the > word you are looking for is seasonality - maybe that helps in finding > something useful. > > On Thu, Nov 17, 2011 at 3:36 PM, Schreckenbach Stephan > wrote: > > > > Hi, > > > > I look for a test of saisonality in time series. > > The time series might be instationary and nonlinear and the saisonality > > / oscillation might have a changing amplitude. Furthermore the > > distribution > > might be unknown as well. > > I need something to test for significant saisonality without knowing / > > estimating a (linear) model of the time series. > > > > ideas I got so far: Chi Square Test for independency: > > I could test for independence of saison and mean value of the data > > > > Chi Square Test to test for different means of two data groups. > > I could test for a difference of the mean between several seasons. > > > > Any more or better ideas? > > > > Thanks in advance, Stephan > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Wohlschlager at jku.at Fri Nov 18 07:45:24 2011 From: Christian.Wohlschlager at jku.at (christian.wohlschlager@jku.at) Date: Thu, 17 Nov 2011 22:45:24 -0800 (PST) Subject: Parallel execution In-Reply-To: <1321518910219-3515109.post@n3.nabble.com> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> <4EC4325B.4070901@free.fr> <1321518910219-3515109.post@n3.nabble.com> Message-ID: <1321598724605-3517992.post@n3.nabble.com> Hello Again ! Today i ran the example programm (the simple one with function a=g(arg1) a=arg1*arg1 endfunction and tic;res=parallel_run(1:2000, g);toc while doing this i start top -u i couldnt see any parallel runs so i start again 3 times the result was that the computer did't answere any more , we found out that more than 9000 !!! processes iwere running we had to start the machine again.(we have a SGI UV 1000) I think the problem was that he started with nb_workers=0 which means take every cpu and this 3 times. Thats my first clue am i right. how default to start with 8 provessors ? i also think that the command top didnt show me the right thing. christian -- View this message in context: http://mailinglists.scilab.org/Parallel-execution-tp3513234p3517992.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From s.schreckenbach at truma.com Fri Nov 18 09:09:00 2011 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Fri, 18 Nov 2011 09:09:00 +0100 Subject: AW: [scilab-Users] saisonality in time series In-Reply-To: References: Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D243@truma-mail.truma.com> Hi, sorry, of course I meant seasonality. The time series consists of longer term trends, short term noise and short time seasonality. oscillations / seasonality, if any, it is most likely to be nonharmonic. I look for distinct frequencies. When I did a FFT plot of the original time series there was noise only in the spectrum. I will give it a run with the differenciated series / the log of the data. There is still the question how to test for significance of the found seasonality. Stephan ________________________________ Von: Charles Warner [mailto:cwarner.cw711 at gmail.com] Gesendet: Freitag, 18. November 2011 00:34 An: users at lists.scilab.org Betreff: Re: [scilab-Users] saisonality in time series Although "seasonality" is not the term I use for long term trends hidden in noisy data, I have had some success by taking the log of the data, and running an FFT on the log data. Usually, I have some prior knowledge of the long-term periodic trends I expect, so it is relatively easy to determine quickly if this method works. Plotting the log of the data also gives one a good feel for whether the data is stationary, or whether there are windows of data that can be treated as stationary. Any changing magnitude effect is, of course, reduced when on works with logs, but such effects can help one understand what the raw data is really telling you. Charlie On Thu, Nov 17, 2011 at 12:40 PM, Mike Page wrote: Hi, I don't know much about this application, but the Cepstrum can be used to find hidden periodicity in time series. Might be worth trying? I have used it for finding rotational components in the vibration signatures from rotating machinery. There's a simple example here (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). Mike. -----Original Message----- From: Petter Wingren [mailto:petterwr at gmail.com] Sent: 17 November 2011 17:18 To: users at lists.scilab.org Subject: Re: [scilab-Users] saisonality in time series Did a quick search but couldnt find anything obvious. I suppose the word you are looking for is seasonality - maybe that helps in finding something useful. On Thu, Nov 17, 2011 at 3:36 PM, Schreckenbach Stephan wrote: > > Hi, > > I look for a test of saisonality in time series. > The time series might be instationary and nonlinear and the saisonality > / oscillation might have a changing amplitude. Furthermore the > distribution > might be unknown as well. > I need something to test for significant saisonality without knowing / > estimating a (linear) model of the time series. > > ideas I got so far: Chi Square Test for independency: > I could test for independence of saison and mean value of the data > > Chi Square Test to test for different means of two data groups. > I could test for a difference of the mean between several seasons. > > Any more or better ideas? > > Thanks in advance, Stephan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petterwr at gmail.com Fri Nov 18 11:05:34 2011 From: petterwr at gmail.com (Petter Wingren) Date: Fri, 18 Nov 2011 11:05:34 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: <4EC55ACA.3080409@free.fr> References: <4EC55ACA.3080409@free.fr> Message-ID: On Thu, Nov 17, 2011 at 8:04 PM, Samuel Gougeon wrote: > Hello, > Could you post on the mailing list a xls sample extracted among your files? > Without such an example, it is difficult to help. > Regards > Samuel What I inserted in the first mail is a cut'n'paste sample, Down to the "------------------------------" its all text in one column. Below that, it's two columns (timestamp in the first and the number to the right in the second). I attached the sample as an .xls file here too if that helps. /Petter > Le 17/11/2011 12:41, Petter Wingren a ?crit : >> >> I am trying to read an excel file that looks somewhat like this (only >> a lot bigger): >> >> Download Time 19:54:08 >> Download Date 11-21-2010 >> -------------------------------------------------- >> 11/21/2010 19:43:30 ? ? 0 >> 11/21/2010 19:43:40 ? ? 0 >> 11/21/2010 19:43:50 ? ? 0 >> 11/21/2010 19:44:00 ? ? 0 >> 11/21/2010 19:44:10 ? ? 0 >> 11/21/2010 19:44:20 ? ? 0 >> 11/21/2010 19:44:30 ? ? 518 >> 11/21/2010 19:44:40 ? ? 1139 >> 11/21/2010 19:44:50 ? ? 1035 >> 11/21/2010 19:45:00 ? ? 501 >> 11/21/2010 19:45:10 ? ? 449 >> 11/21/2010 19:45:20 ? ? 901 >> 11/21/2010 19:45:30 ? ? 545 >> 11/21/2010 19:45:40 ? ? 113 >> 11/21/2010 19:45:50 ? ? 1 >> 11/21/2010 19:46:00 ? ? 37 >> 11/21/2010 19:46:10 ? ? 17 >> 11/21/2010 19:46:20 ? ? 71 >> >> >> After I've read it I want to crop it according to a specific time and >> keep the values in the second column. >> However, when I do >> [fd,SST,Sheetnames,Sheetpos] = xls_open('file.xls') >> [Value,TextInd] = xls_read(fd,Sheetpos) >> >> Value only contains *** in the first column, and TextInd mostly zeroes. >> >> Any suggestions on how to get those timestamps? >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: blue101121sample.xls Type: application/vnd.ms-excel Size: 10240 bytes Desc: not available URL: From nirav3187 at gmail.com Fri Nov 18 11:10:47 2011 From: nirav3187 at gmail.com (Nirav Thakkar) Date: Fri, 18 Nov 2011 15:40:47 +0530 Subject: Scilab Query: Related to stacksize Message-ID: Hi , Good evening. I am a Scilab user and need help. I am using, y = grand(10^6,90,'nor,0,1) to generate 90 columns and 1 million rows of normal distributed Random variables with mean =0 and std=1. But I am getting following error: O=grand(10^6,90,'nor',0,1); !--error 17 Rand: stack size exceeded (Use stacksize function to increase it). I used stacksize('max') but its not solving the problem. Please help me in this regard. Thanks Nirav B Thakkar India -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilles.gobillot at cea.fr Fri Nov 18 13:18:48 2011 From: gilles.gobillot at cea.fr (GOBILLOT Gilles 116128) Date: Fri, 18 Nov 2011 12:18:48 +0000 Subject: [scilab-Users] Scilab Query: Related to stacksize In-Reply-To: References: Message-ID: <59863E6B3B5B7245A7B5660A00E8C899058CAC@EXDAG0-A0.intra.cea.fr> Try : stacksize(1e8) y = grand(10^6,90,'nor',0,1); regards, Gilles ________________________________ De : Nirav Thakkar [mailto:nirav3187 at gmail.com] Envoy? : vendredi 18 novembre 2011 11:11 ? : users at lists.scilab.org Objet : [scilab-Users] Scilab Query: Related to stacksize Hi , Good evening. I am a Scilab user and need help. I am using, y = grand(10^6,90,'nor,0,1) to generate 90 columns and 1 million rows of normal distributed Random variables with mean =0 and std=1. But I am getting following error: O=grand(10^6,90,'nor',0,1); !--error 17 Rand: stack size exceeded (Use stacksize function to increase it). I used stacksize('max') but its not solving the problem. Please help me in this regard. Thanks Nirav B Thakkar India -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Fri Nov 18 13:20:13 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 18 Nov 2011 13:20:13 +0100 Subject: [scilab-Users] Re: Parallel execution In-Reply-To: <1321598724605-3517992.post@n3.nabble.com> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> <4EC4325B.4070901@free.fr> <1321518910219-3515109.post@n3.nabble.com> <1321598724605-3517992.post@n3.nabble.com> Message-ID: <4EC64D7D.9050801@free.fr> Hello, Le 18/11/2011 07:45, christian.wohlschlager at jku.at a ?crit : > .../... > I think the problem was that he started with nb_workers=0 which means take > every cpu and this 3 times. > Thats my first clue am i right. how default to start with 8 provessors ? > You may try with: params = mlist(["plist" "nb_workers"],8); tic;res=parallel_run(1:2000, g, params);toc Samuel From Brian_Hult at cabot-corp.com Fri Nov 18 13:19:52 2011 From: Brian_Hult at cabot-corp.com (Brian_Hult at cabot-corp.com) Date: Fri, 18 Nov 2011 07:19:52 -0500 Subject: [scilab-Users] Scilab Query: Related to stacksize Message-ID: Return Receipt Your RE: [scilab-Users] Scilab Query: Related to stacksize document: was Brian Hult/Billerica/Cabot received by: at: 11/18/2011 07:19:52 AM From antoine.monmayrant at laas.fr Fri Nov 18 13:32:08 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 18 Nov 2011 13:32:08 +0100 Subject: [scilab-Users] Scilab Query: Related to stacksize In-Reply-To: References: Message-ID: <4EC65048.8000205@laas.fr> Le 18/11/2011 11:10, Nirav Thakkar a ?crit : > Hi , > > Good evening. I am a Scilab user and need help. > > I am using, y = grand(10^6,90,'nor,0,1) to generate 90 columns and 1 > million rows of normal distributed Random variables with mean =0 and std=1. > > But I am getting following error: O=grand(10^6,90,'nor',0,1); > !--error 17 > Rand: stack size exceeded (Use > stacksize function to increase it). > > I used stacksize('max') but its not solving the problem. > > Please help me in this regard. Thanks > > Nirav B Thakkar > India > How much RAM do you have on your computer? On mine, I need to crank up stacksize to 1e8 to calculate O, which eats up almost 1GB of RAM! You may not have enough RAM... Antoine From ricci2 at unisi.it Fri Nov 18 14:09:17 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Fri, 18 Nov 2011 14:09:17 +0100 Subject: I do really need help with an editor error In-Reply-To: <4EC65048.8000205@laas.fr> References: <4EC65048.8000205@laas.fr> Message-ID: <4EC658FD.30701@unisi.it> Hi all, please help me... I was working in Scilab 5.3.3 and I had this error when I tried to launch the editor: [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in prolog. Could not load file: C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xml [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in prolog. Could not load file: C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xml java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(Unknown Source) at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) Caused by: java.lang.NullPointerException at org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown Source) at org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown Source) at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown Source) at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown Source) at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Warning !!! Scilab has found a critical error (Unknown exception) with "editor" function. Save your data and restart Scilab. -- ---------------------------------------- Maso RICCI PhD Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via Aldo Moro,2 Siena phone: +390577234367 email: ricci2 at unisi.it ---------------------------------------- From sgougeon at free.fr Fri Nov 18 14:23:44 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 18 Nov 2011 14:23:44 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: References: <4EC55ACA.3080409@free.fr> Message-ID: <4EC65C60.50005@free.fr> Hello Petter, Le 18/11/2011 11:05, Petter Wingren a ?crit : > .../... > What I inserted in the first mail is a cut'n'paste sample, Down to the > "------------------------------" its all text in one column. > Yes, but to test your case, the formating of data (dates) in the excel file is needed. Dates are numbers + special format. > Below that, it's two columns (timestamp in the first and the number to > the right in the second). > > I attached the sample as an .xls file here too if that helps. > > /Petter > For me, it works: -->[fd,SST,Sheetnames,Sheetpos] = xls_open('file.xls'); -->format(12) -->[Value,trash] = xls_read(fd,Sheetpos); -->Value Value = Nan Nan Nan Nan Nan Nan Nan Nan Nan 40503.82153 0. Nan 40503.82164 0. Nan 40503.82176 0. Nan 40503.82188 0. Nan 40503.82199 0. Nan 40503.82211 0. Nan 40503.82222 0. Nan 40503.82234 0. Nan 40503.82245 0. Nan 40503.82257 518. Nan 40503.82269 1139. Nan 40503.8228 1035. Nan 40503.82292 501. Nan 40503.82303 449. Nan 40503.82315 901. Nan 40503.82326 545. Nan 40503.82338 113. Nan 40503.8235 1. Nan 40503.82361 37. Nan 40503.82373 17. Nan 40503.82384 71. Nan 40503.82396 15. Nan 40503.82407 9. Nan 40503.82419 256. Nan 40503.82431 352. Nan 40503.82442 336. Nan 40503.82454 318. Nan 40503.82465 337. Nan 40503.82477 94. Nan 40503.82488 236. Nan 40503.825 432. Nan 40503.82512 225. Nan 40503.82523 637. Nan 40503.82535 427. Nan 40503.82546 388. Nan 40503.82558 291. Nan 40503.82569 168. Nan 40503.82581 272. Nan 40503.82593 264. Nan 40503.82604 318. Nan 40503.82616 297. Nan 40503.82627 263. Nan 40503.82639 261. Nan 40503.8265 73. Nan 40503.82662 45. Nan 40503.82674 2. Nan 40503.82685 8. Nan 40503.82697 27. Nan 40503.82708 92. Nan 40503.8272 160. Nan 40503.82731 291. Nan 40503.82743 116. Nan 40503.82755 87. Nan 40503.82766 157. Nan 40503.82778 548. Nan 40503.82789 2428. Nan 40503.82801 818. Nan Then, you just have to convert dates according to the format you need, either raw numeric as it is "hard-coded", or in a human readable way. For example: d = getdate((Value(4:$,1)-25569)*24*3600); d(:,9) = d(:,9)+d(:,10)/1000; d = d(:,[6 2 1 7 8 9]); msprintf("%02i/%02i/%02i %02i:%02i:%02i\n",d(:,:)) (Amusingly, there is just a shift by 1 hour, likely due to the European convention between summer/winter :-) Samuel From ricci2 at unisi.it Fri Nov 18 14:27:05 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Fri, 18 Nov 2011 14:27:05 +0100 Subject: [scilab-Users] I do really need help with an editor error In-Reply-To: <4EC658FD.30701@unisi.it> References: <4EC65048.8000205@laas.fr> <4EC658FD.30701@unisi.it> Message-ID: <4EC65D29.7020006@unisi.it> ok ... maybe I solved: I deleted the scinotesConfiguration.xml (which was an empty file) and the editor started again ... let me run same script now Il 18/11/2011 14.09, Maso RICCI ha scritto: > Hi all, > > please help me... I was working in Scilab 5.3.3 and I had this error > when I tried to launch the editor: > > > [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > prolog. > Could not load file: > C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xml > [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > prolog. > Could not load file: > C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xml > java.lang.reflect.InvocationTargetException > at java.awt.EventQueue.invokeAndWait(Unknown Source) > at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) > Caused by: java.lang.NullPointerException > at > org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown > Source) > at > org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown > Source) > at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown > Source) > at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown > Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown > Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > Warning !!! > Scilab has found a critical error (Unknown exception) > with "editor" function. > Save your data and restart Scilab. > -- ---------------------------------------- Maso RICCI PhD Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via Aldo Moro,2 Siena phone: +390577234367 email: ricci2 at unisi.it ---------------------------------------- From calixte.denizet at scilab.org Fri Nov 18 14:25:47 2011 From: calixte.denizet at scilab.org (Calixte Denizet) Date: Fri, 18 Nov 2011 14:25:47 +0100 Subject: [scilab-Users] I do really need help with an editor error In-Reply-To: <4EC658FD.30701@unisi.it> References: <4EC65048.8000205@laas.fr> <4EC658FD.30701@unisi.it> Message-ID: <4EC65CDB.4060105@scilab.org> Hi Maso, Could you attach your file C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xm ? and after that just remove it should fix the problem (but I need to have the file to debug) Regards Calixte On 18/11/2011 14:09, Maso RICCI wrote: > Hi all, > > please help me... I was working in Scilab 5.3.3 and I had this error > when I tried to launch the editor: > > > [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > prolog. > Could not load file: > C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xml > [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > prolog. > Could not load file: > C:\DOCUME~1\Maso\DATIAP~1\Scilab\scilab-5.3.3/scinotesConfiguration.xml > java.lang.reflect.InvocationTargetException > at java.awt.EventQueue.invokeAndWait(Unknown Source) > at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) > Caused by: java.lang.NullPointerException > at > org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown > Source) > at > org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown > Source) > at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown > Source) > at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown > Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown > Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > Warning !!! > Scilab has found a critical error (Unknown exception) > with "editor" function. > Save your data and restart Scilab. > From sgougeon at free.fr Fri Nov 18 14:47:07 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 18 Nov 2011 14:47:07 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: References: <4EC55ACA.3080409@free.fr> Message-ID: <4EC661DB.9010909@free.fr> The whole example, with some slight improvements: [fd, SST, Sheetnames, Sheetpos] = xls_open('file.xls'); [Value, trash] = xls_read(fd,Sheetpos); mclose(fd); d = getdate((Value(4:$,1)-25569)*24*3600); d(:,9) = round(d(:,9)+d(:,10)/1000); d = d(:,[6 2 1 7 8 9]); datesText = msprintf("%02i/%02i/%04i %02i:%02i:%02i\n",d(:,:)); -->datesText datesText = !21/11/2010 20:43:00 ! ! ! !21/11/2010 20:43:10 ! ! ! !21/11/2010 20:43:20 ! ! ! !21/11/2010 20:43:30 ! ! ! !21/11/2010 20:43:40 ! ! ! !21/11/2010 20:43:50 ! ! ! ... Samuel From hrdessau at knology.net Fri Nov 18 18:06:14 2011 From: hrdessau at knology.net (Harold Dessau) Date: Fri, 18 Nov 2011 11:06:14 -0600 Subject: Scilab plot annotation is too small Message-ID: <7D0AD7D3-B6E0-4C4E-AEB8-D26F165C1C24@knology.net> I have generated some Scilab 2D plots and copied them onto MS Word at full scale. They are just fine. However, when I must compress the plots to fit a double column page format the annotation also shrinks and is too small to be legible. I would like to tell Scilab to make the original annotation in a larger font. This is undocumented in the help menu. Hal Dessau From Serge.Steer at inria.fr Fri Nov 18 18:58:17 2011 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 18 Nov 2011 18:58:17 +0100 Subject: [scilab-Users] Scilab plot annotation is too small In-Reply-To: <7D0AD7D3-B6E0-4C4E-AEB8-D26F165C1C24@knology.net> References: <7D0AD7D3-B6E0-4C4E-AEB8-D26F165C1C24@knology.net> Message-ID: <4EC69CB9.80803@inria.fr> Le 18/11/2011 18:06, Harold Dessau a ?crit : > I have generated some Scilab 2D plots and copied them onto MS Word at full scale. They are just fine. However, when I must compress the plots to fit a > double column page format the annotation also shrinks and is too small to be legible. > > I would like to tell Scilab to make the original annotation in a larger font. This is undocumented in the help menu. > > Hal Dessau I suppose you are taking about font sizes. You can change it by the following ways 1 for the current graphic window: ax=gca(); ax.font_size=7; or ax.fractional_font="on"; ax.font_size=6;//here font_size given in pt 2 for all subsequent graphic windows: (change of the parameter value in the ressource used to initiate the axes) da=gda(); da.fractional_font="on"; da.font_size=6;//here font_size given in pt In the same manner you can also change colors , font_styles, ..... Serge Steer From hrdessau at knology.net Fri Nov 18 19:26:19 2011 From: hrdessau at knology.net (Harold Dessau) Date: Fri, 18 Nov 2011 12:26:19 -0600 Subject: [scilab-Users] Scilab plot annotation is too small In-Reply-To: <4EC69CB9.80803@inria.fr> References: <7D0AD7D3-B6E0-4C4E-AEB8-D26F165C1C24@knology.net> <4EC69CB9.80803@inria.fr> Message-ID: Serge, Thanks for responding. However, the following code snippet failed in the calling routine: ax=gca(0) ax.font_size=10 exec('/Euler3/plott.sce',2); plott(xplot,yplot,zplot,k); The error message complained about the gca function. Should the snippet have been placed inside the plot routine itself? Hal. On Nov 18, 2011, at 11:58 AM, Serge Steer wrote: > Le 18/11/2011 18:06, Harold Dessau a ?crit : >> I have generated some Scilab 2D plots and copied them onto MS Word at full scale. They are just fine. However, when I must compress the plots to fit a >> double column page format the annotation also shrinks and is too small to be legible. >> >> I would like to tell Scilab to make the original annotation in a larger font. This is undocumented in the help menu. >> >> Hal Dessau > I suppose you are taking about font sizes. You can change it by the following ways > > 1 for the current graphic window: > ax=gca(); > ax.font_size=7; > > or > ax.fractional_font="on"; > ax.font_size=6;//here font_size given in pt > > 2 for all subsequent graphic windows: (change of the parameter value in the ressource used to initiate the axes) > da=gda(); > da.fractional_font="on"; > da.font_size=6;//here font_size given in pt > > > In the same manner you can also change colors , font_styles, ..... > > > Serge Steer -------------- next part -------------- An HTML attachment was scrubbed... URL: From serge.steer at inria.fr Fri Nov 18 20:02:44 2011 From: serge.steer at inria.fr (Serge Steer) Date: Fri, 18 Nov 2011 20:02:44 +0100 (CET) Subject: [scilab-Users] Scilab plot annotation is too small In-Reply-To: Message-ID: <2083143836.112779.1321642964169.JavaMail.root@zmbs3.inria.fr> ----- Mail original ----- > De: "Harold Dessau" > ?: users at lists.scilab.org > Envoy?: Vendredi 18 Novembre 2011 19:26:19 > Objet: Re: [scilab-Users] Scilab plot annotation is too small > Serge, > Thanks for responding. However, the following code snippet failed in > the calling routine: > ax = gca ( 0 ) ax . font_size = 10 exec ( ' /Euler3/plott.sce ' , 2 ) > ; plott ( xplot , yplot , zplot , k ) ; > The error message complained about the gca function. Should the > snippet have been placed inside the plot routine itself? gca must be called without argument. If you want to specify a particular window you can do: scf(0);ax=gca() Serge Steer -------------- next part -------------- An HTML attachment was scrubbed... URL: From hrdessau at knology.net Fri Nov 18 20:21:14 2011 From: hrdessau at knology.net (Harold Dessau) Date: Fri, 18 Nov 2011 13:21:14 -0600 Subject: [scilab-Users] Scilab plot annotation is too small In-Reply-To: <2083143836.112779.1321642964169.JavaMail.root@zmbs3.inria.fr> References: <2083143836.112779.1321642964169.JavaMail.root@zmbs3.inria.fr> Message-ID: <68668A24-E13C-4C3D-893F-89782A2BBEBA@knology.net> Serge, Scilab complained about the lack of an input argument. scf(0);ax=gca(0); !--error 58 Wrong number of input arguments: This function has no input argument. Hal. On Nov 18, 2011, at 1:02 PM, Serge Steer wrote: > > > De: "Harold Dessau" > ?: users at lists.scilab.org > Envoy?: Vendredi 18 Novembre 2011 19:26:19 > Objet: Re: [scilab-Users] Scilab plot annotation is too small > > Serge, > > Thanks for responding. However, the following code snippet failed in the calling routine: > > ax=gca(0) > ax.font_size=10 > exec('/Euler3/plott.sce',2); > plott(xplot,yplot,zplot,k); > The error message complained about the gca function. Should the snippet have been placed inside the plot routine itself? > gca must be called without argument. If you want to specify a particular window you can do: > scf(0);ax=gca() > > Serge Steer > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri Nov 18 20:23:55 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 18 Nov 2011 20:23:55 +0100 Subject: [scilab-Users] Scilab plot annotation is too small In-Reply-To: <68668A24-E13C-4C3D-893F-89782A2BBEBA@knology.net> References: <2083143836.112779.1321642964169.JavaMail.root@zmbs3.inria.fr> <68668A24-E13C-4C3D-893F-89782A2BBEBA@knology.net> Message-ID: <4EC6B0CB.90600@centre-cired.fr> Harold, the function should take 0 input argument, as serge said. On 18/11/2011 20:21, Harold Dessau wrote: > Serge, > > Scilab complained about the lack of an input argument. > scf(0);ax=gca(0); > !--error 58 > Wrong number of input arguments: This function has no input argument. > > > Hal. > >> gca must be called without argument. If you want to specify a >> particular window you can do: >> scf(0);ax=gca() >> >> Serge Steer >> > -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner.cw711 at gmail.com Sat Nov 19 05:11:59 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Fri, 18 Nov 2011 23:11:59 -0500 Subject: [scilab-Users] saisonality in time series In-Reply-To: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D243@truma-mail.truma.com> References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D243@truma-mail.truma.com> Message-ID: Another trick I have found that greatly reduces FFT noise it to temporarily mask any localized "spikes" in the data (such spikes, with a narrow temporal profile have a very broad spectral distribution). One can also try to eliminate any offset by subtracting the mean (or the geometric mean or harmonic mean- the appropriate mean would be dictated by the nature of the data). This should hopefully reduce the scale of the FFT amplitude, making it easier to spot any (especially low-frequency, or seasonal) potential frequency components. On Fri, Nov 18, 2011 at 3:09 AM, Schreckenbach Stephan < s.schreckenbach at truma.com> wrote: > ** > > Hi,**** > > ** ** > > sorry, of course I meant seasonality.**** > > The time series consists of longer term trends, short term noise and short > time seasonality. **** > > oscillations / seasonality, if any, it is most likely to be nonharmonic. I > look for distinct frequencies.**** > > When I did a FFT plot of the original time series there was noise only in > the spectrum.**** > > I will give it a run with the differenciated series / the log of the data. > **** > > There is still the question how to test for significance of the found > seasonality. **** > > ** ** > > Stephan**** > > **** > > **** > ------------------------------ > > *Von:* Charles Warner [mailto:cwarner.cw711 at gmail.com] > *Gesendet:* Freitag, 18. November 2011 00:34 > *An:* users at lists.scilab.org > *Betreff:* Re: [scilab-Users] saisonality in time series**** > > ** ** > > Although "seasonality" is not the term I use for long term trends hidden > in noisy data, I have had some success by taking the log of the data, and > running an FFT on the log data. Usually, I have some prior knowledge of > the long-term periodic trends I expect, so it is relatively easy to > determine quickly if this method works. Plotting the log of the data also > gives one a good feel for whether the data is stationary, or whether there > are windows of data that can be treated as stationary. Any changing > magnitude effect is, of course, reduced when on works with logs, but such > effects can help one understand what the raw data is really telling you. > > Charlie**** > > On Thu, Nov 17, 2011 at 12:40 PM, Mike Page > wrote:**** > > Hi, > > I don't know much about this application, but the Cepstrum can be used to > find hidden periodicity in time series. Might be worth trying? I have > used > it for finding rotational components in the vibration signatures from > rotating machinery. There's a simple example here > (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). > > Mike.**** > > > > -----Original Message----- > From: Petter Wingren [mailto:petterwr at gmail.com] > Sent: 17 November 2011 17:18 > To: users at lists.scilab.org > Subject: Re: [scilab-Users] saisonality in time series > > > Did a quick search but couldnt find anything obvious. I suppose the > word you are looking for is seasonality - maybe that helps in finding > something useful. > > On Thu, Nov 17, 2011 at 3:36 PM, **Schreckenbach Stephan** > wrote: > > > > Hi, > > > > I look for a test of saisonality in time series. > > The time series might be instationary and nonlinear and the saisonality > > / oscillation might have a changing amplitude. Furthermore the > > distribution > > might be unknown as well. > > I need something to test for significant saisonality without knowing / > > estimating a (linear) model of the time series. > > > > ideas I got so far: Chi Square Test for independency: > > I could test for independence of saison and mean value of the data > > > > Chi Square Test to test for different means of two data groups. > > I could test for a difference of the mean between several seasons. > > > > Any more or better ideas? > > > > Thanks in advance, Stephan > > > > > > **** > > ** ** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Sun Nov 20 12:52:17 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Sun, 20 Nov 2011 12:52:17 +0100 Subject: [scilab-Users] Scilab plot annotation is too small In-Reply-To: <4EC6B0CB.90600@centre-cired.fr> References: <2083143836.112779.1321642964169.JavaMail.root@zmbs3.inria.fr> <68668A24-E13C-4C3D-893F-89782A2BBEBA@knology.net> <4EC6B0CB.90600@centre-cired.fr> Message-ID: <4EC8E9F1.9000603@laas.fr> Le 18/11/11 20:23, Adrien Vogt-Schilb a ?crit : > Harold, > > the function should take 0 input argument, as serge said. Well, in a sense Harold used '0' as an argument for gca()! ;-) A less confusing piece of advice would be: "the function gca() should take NO argument". Harold: facing the same situation then you, I tend to call gdf() and gda() at the very beginning of all the scripts I use to create plots: hd=gdf(); ad=gda(); hd.the_propertie_to_change=the_value_that_fit_my_needs; ad.the_other_propertie_to_change=the_value_that_fit_my_needs; ... Antoine > > On 18/11/2011 20:21, Harold Dessau wrote: >> Serge, >> >> Scilab complained about the lack of an input argument. >> scf(0);ax=gca(0); >> !--error 58 >> Wrong number of input arguments: This function has no input argument. >> >> >> Hal. >> >>> gca must be called without argument. If you want to specify a >>> particular window you can do: >>> scf(0);ax=gca() >>> >>> Serge Steer >>> >> > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From reveyrand at gmail.com Sun Nov 20 13:18:39 2011 From: reveyrand at gmail.com (Tibault Reveyrand) Date: Sun, 20 Nov 2011 12:18:39 +0000 (UTC) Subject: scilab on Ubuntu 11.10 References: Message-ID: Here is a way to fix this problem : https://twitter.com/#!/SylvestreLedru/status/138217732360515584 From petterwr at gmail.com Sun Nov 20 13:44:11 2011 From: petterwr at gmail.com (Petter Wingren) Date: Sun, 20 Nov 2011 13:44:11 +0100 Subject: Problems installing the nan-toolbox Message-ID: I havent been able to install the nan-toolbox correctly on my system. I posted the details here: http://atoms.scilab.org/toolboxes/nan/1.2.2/ Any help appreciated. /Petter -------------- next part -------------- An HTML attachment was scrubbed... URL: From petterwr at gmail.com Sun Nov 20 13:57:44 2011 From: petterwr at gmail.com (Petter Wingren) Date: Sun, 20 Nov 2011 13:57:44 +0100 Subject: [scilab-Users] Reading an Excel file with mixed strings and numbers In-Reply-To: <4EC661DB.9010909@free.fr> References: <4EC55ACA.3080409@free.fr> <4EC661DB.9010909@free.fr> Message-ID: Thanks a lot for the input, will probably use some of this in the future when I aim for a fully automated script. I found my mainproblem now however, due to some formatting error every cell in the excel sheet started with a ' . After I removed that everything worked just fine :) On Fri, Nov 18, 2011 at 2:47 PM, Samuel Gougeon wrote: > The whole example, with some slight improvements: > > [fd, SST, Sheetnames, Sheetpos] = xls_open('file.xls'); > [Value, trash] = xls_read(fd,Sheetpos); > mclose(fd); > d = getdate((Value(4:$,1)-25569)***24*3600); > d(:,9) = round(d(:,9)+d(:,10)/1000); > > d = d(:,[6 2 1 7 8 9]); > datesText = msprintf("%02i/%02i/%04i %02i:%02i:%02i\n",d(:,:)); > > -->datesText > datesText = > > !21/11/2010 20:43:00 ! > ! ! > !21/11/2010 20:43:10 ! > ! ! > !21/11/2010 20:43:20 ! > ! ! > !21/11/2010 20:43:30 ! > ! ! > !21/11/2010 20:43:40 ! > ! ! > !21/11/2010 20:43:50 ! > ! ! > > ... > > Samuel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner.cw711 at gmail.com Sun Nov 20 18:25:49 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Sun, 20 Nov 2011 12:25:49 -0500 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: References: Message-ID: "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the issue." The problem is, other software may require libgl1-mesa-glx- changing to *-swx11 may break something else. The two libraries apparently cannot co-exist on the same system. I encountered this with a couple of other software packages I have been working with- the solution is a dual boot system, one with *-glx to satisfy one software package, the other with *-swx11 to satisfy the other software package. Not an elegant solution... On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrand wrote: > Here is a way to fix this problem : > > https://twitter.com/#!/SylvestreLedru/status/138217732360515584 > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Sun Nov 20 21:03:18 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Sun, 20 Nov 2011 21:03:18 +0100 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: References: Message-ID: <4EC95D06.2040306@laas.fr> Le 20/11/11 18:25, Charles Warner a ?crit : > "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the > issue." The problem is, other software may require libgl1-mesa-glx- > changing to *-swx11 may break something else. The two libraries > apparently cannot co-exist on the same system. I encountered this > with a couple of other software packages I have been working with- the > solution is a dual boot system, one with *-glx to satisfy one software > package, the other with *-swx11 to satisfy the other software > package. Not an elegant solution... Why don't you chroot instead of dualboot? This could be a more elegant solution, even if it's not perfect. > > On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrand > > wrote: > > Here is a way to fix this problem : > > https://twitter.com/#!/SylvestreLedru/status/138217732360515584 > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner.cw711 at gmail.com Sun Nov 20 22:19:23 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Sun, 20 Nov 2011 16:19:23 -0500 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: <4EC95D06.2040306@laas.fr> References: <4EC95D06.2040306@laas.fr> Message-ID: Anttoine- My version of Linux (Ubuntu 10.04) will not allow me to install the two libraries simultaneously on the same file system. I have not considered chroot- I don't know if it will find the alternative file system. Worth a try, I suppose. Since I like to keep two instances of the entire distro on my computer (one, my "working" system, one my "experimental" system) rebooting has always been my "lazy" approach. I'm not sure how to use chroot in this process, since both systems have root named "/"...maybe worth experimentings with. Charlie On Sun, Nov 20, 2011 at 3:03 PM, Antoine Monmayrant < antoine.monmayrant at laas.fr> wrote: > Le 20/11/11 18:25, Charles Warner a ?crit : > > "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the > issue." The problem is, other software may require libgl1-mesa-glx- > changing to *-swx11 may break something else. The two libraries apparently > cannot co-exist on the same system. I encountered this with a couple of > other software packages I have been working with- the solution is a dual > boot system, one with *-glx to satisfy one software package, the other with > *-swx11 to satisfy the other software package. Not an elegant solution... > > Why don't you chroot instead of dualboot? > This could be a more elegant solution, even if it's not perfect. > > > On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrand wrote: > >> Here is a way to fix this problem : >> >> https://twitter.com/#!/SylvestreLedru/status/138217732360515584 >> >> >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nanrehsoriuq at hotmail.com Sun Nov 20 22:17:36 2011 From: nanrehsoriuq at hotmail.com (=?iso-8859-1?B?SGVybuFuIFF1aXLzcw==?=) Date: Sun, 20 Nov 2011 21:17:36 +0000 Subject: exercise Message-ID: hello ..... I have to submit the resolution of exercise scilab code attachment by using theRunge Kutta method of order 4 and euler without using the program defined functions ....and find no error ???????? need help pleasemany thanks pd. also attached the statement The following equations define the concentrations of three reactants dCa/dt= -20CaCc+2Cb dCb/dt=20CaCc-2Cb dCc/dt= -20CaCc+2Cb-0.2Cc 1. Develop code Runge Kutta of order 4 and one of Euler to solve the problem.2. If initial conditions are Ca = 500, Cb = 0, CC = 500. Halle concentrations for times ranging from 0 to 30 seconds3. Compare justify and interpret the results: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cansado de hacerlo3.sci Type: application/octet-stream Size: 1450 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: metodo de euler.sci Type: application/octet-stream Size: 817 bytes Desc: not available URL: From aelink0 at gmail.com Mon Nov 21 01:45:58 2011 From: aelink0 at gmail.com (Ivan) Date: Sun, 20 Nov 2011 17:45:58 -0700 Subject: scilab to c++ Message-ID: <4EC99F46.3020906@gmail.com> Dear All, sorry for the inconvenience.. I have a question: How to convert ths Scilab programing language to C/C++ code? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.schreckenbach at truma.com Mon Nov 21 09:00:57 2011 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Mon, 21 Nov 2011 09:00:57 +0100 Subject: AW: [scilab-Users] saisonality in time series In-Reply-To: References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D243@truma-mail.truma.com> Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D245@truma-mail.truma.com> Filtering temporal spikes is a good idea, since there are some of them. I will try that. The data sample as around 7000 data points, the frequency I look for is around 1/10 * sample rate. May be there are methods that are better suited for identifying frequency components in that kind of data? FFT always describes the time series by harmonic oszillations, which might not work well if oscillations are not (strictly) harmonic. What about wavelets (don't know much about it yet, though)? Stephan ________________________________ Von: Charles Warner [mailto:cwarner.cw711 at gmail.com] Gesendet: Samstag, 19. November 2011 05:12 An: users at lists.scilab.org Betreff: Re: [scilab-Users] saisonality in time series Another trick I have found that greatly reduces FFT noise it to temporarily mask any localized "spikes" in the data (such spikes, with a narrow temporal profile have a very broad spectral distribution). One can also try to eliminate any offset by subtracting the mean (or the geometric mean or harmonic mean- the appropriate mean would be dictated by the nature of the data). This should hopefully reduce the scale of the FFT amplitude, making it easier to spot any (especially low-frequency, or seasonal) potential frequency components. On Fri, Nov 18, 2011 at 3:09 AM, Schreckenbach Stephan wrote: Hi, sorry, of course I meant seasonality. The time series consists of longer term trends, short term noise and short time seasonality. oscillations / seasonality, if any, it is most likely to be nonharmonic. I look for distinct frequencies. When I did a FFT plot of the original time series there was noise only in the spectrum. I will give it a run with the differenciated series / the log of the data. There is still the question how to test for significance of the found seasonality. Stephan ________________________________ Von: Charles Warner [mailto:cwarner.cw711 at gmail.com] Gesendet: Freitag, 18. November 2011 00:34 An: users at lists.scilab.org Betreff: Re: [scilab-Users] saisonality in time series Although "seasonality" is not the term I use for long term trends hidden in noisy data, I have had some success by taking the log of the data, and running an FFT on the log data. Usually, I have some prior knowledge of the long-term periodic trends I expect, so it is relatively easy to determine quickly if this method works. Plotting the log of the data also gives one a good feel for whether the data is stationary, or whether there are windows of data that can be treated as stationary. Any changing magnitude effect is, of course, reduced when on works with logs, but such effects can help one understand what the raw data is really telling you. Charlie On Thu, Nov 17, 2011 at 12:40 PM, Mike Page wrote: Hi, I don't know much about this application, but the Cepstrum can be used to find hidden periodicity in time series. Might be worth trying? I have used it for finding rotational components in the vibration signatures from rotating machinery. There's a simple example here (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). Mike. -----Original Message----- From: Petter Wingren [mailto:petterwr at gmail.com] Sent: 17 November 2011 17:18 To: users at lists.scilab.org Subject: Re: [scilab-Users] saisonality in time series Did a quick search but couldnt find anything obvious. I suppose the word you are looking for is seasonality - maybe that helps in finding something useful. On Thu, Nov 17, 2011 at 3:36 PM, Schreckenbach Stephan wrote: > > Hi, > > I look for a test of saisonality in time series. > The time series might be instationary and nonlinear and the saisonality > / oscillation might have a changing amplitude. Furthermore the > distribution > might be unknown as well. > I need something to test for significant saisonality without knowing / > estimating a (linear) model of the time series. > > ideas I got so far: Chi Square Test for independency: > I could test for independence of saison and mean value of the data > > Chi Square Test to test for different means of two data groups. > I could test for a difference of the mean between several seasons. > > Any more or better ideas? > > Thanks in advance, Stephan > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ginters.buss at gmail.com Mon Nov 21 09:28:09 2011 From: ginters.buss at gmail.com (=?UTF-8?Q?Ginters_Bu=C5=A1s?=) Date: Mon, 21 Nov 2011 10:28:09 +0200 Subject: [scilab-Users] saisonality in time series In-Reply-To: <17ca82a891ce452ca48b9a0c758608a3@CAS2.rtupasts.lan> References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D243@truma-mail.truma.com> <17ca82a891ce452ca48b9a0c758608a3@CAS2.rtupasts.lan> Message-ID: Better stick with DFT, smoothed DFT or try seasonal adjustment freeware Demetra+ - that's what official statisticians might do. gin On Mon, Nov 21, 2011 at 10:00 AM, Schreckenbach Stephan < s.schreckenbach at truma.com> wrote: > ** > > Filtering temporal spikes is a good idea, since there are some of them. I > will try that.**** > > The data sample as around 7000 data points, the frequency I look for is > around 1/10 * sample rate.**** > > ** ** > > May be there are methods that are better suited for identifying frequency > components in that kind of data?**** > > FFT always describes the time series by harmonic oszillations, which might > not work well**** > > if oscillations are not (strictly) harmonic.**** > > ** ** > > What about wavelets (don?t know much about it yet, though)?**** > > ** ** > > ** ** > > Stephan**** > > **** > > **** > ------------------------------ > > *Von:* Charles Warner [mailto:cwarner.cw711 at gmail.com] > *Gesendet:* Samstag, 19. November 2011 05:12 > > *An:* **users at lists.scilab.org** > *Betreff:* Re: [scilab-Users] saisonality in time series > **** > > ** ** > > Another trick I have found that greatly reduces FFT noise it to > temporarily mask any localized "spikes" in the data (such spikes, with a > narrow temporal profile have a very broad spectral distribution). One can > also try to eliminate any offset by subtracting the mean (or the geometric > mean or harmonic mean- the appropriate mean would be dictated by the nature > of the data). This should hopefully reduce the scale of the FFT amplitude, > making it easier to spot any (especially low-frequency, or seasonal) > potential frequency components.**** > > On Fri, Nov 18, 2011 at 3:09 AM, **Schreckenbach Stephan** < > s.schreckenbach at truma.com> wrote:**** > > Hi,**** > > **** > > sorry, of course I meant seasonality.**** > > The time series consists of longer term trends, short term noise and short > time seasonality. **** > > oscillations / seasonality, if any, it is most likely to be nonharmonic. I > look for distinct frequencies.**** > > When I did a FFT plot of the original time series there was noise only in > the spectrum.**** > > I will give it a run with the differenciated series / the log of the data. > **** > > There is still the question how to test for significance of the found > seasonality. **** > > **** > > Stephan**** > > **** > > **** > ------------------------------ > > *Von:* Charles Warner [mailto:cwarner.cw711 at gmail.com] > *Gesendet:* Freitag, 18. November 2011 00:34 > *An:* users at lists.scilab.org > *Betreff:* Re: [scilab-Users] saisonality in time series**** > > **** > > Although "seasonality" is not the term I use for long term trends hidden > in noisy data, I have had some success by taking the log of the data, and > running an FFT on the log data. Usually, I have some prior knowledge of > the long-term periodic trends I expect, so it is relatively easy to > determine quickly if this method works. Plotting the log of the data also > gives one a good feel for whether the data is stationary, or whether there > are windows of data that can be treated as stationary. Any changing > magnitude effect is, of course, reduced when on works with logs, but such > effects can help one understand what the raw data is really telling you. > > Charlie**** > > On Thu, Nov 17, 2011 at 12:40 PM, Mike Page > wrote:**** > > Hi, > > I don't know much about this application, but the Cepstrum can be used to > find hidden periodicity in time series. Might be worth trying? I have > used > it for finding rotational components in the vibration signatures from > rotating machinery. There's a simple example here > (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). > > Mike.**** > > > > -----Original Message----- > From: Petter Wingren [mailto:petterwr at gmail.com] > Sent: 17 November 2011 17:18 > To: users at lists.scilab.org > Subject: Re: [scilab-Users] saisonality in time series > > > Did a quick search but couldnt find anything obvious. I suppose the > word you are looking for is seasonality - maybe that helps in finding > something useful. > > On Thu, Nov 17, 2011 at 3:36 PM, **Schreckenbach Stephan** > wrote: > > > > Hi, > > > > I look for a test of saisonality in time series. > > The time series might be instationary and nonlinear and the saisonality > > / oscillation might have a changing amplitude. Furthermore the > > distribution > > might be unknown as well. > > I need something to test for significant saisonality without knowing / > > estimating a (linear) model of the time series. > > > > ideas I got so far: Chi Square Test for independency: > > I could test for independence of saison and mean value of the data > > > > Chi Square Test to test for different means of two data groups. > > I could test for a difference of the mean between several seasons. > > > > Any more or better ideas? > > > > Thanks in advance, Stephan > > > >**** > > **** > > ** ** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Mon Nov 21 09:40:05 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 21 Nov 2011 09:40:05 +0100 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: References: <4EC95D06.2040306@laas.fr> Message-ID: <4ECA0E65.7080806@laas.fr> Le 20/11/2011 22:19, Charles Warner a ?crit : > Anttoine- > My version of Linux (Ubuntu 10.04) will not allow me to install the two > libraries simultaneously on the same file system. I have not considered > chroot- I don't know if it will find the alternative file system. Worth a > try, I suppose. Since I like to keep two instances of the entire distro on > my computer (one, my "working" system, one my "experimental" system) > rebooting has always been my "lazy" approach. I'm not sure how to use > chroot in this process, since both systems have root named "/"...maybe > worth experimentings with. Well, we use it at work (I have to admit I was not the one setting it up) and it's quite convenient. Basically, the only common points between your two systems will be the linux kernel. Apart from the kernel, the two systems are totally independent and have their one filesystems. We use it to run a debian distro (that have nice packages for electromagnetic simulations) on a centos system (needed for a lot of other simulations softwares). Switching from Centos to Debian is as easy as "/local/chroot/debian" and it's even easier to switch back: "exit". We didn't bother setting up the X server on Debian (the softs we use are command-line only) but it might be possible to share the same X server on both systems. Cheers, Antoine > Charlie > On Sun, Nov 20, 2011 at 3:03 PM, Antoine Monmayrant< > antoine.monmayrant at laas.fr> wrote: > >> Le 20/11/11 18:25, Charles Warner a ?crit : >> >> "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the >> issue." The problem is, other software may require libgl1-mesa-glx- >> changing to *-swx11 may break something else. The two libraries apparently >> cannot co-exist on the same system. I encountered this with a couple of >> other software packages I have been working with- the solution is a dual >> boot system, one with *-glx to satisfy one software package, the other with >> *-swx11 to satisfy the other software package. Not an elegant solution... >> >> Why don't you chroot instead of dualboot? >> This could be a more elegant solution, even if it's not perfect. >> >> >> On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrandwrote: >> >>> Here is a way to fix this problem : >>> >>> https://twitter.com/#!/SylvestreLedru/status/138217732360515584 >>> >>> >>> >>> >>> >>> >> -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From Mike at Page-One.Waitrose.com Mon Nov 21 10:24:41 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Mon, 21 Nov 2011 09:24:41 -0000 Subject: [scilab-Users] scilab to c++ In-Reply-To: <4EC99F46.3020906@gmail.com> Message-ID: Did you already try Scilab2C (http://atoms.scilab.org/toolboxes/scilab2c/1.1)? If so, what problems did you have? Mike. -----Original Message----- From: Ivan [mailto:aelink0 at gmail.com] Sent: 21 November 2011 00:46 To: users at lists.scilab.org Subject: [scilab-Users] scilab to c++ Dear All, sorry for the inconvenience.. I have a question: How to convert ths Scilab programing language to C/C++ code? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Mon Nov 21 14:29:47 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 21 Nov 2011 14:29:47 +0100 Subject: Returning matrix of unknown dimensions from C library Message-ID: <4ECA524B.8080001@laas.fr> Hi everyone, I am trying to extend scilab using a C library (libtiff to read 16bits tiff images). I have a problem using ilib_for_link/call: Is there a way to call a C function that returns a matrix without knowing a priori its width and height? Cheers, Antoine From jasper at amsterchem.com Mon Nov 21 14:34:44 2011 From: jasper at amsterchem.com (jasper van baten) Date: Mon, 21 Nov 2011 14:34:44 +0100 Subject: [scilab-Users] Returning matrix of unknown dimensions from C library In-Reply-To: <4ECA524B.8080001@laas.fr> References: <4ECA524B.8080001@laas.fr> Message-ID: <4ECA5374.9080109@amsterchem.com> Antoine, One solution is make a script that calls two functions in your C library. The first external function call returns the dimensions, the second one gets called with an allocated matrix of the proper size and sets the data, Best wishes, Jasper. On 11/21/2011 14:29, Antoine Monmayrant wrote: > Hi everyone, > > I am trying to extend scilab using a C library (libtiff to read 16bits > tiff images). > I have a problem using ilib_for_link/call: > Is there a way to call a C function that returns a matrix without > knowing a priori its width and height? > > Cheers, > > Antoine > > From antoine.monmayrant at laas.fr Mon Nov 21 14:36:38 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 21 Nov 2011 14:36:38 +0100 Subject: [scilab-Users] Returning matrix of unknown dimensions from C library In-Reply-To: <4ECA5374.9080109@amsterchem.com> References: <4ECA524B.8080001@laas.fr> <4ECA5374.9080109@amsterchem.com> Message-ID: <4ECA53E6.1080901@laas.fr> Le 21/11/2011 14:34, jasper van baten a ?crit : > Antoine, > > One solution is make a script that calls two functions in your C > library. The first external function call returns the dimensions, the > second one gets called with an allocated matrix of the proper size and > sets the data, > > Best wishes, > > Jasper. Thanks for your quick answer. That's what I am currently doing, but I was wondering whether I could find something a bit more elegant! Antoine > > On 11/21/2011 14:29, Antoine Monmayrant wrote: >> Hi everyone, >> >> I am trying to extend scilab using a C library (libtiff to read >> 16bits tiff images). >> I have a problem using ilib_for_link/call: >> Is there a way to call a C function that returns a matrix without >> knowing a priori its width and height? >> >> Cheers, >> >> Antoine >> >> > From cwarner.cw711 at gmail.com Mon Nov 21 22:40:21 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Mon, 21 Nov 2011 16:40:21 -0500 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: <4ECA0E65.7080806@laas.fr> References: <4EC95D06.2040306@laas.fr> <4ECA0E65.7080806@laas.fr> Message-ID: Just gave chroot a try- works nicely, but my system won't let me run a second X server, which seems to limit the second root to command line only. Useful, but not much imporvement over my reboot approach. Note that I can access files on either system from whatever system is active...I could run Scilab from the command line on the new root, but, since Scilab comes installed and configured on my preferred distro, I really have no need to do this. What I use the dual boot system for primarily is to have an "experimental" system where I can try out new software, check for conflicts, etc. before adding it to my "working" system. As time goes on, my "experimental" system starts looking more like my "working" system- when it seems stable enough, and has all the critical functions I need, I then start using it as the "working" system, and the old system is discarded and a new base distro can be explored without causing problems. This also gives me the chance to evaluate new releases of projects like Scilab without losing my existing capabilities. The conflict between the libgl versions that I encountered actually occurred when trying to run Dassault Systemes' DraftSight2 (latest release) on the same platform as Salome. Not being to fond of the idea of rebooting to switch between systems to resolve library conflicts, and the fact that an older version of DraftSight2 plays nicely with Salome, and the fact that Salome is by far the more important package, Salome wins. I am not sure I could easily make the same choice with Scilab requiring a different library version- although rebooting to run Scilab is not nearly as unpalatable as the other two, since I seldom, if ever, need to run Scilab when I am running Salome. The question is, are ther atoms that rely on one version of the libgl library while other atoms rely on the other version? This is a conflict I have never encountered on Linux before, but, I suspect that, with the "desktop wars" between Gnome 3 and Unity running rampant, I suspect we can look for more such conflicts in the future... Charlie On Mon, Nov 21, 2011 at 3:40 AM, Antoine Monmayrant < antoine.monmayrant at laas.fr> wrote: > Le 20/11/2011 22:19, Charles Warner a ?crit : > > Anttoine- >> My version of Linux (Ubuntu 10.04) will not allow me to install the two >> libraries simultaneously on the same file system. I have not considered >> chroot- I don't know if it will find the alternative file system. Worth a >> try, I suppose. Since I like to keep two instances of the entire distro >> on >> my computer (one, my "working" system, one my "experimental" system) >> rebooting has always been my "lazy" approach. I'm not sure how to use >> chroot in this process, since both systems have root named "/"...maybe >> worth experimentings with. >> > Well, we use it at work (I have to admit I was not the one setting it up) > and it's quite convenient. > Basically, the only common points between your two systems will be the > linux kernel. > Apart from the kernel, the two systems are totally independent and have > their one filesystems. > We use it to run a debian distro (that have nice packages for > electromagnetic simulations) on a centos system (needed for a lot of other > simulations softwares). > Switching from Centos to Debian is as easy as "/local/chroot/debian" and > it's even easier to switch back: "exit". > We didn't bother setting up the X server on Debian (the softs we use are > command-line only) but it might be possible to share the same X server on > both systems. > > Cheers, > > Antoine > > Charlie >> On Sun, Nov 20, 2011 at 3:03 PM, Antoine Monmayrant< >> antoine.monmayrant at laas.fr> wrote: >> >> Le 20/11/11 18:25, Charles Warner a ?crit : >>> >>> "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the >>> issue." The problem is, other software may require libgl1-mesa-glx- >>> changing to *-swx11 may break something else. The two libraries >>> apparently >>> cannot co-exist on the same system. I encountered this with a couple of >>> other software packages I have been working with- the solution is a dual >>> boot system, one with *-glx to satisfy one software package, the other >>> with >>> *-swx11 to satisfy the other software package. Not an elegant >>> solution... >>> >>> Why don't you chroot instead of dualboot? >>> This could be a more elegant solution, even if it's not perfect. >>> >>> >>> On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrand* >>> *wrote: >>> >>> Here is a way to fix this problem : >>>> >>>> https://twitter.com/#!/**SylvestreLedru/status/**138217732360515584 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> > > -- > ++++++++++++++++++++++++++++++**+++++++++++++++++++++++++ > > Antoine Monmayrant LAAS - CNRS > 7 avenue du Colonel Roche > 31077 TOULOUSE > Cedex 4 FRANCE > > Tel:+33 5 61 33 64 59 > > email : antoine.monmayrant at laas.fr > permanent email : antoine.monmayrant@**polytechnique.org > > ++++++++++++++++++++++++++++++**+++++++++++++++++++++++++ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner.cw711 at gmail.com Mon Nov 21 23:57:20 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Mon, 21 Nov 2011 17:57:20 -0500 Subject: [scilab-Users] saisonality in time series In-Reply-To: References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D243@truma-mail.truma.com> <17ca82a891ce452ca48b9a0c758608a3@CAS2.rtupasts.lan> Message-ID: Stephan- Sounds like you are working with data sets that resemble some that I work with frequently. About the same size, non-stationary seasonality (which I prefer to call low-frequency periodic trends), high, non-stationary temporally variable "noisy" signals. I usually have a priori knowledge that there is likely aliasing due to the fact that I am limited in sampling rate vs. total time period (varying the sampling rate for different collection instances can sometimes resolve at least part of this issue). I haven't figured out how to get the aliasing out of the system, although there should be some way to do this based on "unfolding" the spectrum. Anyway, the approach I take is this. Starting with a COPY of the raw data, I run it through NIST Dataplotto get a feel for the data, using what they call the 4-plot. This gives me a feel for the periodicity, auto-correlation, statistical distribution, and helps me identify the "ouliers" (i.e., spikes, 0's, any data point that is "unusual"), which are then filtered out by replacing specific data points with a "more reasonable" value (which is why I use a copy of the raw data, rather than the original). Usually use a spreadsheet for this. I might run the data through Dataplot a couple of times to evaluate the effects my "filtering" have had. Usually, still in the spreadsheet, I next remove the "DC offset" by subtracting one of the Pythagorean means. Which is appropriate depends on the nature of the data. This reduces the low end of the spectrum, which is where the "trends" are located. For the Fourier analysis, I could stay with Dataplot, but I find it much easier to extract information from the Scilab approach. Furthermore, Scilab offers an alternative DFT processcalled MESE. The Maximum Entropy Spectral Estimate (MESE), designed to produce high-resolution, low-bias spectral estimate (refer to page 128 of the *Signal processing With Scilab*manual, or available here ). MESE incorporates no information in the estimated spectrum about the autocorrelation lags. That is to say that the bias resulting from the leakage from the window sidelobes should be eliminated (or at least minimized in some sense). In other words, one tends to get cleaner "spikes" in the spectrum. It is much easier to pick out the lower-frequency components of the signals with this procedure. One then subtracts these components from the working data, and repeats the process. Ideally, you have extracted all of the available information from the data when the residual is Gaussian white noise (a point I have never actually reached in practice). I don't believe "windowing" techniques will work with low-frequency components, although I could be mistaken in this. I have toyed with windowing when I have reduced my residual to what has the appearance of a frequency-modulated signal- but, then, I am looking to characterize such events. The information you are trying to extract will ultimately dictate what approach you take. I am attaching a "working document" that I have put together giving more detail on this approach. Charlie 2011/11/21 Ginters Bu?s > Better stick with DFT, smoothed DFT or try seasonal adjustment freeware > Demetra+ - that's what official statisticians might do. > > gin > > > On Mon, Nov 21, 2011 at 10:00 AM, Schreckenbach Stephan < > s.schreckenbach at truma.com> wrote: > >> ** >> >> Filtering temporal spikes is a good idea, since there are some of them. I >> will try that.**** >> >> The data sample as around 7000 data points, the frequency I look for is >> around 1/10 * sample rate.**** >> >> ** ** >> >> May be there are methods that are better suited for identifying frequency >> components in that kind of data?**** >> >> FFT always describes the time series by harmonic oszillations, which >> might not work well**** >> >> if oscillations are not (strictly) harmonic.**** >> >> ** ** >> >> What about wavelets (don?t know much about it yet, though)?**** >> >> ** ** >> >> ** ** >> >> Stephan**** >> >> **** >> >> **** >> ------------------------------ >> >> *Von:* Charles Warner [mailto:cwarner.cw711 at gmail.com] >> *Gesendet:* Samstag, 19. November 2011 05:12 >> >> *An:* **users at lists.scilab.org** >> *Betreff:* Re: [scilab-Users] saisonality in time series >> **** >> >> ** ** >> >> Another trick I have found that greatly reduces FFT noise it to >> temporarily mask any localized "spikes" in the data (such spikes, with a >> narrow temporal profile have a very broad spectral distribution). One can >> also try to eliminate any offset by subtracting the mean (or the geometric >> mean or harmonic mean- the appropriate mean would be dictated by the nature >> of the data). This should hopefully reduce the scale of the FFT amplitude, >> making it easier to spot any (especially low-frequency, or seasonal) >> potential frequency components.**** >> >> On Fri, Nov 18, 2011 at 3:09 AM, **Schreckenbach Stephan** < >> s.schreckenbach at truma.com> wrote:**** >> >> Hi,**** >> >> **** >> >> sorry, of course I meant seasonality.**** >> >> The time series consists of longer term trends, short term noise and >> short time seasonality. **** >> >> oscillations / seasonality, if any, it is most likely to be nonharmonic. >> I look for distinct frequencies.**** >> >> When I did a FFT plot of the original time series there was noise only in >> the spectrum.**** >> >> I will give it a run with the differenciated series / the log of the >> data. **** >> >> There is still the question how to test for significance of the found >> seasonality. **** >> >> **** >> >> Stephan**** >> >> **** >> >> **** >> ------------------------------ >> >> *Von:* Charles Warner [mailto:cwarner.cw711 at gmail.com] >> *Gesendet:* Freitag, 18. November 2011 00:34 >> *An:* users at lists.scilab.org >> *Betreff:* Re: [scilab-Users] saisonality in time series**** >> >> **** >> >> Although "seasonality" is not the term I use for long term trends hidden >> in noisy data, I have had some success by taking the log of the data, and >> running an FFT on the log data. Usually, I have some prior knowledge of >> the long-term periodic trends I expect, so it is relatively easy to >> determine quickly if this method works. Plotting the log of the data also >> gives one a good feel for whether the data is stationary, or whether there >> are windows of data that can be treated as stationary. Any changing >> magnitude effect is, of course, reduced when on works with logs, but such >> effects can help one understand what the raw data is really telling you. >> >> Charlie**** >> >> On Thu, Nov 17, 2011 at 12:40 PM, Mike Page >> wrote:**** >> >> Hi, >> >> I don't know much about this application, but the Cepstrum can be used to >> find hidden periodicity in time series. Might be worth trying? I have >> used >> it for finding rotational components in the vibration signatures from >> rotating machinery. There's a simple example here >> (http://www.dliengineering.com/downloads/cepstrum%20analysis.pdf). >> >> Mike.**** >> >> >> >> -----Original Message----- >> From: Petter Wingren [mailto:petterwr at gmail.com] >> Sent: 17 November 2011 17:18 >> To: users at lists.scilab.org >> Subject: Re: [scilab-Users] saisonality in time series >> >> >> Did a quick search but couldnt find anything obvious. I suppose the >> word you are looking for is seasonality - maybe that helps in finding >> something useful. >> >> On Thu, Nov 17, 2011 at 3:36 PM, **Schreckenbach Stephan** >> wrote: >> > >> > Hi, >> > >> > I look for a test of saisonality in time series. >> > The time series might be instationary and nonlinear and the saisonality >> > / oscillation might have a changing amplitude. Furthermore the >> > distribution >> > might be unknown as well. >> > I need something to test for significant saisonality without knowing / >> > estimating a (linear) model of the time series. >> > >> > ideas I got so far: Chi Square Test for independency: >> > I could test for independence of saison and mean value of the data >> > >> > Chi Square Test to test for different means of two data groups. >> > I could test for a difference of the mean between several seasons. >> > >> > Any more or better ideas? >> > >> > Thanks in advance, Stephan >> > >> >**** >> >> **** >> >> ** ** >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Summary.odt Type: application/vnd.oasis.opendocument.text Size: 298787 bytes Desc: not available URL: From sylvestre.ledru at scilab.org Tue Nov 22 00:58:31 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 22 Nov 2011 00:58:31 +0100 Subject: [scilab-Users] Parallel execution In-Reply-To: <4EC3F4360200003800029F4D@gwia1.im.jku.at> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> Message-ID: <1321919911.18000.10.camel@pomegues.inria.fr> Hello Christian, Le mercredi 16 novembre 2011 ? 17:34 +0100, Christian Wohlschlager a ?crit : > Hi ! > > > I want to use scilab on my SGI UV 1000 with 2000 Cores ,i download it > (the binary version) everything ok, the parallel option seems ??? to > be installed so i try it but while i monitor the cpu i coudn't find > out that scilab is using more than 1 CPU. [..] It depends what you want to do. Scilab has several ways to use this kind of architecture: * As Samuel said, parallel_run is one way [0] * Under Linux, we do no ship with MKL, Gotoblas neither Atlas (but with a very slow refblas). If you switch to one of them you will get both great performances and all core being used during matrix computations. * GPGPU: you can give a try to our GPGPU extensions (don't hesitate if you have any feedback). [1] * If you are more into grid/cloud computing, you can give a try to proactive [2] * In Scilab, even it is a bit outdated, you will find a PVM interface [3]. * Finally, if you are familiar on the build process of an linux application, you can try with the MPI implementation of Scilab (in the git branch "MPI") Hope this helps, Sylvestre [0] http://help.scilab.org/parallel_run [1] http://atoms.scilab.org/toolboxes/sciGPGPU [2] http://proactive.inria.fr/ [3] http://help.scilab.org/pvm From Christian.Wohlschlager at jku.at Tue Nov 22 08:19:30 2011 From: Christian.Wohlschlager at jku.at (christian.wohlschlager@jku.at) Date: Mon, 21 Nov 2011 23:19:30 -0800 (PST) Subject: Parallel execution In-Reply-To: <1321919911.18000.10.camel@pomegues.inria.fr> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> <1321919911.18000.10.camel@pomegues.inria.fr> Message-ID: <4ECB5AFD020000380002A099@gwia1.im.jku.at> ** Reply Requested When Convenient ** Dear Sylvestre ! Thank you for the reply I'm using scilab on a SGI UV 1000 with 2000 cores I try the example programm with no params that's why i chrashed , yes ok, but how can i prevent the users to do the sane as i did . Currently i try with limit maxproec 128 (not 16 000 as default parameter) on the command line.I didnt test it right now becouse i have to be sure that nobody is on the machine exept me otherwise :-( my boss will cut me into pieces. Do you have aby other sussestion ?? thank you Christian Christian Wohlschlager JKU Universit?t Linz Altenbergerstr.69 4040 Linz Austria >>> "sylvestre [via Scilab / Xcos - Mailing Lists Archives]" 11/22/2011 12:59 AM >>> Hello Christian, Le mercredi 16 novembre 2011 ? 17:34 +0100, Christian Wohlschlager a ??crit : > Hi ! > > > I want to use scilab on my SGI UV 1000 with 2000 Cores ,i download it > (the binary version) everything ok, the parallel option seems ??? to > be installed so i try it but while i monitor the cpu i coudn't find > out that scilab is using more than 1 CPU. [..] It depends what you want to do. Scilab has several ways to use this kind of architecture: * As Samuel said, parallel_run is one way [0] * Under Linux, we do no ship with MKL, Gotoblas neither Atlas (but with a very slow refblas). If you switch to one of them you will get both great performances and all core being used during matrix computations. * GPGPU: you can give a try to our GPGPU extensions (don't hesitate if you have any feedback). [1] * If you are more into grid/cloud computing, you can give a try to proactive [2] * In Scilab, even it is a bit outdated, you will find a PVM interface [3]. * Finally, if you are familiar on the build process of an linux application, you can try with the MPI implementation of Scilab (in the git branch "MPI") Hope this helps, Sylvestre [0] http://help.scilab.org/parallel_run [1] http://atoms.scilab.org/toolboxes/sciGPGPU [2] http://proactive.inria.fr/ [3] http://help.scilab.org/pvm If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Parallel-execution-tp3513234p3526453.html To unsubscribe from Parallel execution, click here ( http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3513234&code=Q2hyaXN0aWFuLldvaGxzY2hsYWdlckBqa3UuYXR8MzUxMzIzNHwtMTkxOTc1OTU3Nw== ). NAML ( http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml ) -- View this message in context: http://mailinglists.scilab.org/Parallel-execution-tp3513234p3527044.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue Nov 22 09:25:04 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 22 Nov 2011 09:25:04 +0100 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: References: <4EC95D06.2040306@laas.fr> <4ECA0E65.7080806@laas.fr> Message-ID: <4ECB5C60.7010308@laas.fr> By the way, did you try modules to get both libraries at the same time? ( http://modules.sourceforge.net/ ) It is installed on a cluster I have access to and it's quite efficient. Basically you can do things like "module load gcc/3.1.1" and "module load scilab/4.1.2" to get gcc3.1.1 and scilab4.1.2 as your default compiler and scilab exe in the current terminal. I use it to run simultaneously different softwares that have incompatible requirements. It may be a solution for you. Cheers, Antoine Le 21/11/2011 22:40, Charles Warner a ?crit : > Just gave chroot a try- works nicely, but my system won't let me run a > second X server, which seems to limit the second root to command line > only. Useful, but not much imporvement over my reboot approach. Note that > I can access files on either system from whatever system is active...I > could run Scilab from the command line on the new root, but, since Scilab > comes installed and configured on my preferred distro, I really have no > need to do this. > > What I use the dual boot system for primarily is to have an "experimental" > system where I can try out new software, check for conflicts, etc. before > adding it to my "working" system. As time goes on, my "experimental" > system starts looking more like my "working" system- when it seems stable > enough, and has all the critical functions I need, I then start using it as > the "working" system, and the old system is discarded and a new base distro > can be explored without causing problems. This also gives me the chance to > evaluate new releases of projects like Scilab without losing my existing > capabilities. > > The conflict between the libgl versions that I encountered actually > occurred when trying to run Dassault Systemes' DraftSight2 (latest release) > on the same platform as Salome. Not being to fond of the idea of rebooting > to switch between systems to resolve library conflicts, and the fact that > an older version of DraftSight2 plays nicely with Salome, and the fact that > Salome is by far the more important package, Salome wins. I am not sure I > could easily make the same choice with Scilab requiring a different library > version- although rebooting to run Scilab is not nearly as unpalatable as > the other two, since I seldom, if ever, need to run Scilab when I am > running Salome. The question is, are ther atoms that rely on one version > of the libgl library while other atoms rely on the other version? > > This is a conflict I have never encountered on Linux before, but, I suspect > that, with the "desktop wars" between Gnome 3 and Unity running rampant, I > suspect we can look for more such conflicts in the future... > > Charlie > > On Mon, Nov 21, 2011 at 3:40 AM, Antoine Monmayrant< > antoine.monmayrant at laas.fr> wrote: > >> Le 20/11/2011 22:19, Charles Warner a ?crit : >> >> Anttoine- >>> My version of Linux (Ubuntu 10.04) will not allow me to install the two >>> libraries simultaneously on the same file system. I have not considered >>> chroot- I don't know if it will find the alternative file system. Worth a >>> try, I suppose. Since I like to keep two instances of the entire distro >>> on >>> my computer (one, my "working" system, one my "experimental" system) >>> rebooting has always been my "lazy" approach. I'm not sure how to use >>> chroot in this process, since both systems have root named "/"...maybe >>> worth experimentings with. >>> >> Well, we use it at work (I have to admit I was not the one setting it up) >> and it's quite convenient. >> Basically, the only common points between your two systems will be the >> linux kernel. >> Apart from the kernel, the two systems are totally independent and have >> their one filesystems. >> We use it to run a debian distro (that have nice packages for >> electromagnetic simulations) on a centos system (needed for a lot of other >> simulations softwares). >> Switching from Centos to Debian is as easy as "/local/chroot/debian" and >> it's even easier to switch back: "exit". >> We didn't bother setting up the X server on Debian (the softs we use are >> command-line only) but it might be possible to share the same X server on >> both systems. >> >> Cheers, >> >> Antoine >> >> Charlie >>> On Sun, Nov 20, 2011 at 3:03 PM, Antoine Monmayrant< >>> antoine.monmayrant at laas.fr> wrote: >>> >>> Le 20/11/11 18:25, Charles Warner a ?crit : >>>> "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the >>>> issue." The problem is, other software may require libgl1-mesa-glx- >>>> changing to *-swx11 may break something else. The two libraries >>>> apparently >>>> cannot co-exist on the same system. I encountered this with a couple of >>>> other software packages I have been working with- the solution is a dual >>>> boot system, one with *-glx to satisfy one software package, the other >>>> with >>>> *-swx11 to satisfy the other software package. Not an elegant >>>> solution... >>>> >>>> Why don't you chroot instead of dualboot? >>>> This could be a more elegant solution, even if it's not perfect. >>>> >>>> >>>> On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrand* >>>> *wrote: >>>> >>>> Here is a way to fix this problem : >>>>> https://twitter.com/#!/**SylvestreLedru/status/**138217732360515584 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >> >> >> From sylvestre.ledru at scilab.org Tue Nov 22 10:17:07 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 22 Nov 2011 10:17:07 +0100 Subject: [scilab-Users] Re: Parallel execution In-Reply-To: <4ECB5AFD020000380002A099@gwia1.im.jku.at> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> <1321919911.18000.10.camel@pomegues.inria.fr> <4ECB5AFD020000380002A099@gwia1.im.jku.at> Message-ID: <1321953427.3698.1.camel@pomegues.inria.fr> Le lundi 21 novembre 2011 ? 23:19 -0800, christian.wohlschlager at jku.at a ?crit : > Dear Sylvestre ! > > > Thank you for the reply I'm using scilab on a SGI UV 1000 with 2000 > cores > > I try the example programm with no params that's why i chrashed , yes > ok, but how can i prevent the users to do the sane as i did . Could you report a bug ? > Currently i try with limit maxproec 128 (not 16 000 as default > parameter) on the command line.I didnt test it right now becouse i > have to be sure that nobody is on the machine exept me > otherwise :-( my boss will cut me into pieces. You should change your boss ;) Sylvestre From Christian.Wohlschlager at jku.at Tue Nov 22 10:29:54 2011 From: Christian.Wohlschlager at jku.at (christian.wohlschlager@jku.at) Date: Tue, 22 Nov 2011 01:29:54 -0800 (PST) Subject: Parallel execution In-Reply-To: <1321953427.3698.1.camel@pomegues.inria.fr> References: <4EC3F4360200003800029F4D@gwia1.im.jku.at> <1321919911.18000.10.camel@pomegues.inria.fr> <4ECB5AFD020000380002A099@gwia1.im.jku.at> <1321953427.3698.1.camel@pomegues.inria.fr> Message-ID: <4ECB797E020000380002A0F9@gwia1.im.jku.at> ** Reply Requested When Convenient ** Ok i will send a bug report. >>> "sylvestre [via Scilab / Xcos - Mailing Lists Archives]" 11/22/2011 10:17 AM >>> Le lundi 21 novembre 2011 ? 23:19 -0800, [hidden email] ( /user/SendEmail.jtp?type=node&node=3527208&i=0 ) a ??crit : > Dear Sylvestre ! > > > Thank you for the reply I'm using scilab on a SGI UV 1000 with 2000 > cores > > I try the example programm with no params that's why i chrashed , yes > ok, but how can i prevent the users to do the sane as i did . Could you report a bug ? > Currently i try with limit maxproec 128 (not 16 000 as default > parameter) on the command line.I didnt test it right now becouse i > have to be sure that nobody is on the machine exept me > otherwise :-( my boss will cut me into pieces. You should change your boss ;) Sylvestre If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Parallel-execution-tp3513234p3527208.html To unsubscribe from Parallel execution, click here ( http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3513234&code=Q2hyaXN0aWFuLldvaGxzY2hsYWdlckBqa3UuYXR8MzUxMzIzNHwtMTkxOTc1OTU3Nw== ). NAML ( http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml ) -- View this message in context: http://mailinglists.scilab.org/Parallel-execution-tp3513234p3527230.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Tue Nov 22 15:18:14 2011 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Tue, 22 Nov 2011 06:18:14 -0800 (PST) Subject: meteonorm file format handling in Scilab Message-ID: <1321971494242-3527814.post@n3.nabble.com> Hello, is there a module written for Scilab dedicated to a quick import of meteonorm file format ? Thanks, David -- View this message in context: http://mailinglists.scilab.org/meteonorm-file-format-handling-in-Scilab-tp3527814p3527814.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From cwarner.cw711 at gmail.com Wed Nov 23 02:09:35 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Tue, 22 Nov 2011 20:09:35 -0500 Subject: [scilab-Users] Re: scilab on Ubuntu 11.10 In-Reply-To: <4ECB5C60.7010308@laas.fr> References: <4EC95D06.2040306@laas.fr> <4ECA0E65.7080806@laas.fr> <4ECB5C60.7010308@laas.fr> Message-ID: Modules looks like a VERY useful tool. Thank you. Have to give it a try when I switch to the "experimental" platform! Charlie On Tue, Nov 22, 2011 at 3:25 AM, Antoine Monmayrant < antoine.monmayrant at laas.fr> wrote: > By the way, did you try modules to get both libraries at the same time? > ( http://modules.sourceforge.**net/ ) > It is installed on a cluster I have access to and it's quite efficient. > Basically you can do things like "module load gcc/3.1.1" and "module load > scilab/4.1.2" to get gcc3.1.1 and scilab4.1.2 as your default compiler and > scilab exe in the current terminal. > I use it to run simultaneously different softwares that have incompatible > requirements. > It may be a solution for you. > > Cheers, > > Antoine > > Le 21/11/2011 22:40, Charles Warner a ?crit : > >> Just gave chroot a try- works nicely, but my system won't let me run a >> second X server, which seems to limit the second root to command line >> only. Useful, but not much imporvement over my reboot approach. Note >> that >> I can access files on either system from whatever system is active...I >> could run Scilab from the command line on the new root, but, since Scilab >> comes installed and configured on my preferred distro, I really have no >> need to do this. >> >> What I use the dual boot system for primarily is to have an "experimental" >> system where I can try out new software, check for conflicts, etc. before >> adding it to my "working" system. As time goes on, my "experimental" >> system starts looking more like my "working" system- when it seems stable >> enough, and has all the critical functions I need, I then start using it >> as >> the "working" system, and the old system is discarded and a new base >> distro >> can be explored without causing problems. This also gives me the chance >> to >> evaluate new releases of projects like Scilab without losing my existing >> capabilities. >> >> The conflict between the libgl versions that I encountered actually >> occurred when trying to run Dassault Systemes' DraftSight2 (latest >> release) >> on the same platform as Salome. Not being to fond of the idea of >> rebooting >> to switch between systems to resolve library conflicts, and the fact that >> an older version of DraftSight2 plays nicely with Salome, and the fact >> that >> Salome is by far the more important package, Salome wins. I am not sure I >> could easily make the same choice with Scilab requiring a different >> library >> version- although rebooting to run Scilab is not nearly as unpalatable as >> the other two, since I seldom, if ever, need to run Scilab when I am >> running Salome. The question is, are ther atoms that rely on one version >> of the libgl library while other atoms rely on the other version? >> >> This is a conflict I have never encountered on Linux before, but, I >> suspect >> that, with the "desktop wars" between Gnome 3 and Unity running rampant, I >> suspect we can look for more such conflicts in the future... >> >> Charlie >> >> On Mon, Nov 21, 2011 at 3:40 AM, Antoine Monmayrant< >> antoine.monmayrant at laas.fr> wrote: >> >> Le 20/11/2011 22:19, Charles Warner a ?crit : >>> >>> Anttoine- >>> >>>> My version of Linux (Ubuntu 10.04) will not allow me to install the two >>>> libraries simultaneously on the same file system. I have not considered >>>> chroot- I don't know if it will find the alternative file system. >>>> Worth a >>>> try, I suppose. Since I like to keep two instances of the entire distro >>>> on >>>> my computer (one, my "working" system, one my "experimental" system) >>>> rebooting has always been my "lazy" approach. I'm not sure how to use >>>> chroot in this process, since both systems have root named "/"...maybe >>>> worth experimentings with. >>>> >>>> Well, we use it at work (I have to admit I was not the one setting it >>> up) >>> and it's quite convenient. >>> Basically, the only common points between your two systems will be the >>> linux kernel. >>> Apart from the kernel, the two systems are totally independent and have >>> their one filesystems. >>> We use it to run a debian distro (that have nice packages for >>> electromagnetic simulations) on a centos system (needed for a lot of >>> other >>> simulations softwares). >>> Switching from Centos to Debian is as easy as "/local/chroot/debian" and >>> it's even easier to switch back: "exit". >>> We didn't bother setting up the X server on Debian (the softs we use are >>> command-line only) but it might be possible to share the same X server on >>> both systems. >>> >>> Cheers, >>> >>> Antoine >>> >>> Charlie >>> >>>> On Sun, Nov 20, 2011 at 3:03 PM, Antoine Monmayrant< >>>> antoine.monmayrant at laas.fr> wrote: >>>> >>>> Le 20/11/11 18:25, Charles Warner a ?crit : >>>> >>>>> "install libgl1-mesa-swx11 or removing libgl1-mesa-glx should fix the >>>>> issue." The problem is, other software may require libgl1-mesa-glx- >>>>> changing to *-swx11 may break something else. The two libraries >>>>> apparently >>>>> cannot co-exist on the same system. I encountered this with a couple >>>>> of >>>>> other software packages I have been working with- the solution is a >>>>> dual >>>>> boot system, one with *-glx to satisfy one software package, the other >>>>> with >>>>> *-swx11 to satisfy the other software package. Not an elegant >>>>> solution... >>>>> >>>>> Why don't you chroot instead of dualboot? >>>>> This could be a more elegant solution, even if it's not perfect. >>>>> >>>>> >>>>> On Sun, Nov 20, 2011 at 7:18 AM, Tibault Reveyrand>>>> >*** >>>>> *wrote: >>>>> >>>>> >>>>> Here is a way to fix this problem : >>>>> >>>>>> https://twitter.com/#!/****SylvestreLedru/status/**** >>>>>> 138217732360515584 >>>>>> >>>>> 138217732360515584 >>>>>> > >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>> >>> >>> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephne.mottelet at utc.fr Fri Nov 25 13:23:56 2011 From: stephne.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Fri, 25 Nov 2011 13:23:56 +0100 Subject: Scilab version working with OSX 10.7.2 ? In-Reply-To: References: Message-ID: <4ECF88DC.8040808@utc.fr> Hi all, I cannot found a working version of Scilab with OSX 10.7.2 (on a MacPro). I tried the nightly build, but lauching with the icon does not work and on the command line I got : macmottelet-gi-0:~ mottelet$ /Applications/scilab-master-1322152505.app/Contents/MacOS/bin/scilab /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home JavaVM: requested Java version (1.5) not available. Using Java at "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" instead. ___________________________________________ scilab-master-1322152505 Consortium Scilab (DIGITEO) Copyright (c) 1989-2011 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Initialisation : Chargement de l'environnement de travail --> !--error 42 Oups. Une erreur fatale a ?t? d?tect?e par Scilab. Cette instance va s'arr?ter tr?s prochainement. Merci d'envoyer un rapport de bug pour http://bugzilla.scilab.org/ avec l'information suivante : [macmottelet-gi-0:01811] Failing at address: 0x0 Fin de la pile S. From inpost at gmail.com Sat Nov 26 09:41:35 2011 From: inpost at gmail.com (e-letter) Date: Sat, 26 Nov 2011 08:41:35 +0000 Subject: xcos modelling of electrical power Message-ID: Readers, Is there an existing library in xcos similar to simulink simpowersystems module. If not, is it possible to create a similar module in xcos? From sylvestre.ledru at scilab.org Sat Nov 26 16:36:16 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 26 Nov 2011 16:36:16 +0100 Subject: [scilab-Users] Scilab version working with OSX 10.7.2 ? In-Reply-To: <4ECF88DC.8040808@utc.fr> References: <4ECF88DC.8040808@utc.fr> Message-ID: <1322321776.14964.1.camel@pomegues.inria.fr> Le vendredi 25 novembre 2011 ? 13:23 +0100, St?phane Mottelet a ?crit : > Hi all, > Oups. Une erreur fatale a ?t? d?tect?e par Scilab. > Cette instance va s'arr?ter tr?s prochainement. > Merci d'envoyer un rapport de bug pour http://bugzilla.scilab.org/ avec > l'information suivante : > [macmottelet-gi-0:01811] Failing at address: 0x0 > Fin de la pile Sorry about that. Could you do the following ? sudo dtruss -f /path/to/bin/scilab-cli 2> trace.log and upload somewhere the log file ? Thanks Sylvestre From alex at qatinc.com Sat Nov 26 19:44:23 2011 From: alex at qatinc.com (Dr. Alex Bogdan) Date: Sat, 26 Nov 2011 13:44:23 -0500 Subject: saving file Message-ID: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> Hi there: I am new to SCILAB. It has been suggested to me by a friend of mine. I am a head of a small R&D department and my prime focus is the generation of new concepts for algorithmic trading. I am trying to use Scilab for some statistical modeling primarily based on Random Walks. Unfortunately, after I have installed Scilab on my Windows 7, 64 bit machine I am getting an error that tells me that I have no permissions to save my files? It's a bit discouraging especially because I could not find answers to my problem in any Scilab forums. I was hoping that you could help me. Cheers, Dr. Alex Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Sun Nov 27 07:16:43 2011 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Sun, 27 Nov 2011 07:16:43 +0100 Subject: [scilab-Users] saving file In-Reply-To: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> References: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> Message-ID: <62185c14c950dac87ec47060f17c5e44@scilab.org> Hi, > I am getting an error that tells me that I have no permissions > to save my files? First, are you sure that you have permissions to save files in this directory ? Can you provide a small example to see what you do and what is the full error message ? A example to read/write a file in scilab: mputl('Hello', TMPDIR + "/test.txt") // we write in TMPDIR mgetl(TMPDIR + "/test.txt") Thanks Allan On Sat, 26 Nov 2011 13:44:23 -0500, Dr. Alex Bogdan wrote: > Hi there: > > I am new to SCILAB. It has been suggested to me by a friend of mine. > I > am a head of a small R&D department and my prime focus is the > generation of new concepts for algorithmic trading. I am trying to > use > Scilab for some statistical modeling primarily based on Random Walks. > Unfortunately, after I have installed Scilab on my Windows 7, 64 bit > machine I am getting an error that tells me that I have no > permissions > to save my files? It's a bit discouraging especially because I could > not find answers to my problem in any Scilab forums. I was hoping > that > you could help me. > > Cheers, > > Dr. Alex Bogdan From grocer.toolbox at gmail.com Sun Nov 27 08:52:47 2011 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sun, 27 Nov 2011 08:52:47 +0100 Subject: [scilab-Users] saving file In-Reply-To: <62185c14c950dac87ec47060f17c5e44@scilab.org> References: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> <62185c14c950dac87ec47060f17c5e44@scilab.org> Message-ID: Hello. I had the same kind of problem with Windows Vista and the solution was to isntall Scilab outside the default folder Program Files. ?ric. 2011/11/27 > Hi, > > > I am getting an error that tells me that I have no permissions >> to save my files? >> > > First, are you sure that you have permissions to save files in this > directory ? > > Can you provide a small example to see what you do and what is the full > error message ? > > > A example to read/write a file in scilab: > > mputl('Hello', TMPDIR + "/test.txt") // we write in TMPDIR > mgetl(TMPDIR + "/test.txt") > > Thanks > > Allan > > > > On Sat, 26 Nov 2011 13:44:23 -0500, Dr. Alex Bogdan wrote: > >> Hi there: >> >> I am new to SCILAB. It has been suggested to me by a friend of mine. I >> am a head of a small R&D department and my prime focus is the >> generation of new concepts for algorithmic trading. I am trying to use >> Scilab for some statistical modeling primarily based on Random Walks. >> Unfortunately, after I have installed Scilab on my Windows 7, 64 bit >> machine I am getting an error that tells me that I have no permissions >> to save my files? It's a bit discouraging especially because I could >> not find answers to my problem in any Scilab forums. I was hoping that >> you could help me. >> >> Cheers, >> >> Dr. Alex Bogdan >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From manjusha.joshi at gmail.com Sun Nov 27 09:08:18 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Sun, 27 Nov 2011 13:38:18 +0530 Subject: [scilab-Users] saving file In-Reply-To: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> References: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> Message-ID: On Sun, Nov 27, 2011 at 12:14 AM, Dr. Alex Bogdan wrote: > Hi there:**** > > ** ** > > I am new to SCILAB. It has been suggested to me by a friend of mine. I am > a head of a small R&D department and my prime focus is the generation of > new concepts for algorithmic trading. I am trying to use Scilab for some > statistical modeling primarily based on Random Walks. Unfortunately, after > I have installed Scilab on my Windows 7, 64 bit machine I am getting an > error that tells me that I have no permissions to save my files? It?s a bit > discouraging especially because I could not find answers to my problem in > any Scilab forums. I was hoping that you could help me.**** > > ** ** > > Cheers,**** > > ** ** > > Dr. Alex Bogdan > It is also possible that you are trying to save the file in scilab software directory. Generally one should use separate folder where you have access to store the data. So when you choose the option `save' check that you have write permissions in which folder you are asking to save for. Otherwise change the folder to the folder like My documents where one may have write permissions. This problem is not due to Scilab, it is due to local setup or on individual machine it is due to Operating system you are using. > **** > > ** ** > -- Manjusha S. Joshi Mobile: 09822 319328 blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandre.abbes at ac-toulouse.fr Sun Nov 27 14:37:54 2011 From: alexandre.abbes at ac-toulouse.fr (Alexandre Abbes) Date: Sun, 27 Nov 2011 14:37:54 +0100 Subject: ploting planck's function Message-ID: <4ED23D32.5000107@ac-toulouse.fr> Hello, I teach mathematics in a lyc?e, and I would like to use scilab to plot curves. I was trying to plot the planck's law function, but I do not have the expected curve, this might be due to precision problems. We have f(l)=(2hc^2/l^5)* 1/(exp(hc/(ktl))-1) (http://en.wikipedia.org/wiki/Planck%27s_law) l is the wavelength. T=1000 (temperature). and c=3e8, k=1.3e-23, h=6.3e-34. The curve I get is increasing, and looks like a parabola, wich is false, obviously. I get a better result with maxima, by the way. Does anybody know how to increase the precision? best regards Alexandre Abbes Math?matiques sections europ?ennes Lyc?e Marcelin Berthelot, Toulouse. From alexandre.abbes at ac-toulouse.fr Sun Nov 27 14:41:04 2011 From: alexandre.abbes at ac-toulouse.fr (Alexandre Abbes) Date: Sun, 27 Nov 2011 14:41:04 +0100 Subject: [scilab-Users] saving file In-Reply-To: References: <002401ccac6b$6b938590$42ba90b0$@qatinc.com> Message-ID: <4ED23DF0.8010207@ac-toulouse.fr> I had the same problem with windows xp, on a network. Scilab's default directory does not seem to be set to the user's one, but somewhere in the installation tree, or in the local machine. cheers Alexandre Abbes Le 27/11/2011 09:08, Manjusha Joshi a ?crit : > > > On Sun, Nov 27, 2011 at 12:14 AM, Dr. Alex Bogdan > wrote: > > Hi there:____ > > __ __ > > I am new to SCILAB. It has been suggested to me by a friend of mine. > I am a head of a small R&D department and my prime focus is the > generation of new concepts for algorithmic trading. I am trying to > use Scilab for some statistical modeling primarily based on Random > Walks. Unfortunately, after I have installed Scilab on my Windows 7, > 64 bit machine I am getting an error that tells me that I have no > permissions to save my files? It?s a bit discouraging especially > because I could not find answers to my problem in any Scilab forums. > I was hoping that you could help me.____ > > __ __ > > Cheers,____ > > __ __ > > Dr. Alex Bogdan > > > It is also possible that you are trying to save the file in scilab > software directory. > Generally one should use separate folder where you have access to store > the data. > > So when you choose the option `save' check that you have write > permissions in which folder you are asking to save for. > > Otherwise change the folder to the folder like My documents where one > may have write permissions. > This problem is not due to Scilab, it is due to local setup or on > individual machine it is due to Operating system you are using. > > ____ > > __ __ > > > > > -- > Manjusha S. Joshi > Mobile: 09822 319328 > blog:http://manjushajoshi.wordpress.com/ > > > From rouxph.22 at gmail.com Sun Nov 27 15:01:58 2011 From: rouxph.22 at gmail.com (philippe) Date: Sun, 27 Nov 2011 15:01:58 +0100 Subject: ploting planck's function In-Reply-To: <4ED23D32.5000107@ac-toulouse.fr> References: <4ED23D32.5000107@ac-toulouse.fr> Message-ID: Hi, Le 27/11/2011 14:37, Alexandre Abbes a ?crit : > > > I was trying to plot the planck's law function, but I do not have the > expected curve, this might be due to precision problems. > > We have f(l)=(2hc^2/l^5)* 1/(exp(hc/(ktl))-1) I suppose you have to defined f in scilab like this : function y=f(l) T=1000,c=3e8,k=1.3e-23,h=6.3e-34 y=(2*h*c^2/l^5)* 1/(exp(h*c/(k*t*l))-1) endfunction (do not forgot the products * !) then you have to evaluate f on a set of point l=[1:0.01:10]// becareful to l=0 !!! y=feval(l,f) then you can plot the curve and had grids or ... plot(l,y,'-r') xgrid(3) > > l is the wavelength. > T=1000 (temperature). > > and c=3e8, k=1.3e-23, h=6.3e-34. remind that scilab use a floating point representation of reals numbers with 1e-16 relative precision so that : k=1.3e-23=h=6.3e-34=0 compared to c=3e8 !!! > > The curve I get is increasing, and looks like a parabola, wich is false, > obviously. I get a better result with maxima, by the way. since maxima use symbolic calculus it can perform arbitrary precision calculus. > > Does anybody know how to increase the precision? use a unit system where k=c=h=1 (and rescale results after calculations ....). Philippe. From alexandre.abbes at ac-toulouse.fr Sun Nov 27 17:21:11 2011 From: alexandre.abbes at ac-toulouse.fr (Alexandre Abbes) Date: Sun, 27 Nov 2011 17:21:11 +0100 Subject: [scilab-Users] Re: ploting planck's function In-Reply-To: References: <4ED23D32.5000107@ac-toulouse.fr> Message-ID: <4ED26377.1050503@ac-toulouse.fr> Le 27/11/2011 15:01, philippe a ?crit : > function y=f(l) > T=1000,c=3e8,k=1.3e-23,h=6.3e-34 > y=(2*h*c^2/l^5)* 1/(exp(h*c/(k*t*l))-1) > endfunction > l=[1:0.01:10]// becareful to l=0 !!! > y=feval(l,f) > > then you can plot the curve and had grids or ... > > plot(l,y,'-r') > xgrid(3) OK thank you very much, it works well, the curve is OK. Yet, I cannot anderstand why plot(l,f(l)), which is the comamnd I used before, still gives me a false result. best regards Alexandre > > > >> >> l is the wavelength. >> T=1000 (temperature). >> >> and c=3e8, k=1.3e-23, h=6.3e-34. > > > remind that scilab use a floating point representation of reals numbers > with 1e-16 relative precision so that : k=1.3e-23=h=6.3e-34=0 compared > to c=3e8 !!! > >> >> The curve I get is increasing, and looks like a parabola, wich is false, >> obviously. I get a better result with maxima, by the way. > > since maxima use symbolic calculus it can perform arbitrary precision > calculus. >> >> Does anybody know how to increase the precision? > > use a unit system where k=c=h=1 (and rescale results after calculations > ....). > > Philippe. > > From rouxph.22 at gmail.com Sun Nov 27 21:28:10 2011 From: rouxph.22 at gmail.com (philippe) Date: Sun, 27 Nov 2011 21:28:10 +0100 Subject: ploting planck's function In-Reply-To: <4ED26377.1050503@ac-toulouse.fr> References: <4ED23D32.5000107@ac-toulouse.fr> <4ED26377.1050503@ac-toulouse.fr> Message-ID: Le 27/11/2011 17:21, Alexandre Abbes a ?crit : > > > Yet, I cannot anderstand why > plot(l,f(l)), > which is the comamnd I used before, still gives me a false result. because the way you have defined f(l), l is a 1x1 matrix but when you want to estimate f(l), l is a 1xn matrix so scilab is confuse with * and / in f definition since this operations are not "element wise" for matrix ... then you have two possibilities : - replace * by .*, / by ./ in f definition - use feval(l,f) instead of f(l) Philippe. From alexandre.abbes at ac-toulouse.fr Sun Nov 27 23:14:16 2011 From: alexandre.abbes at ac-toulouse.fr (Alexandre Abbes) Date: Sun, 27 Nov 2011 23:14:16 +0100 Subject: [scilab-Users] Re: ploting planck's function In-Reply-To: References: <4ED23D32.5000107@ac-toulouse.fr> <4ED26377.1050503@ac-toulouse.fr> Message-ID: <4ED2B638.6080601@ac-toulouse.fr> Thank you for the answer. It is obvious, now. Le 27/11/2011 21:28, philippe a ?crit : > Le 27/11/2011 17:21, Alexandre Abbes a ?crit : >> >> >> Yet, I cannot anderstand why >> plot(l,f(l)), >> which is the comamnd I used before, still gives me a false result. > > > > because the way you have defined f(l), l is a 1x1 matrix but when you > want to estimate f(l), l is a 1xn matrix so scilab is confuse with * and > / in f definition since this operations are not "element wise" for > matrix ... then you have two possibilities : > > - replace * by .*, / by ./ in f definition > - use feval(l,f) instead of f(l) > > Philippe. > > From vogt at centre-cired.fr Mon Nov 28 10:22:55 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 28 Nov 2011 10:22:55 +0100 Subject: Can't open scilab in winXP. Java thirdparty thing In-Reply-To: <4ED3266A.3030707@centre-cired.fr> References: <4ED3266A.3030707@centre-cired.fr> Message-ID: <4ED352EF.4040508@centre-cired.fr> Hi there I can't open Scilab (with java GUI). When trying to open Wscilex, I get: "Scilab ne peut pas cr?er la classe principale Java Scilab (nous n'avons pas ?t? capable de trouver la classe Scilab principale. V?rifier si les paquets Scilab et thirdparty sont accessibles)." I've been able to start scilab without problems for months, but suddenly it does not work. I tried to reinstall scilab, no success Attached to the mail is debug info from Scilex, Any idea? Julie Rozenberg, CIRED 45bis, Av. de la Belle Gabrielle F-94736 Nogent-sur-Marne Tel : 33 1 43 94 73 96 ___________________________________________ scilab-5.3.3 Consortium Scilab (DIGITEO) Copyright (c) 1989-2011 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Initialisation : loading initial environment -->[a b]=getdebuginfo() b = !Version: scilab-5.3.3 ! ! ! !Compilation date: Jul 20 2011 ! ! ! !Compilation time: 11:04:27 ! ! ! !Compiler Architecture: x86 ! ! ! !Compiled with Intel compiler ! ! ! !XML version: 2.4.26 ! ! ! !Tcl/Tk: Enable ! ! ! !TCL version: 8.5.2 ! ! ! !TK version: 8.5.2 ! ! ! !Path separator: ; ! ! ! !Directory separator: \ ! ! ! !PCRE Version: 8.2 ! [Continuer ?? afficher? n (no) pour arr??ter, autre touche pour continuer] a = !Memory in use: 29 % ! ! ! !Total Physical Memory (Kbytes): 3657552 ! ! ! !Free Physical Memory (Kbytes): 2573156 ! ! ! !Total Paging File (Kbytes): 5584408 ! ! ! !Free Paging File (Kbytes): 4543052 ! ! ! !Total Virtual Memory (Kbytes): 2097024 ! ! ! !Free Virtual Memory (Kbytes): 1596740 ! ! ! !Free Extended Memory (Kbytes): 0 ! ! ! !Operating System: Windows XP ! ! ! !Intel(R) Core(TM)2 Duo CPU T9900 @ 3.06GHz ! ! ! !Number of processors: 2 ! ! ! !Video card: NVIDIA Quadro NVS 160M ! ! ! !Video card driver version: 6.14.11.7607 ! [Continuer ?? afficher? n (no) pour arr??ter, autre touche pour continuer] ! ! !Screen size: 1440 x 900 32 bits ! ! ! !Number of Monitors: 2 ! ! ! !Path: C:/Program Files/scilab-5.3.3/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND! ! OWS\system32\WBEM;c:\gcc\bin;c:\gcc\libexec\gcc\i686-pc-mingw32\4.5.2;C:\! ! gcc\libexec\gcc\i686-pc-mingw32\4.5.3;C:\Documents and Settings\Admin\gcc! ! \bin;C:\Documents and Settings\Admin\gcc\libexec\gcc\i686-pc-mingw32\4.5.! ! 3;C:\Program Files\MiKTeX 2.8\miktex\bin;C:\Program Files\Intel\DMIX;c:\P! ! rogram Files\Intel\WiFi\bin\;c:\Program Files\Fichiers communs\Roxio Shar! ! ed\DLLShared\;c:\Program Files\Fichiers communs\Roxio Shared\10.0\DLLShar! ! ed\;C:\Program Files\Fichiers communs\DivX Shared\;C:\Program Files\Micro! ! soft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin ! ! ! !ComSpec: C:\WINDOWS\system32\cmd.exe ! ! ! !TMP : C:\DOCUME~1\Admin\LOCALS~1\Temp ! ! ! !TEMP: C:\DOCUME~1\Admin\LOCALS~1\Temp ! ! ! !WSCI: C:\Program Files\scilab-5.3.3 ! ! ! !SCIHOME: C:\DOCUME~1\Admin\APPLIC~1\Scilab\scilab-5.3.3 ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Mon Nov 28 10:44:02 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 28 Nov 2011 10:44:02 +0100 Subject: [scilab-Users] Can't open scilab in winXP. Java thirdparty thing In-Reply-To: <4ED352EF.4040508@centre-cired.fr> References: <4ED3266A.3030707@centre-cired.fr> <4ED352EF.4040508@centre-cired.fr> Message-ID: <4ED357E2.7010807@centre-cired.fr> for the record: http://www.mathkb.com/Uwe/Forum.aspx/scilab/3565/scilab-5-0-2-and-java this explains how to solve the problem. one should delete the configuration.xml fiel in docs and setings/appli data/scilab/ thank you very much On 28/11/2011 10:22, Adrien Vogt-Schilb wrote: > > Hi there > I can't open Scilab (with java GUI). > When trying to open Wscilex, I get: > "Scilab ne peut pas cr?er la classe principale Java Scilab (nous > n'avons pas ?t? capable de trouver la classe Scilab principale. > V?rifier si les paquets Scilab et thirdparty sont accessibles)." > > I've been able to start scilab without problems for months, but > suddenly it does not work. > I tried to reinstall scilab, no success > > Attached to the mail is debug info from Scilex, > > Any idea? > > Julie Rozenberg, CIRED > 45bis, Av. de la Belle Gabrielle > F-94736 Nogent-sur-Marne > Tel : 33 1 43 94 73 96 > > > > > ___________________________________________ > scilab-5.3.3 > > Consortium Scilab (DIGITEO) > Copyright (c) 1989-2011 (INRIA) > Copyright (c) 1989-2007 (ENPC) > ___________________________________________ > > > Initialisation : > loading initial environment > > -->[a b]=getdebuginfo() > b = > > !Version: scilab-5.3.3 ! > ! ! > !Compilation date: Jul 20 2011 ! > ! ! > !Compilation time: 11:04:27 ! > ! ! > !Compiler Architecture: x86 ! > ! ! > !Compiled with Intel compiler ! > ! ! > !XML version: 2.4.26 ! > ! ! > !Tcl/Tk: Enable ! > ! ! > !TCL version: 8.5.2 ! > ! ! > !TK version: 8.5.2 ! > ! ! > !Path separator: ; ! > ! ! > !Directory separator: \ ! > ! ! > !PCRE Version: 8.2 ! > [Continuer ?? afficher? n (no) pour arr??ter, autre touche pour continuer] > a = > > !Memory in use: 29 > % ! > > ! > ! > > !Total Physical Memory (Kbytes): > 3657552 ! > > ! > ! > > !Free Physical Memory (Kbytes): > 2573156 ! > > ! > ! > > !Total Paging File (Kbytes): > 5584408 ! > > ! > ! > > !Free Paging File (Kbytes): > 4543052 ! > > ! > ! > > !Total Virtual Memory (Kbytes): > 2097024 ! > > ! > ! > > !Free Virtual Memory (Kbytes): > 1596740 ! > > ! > ! > > !Free Extended Memory (Kbytes): > 0 ! > > ! > ! > > !Operating System: Windows > XP ! > > ! > ! > > !Intel(R) Core(TM)2 Duo CPU T9900 @ > 3.06GHz ! > > ! > ! > > !Number of processors: > 2 ! > > ! > ! > > !Video card: NVIDIA Quadro NVS > 160M ! > > ! > ! > > !Video card driver version: > 6.14.11.7607 ! > > [Continuer ?? afficher? n (no) pour arr??ter, autre touche pour continuer] > ! > ! > > !Screen size: 1440 x 900 32 > bits ! > > ! > ! > > !Number of Monitors: > 2 ! > > ! > ! > > !Path: C:/Program > Files/scilab-5.3.3/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND! > > ! > OWS\system32\WBEM;c:\gcc\bin;c:\gcc\libexec\gcc\i686-pc-mingw32\4.5.2;C:\! > > ! gcc\libexec\gcc\i686-pc-mingw32\4.5.3;C:\Documents and > Settings\Admin\gcc! > > ! \bin;C:\Documents and > Settings\Admin\gcc\libexec\gcc\i686-pc-mingw32\4.5.! > > ! 3;C:\Program Files\MiKTeX 2.8\miktex\bin;C:\Program > Files\Intel\DMIX;c:\P! > > ! rogram Files\Intel\WiFi\bin\;c:\Program Files\Fichiers > communs\Roxio Shar! > > ! ed\DLLShared\;c:\Program Files\Fichiers communs\Roxio > Shared\10.0\DLLShar! > > ! ed\;C:\Program Files\Fichiers communs\DivX Shared\;C:\Program > Files\Micro! > > ! soft SQL Server\90\Tools\binn\;C:\Program > Files\TortoiseSVN\bin ! > > ! > ! > > !ComSpec: > C:\WINDOWS\system32\cmd.exe ! > > ! > ! > > !TMP : > C:\DOCUME~1\Admin\LOCALS~1\Temp ! > > ! > ! > > !TEMP: > C:\DOCUME~1\Admin\LOCALS~1\Temp ! > > ! > ! > > !WSCI: C:\Program > Files\scilab-5.3.3 ! > > ! > ! > > !SCIHOME: > C:\DOCUME~1\Admin\APPLIC~1\Scilab\scilab-5.3.3 ! > > -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From petterwr at gmail.com Mon Nov 28 10:59:48 2011 From: petterwr at gmail.com (Petter Wingren) Date: Mon, 28 Nov 2011 10:59:48 +0100 Subject: [scilab-Users] Can't open scilab in winXP. Java thirdparty thing In-Reply-To: <4ED357E2.7010807@centre-cired.fr> References: <4ED3266A.3030707@centre-cired.fr> <4ED352EF.4040508@centre-cired.fr> <4ED357E2.7010807@centre-cired.fr> Message-ID: Seems like that file becomes bugged sometimes in severla OSs. I had to remove mine to start scilab after a crash (running ubuntu 10.11, 64 bit). On Mon, Nov 28, 2011 at 10:44 AM, Adrien Vogt-Schilb wrote: > for the record: > > http://www.mathkb.com/Uwe/Forum.aspx/scilab/3565/scilab-5-0-2-and-java > > this explains how to solve the problem. one should delete the > configuration.xml fiel in docs and setings/appli data/scilab/ > > thank you very much > > > On 28/11/2011 10:22, Adrien Vogt-Schilb wrote: > > > Hi there > I can't open Scilab (with java GUI). > When trying to open Wscilex, I get: > "Scilab ne peut pas cr?er la classe principale Java Scilab (nous n'avons > pas ?t? capable de trouver la classe Scilab principale. V?rifier si les > paquets Scilab et thirdparty sont accessibles)." > > I've been able to start scilab without problems for months, but suddenly > it does not work. > I tried to reinstall scilab, no success > > Attached to the mail is debug info from Scilex, > > Any idea? > > > Julie Rozenberg, CIRED > 45bis, Av. de la Belle Gabrielle > F-94736 Nogent-sur-Marne > Tel : 33 1 43 94 73 96 > > > > > > ___________________________________________ > scilab-5.3.3 > > Consortium Scilab (DIGITEO) > Copyright (c) 1989-2011 (INRIA) > Copyright (c) 1989-2007 (ENPC) > ___________________________________________ > > > Initialisation : > loading initial environment > > -->[a b]=getdebuginfo() > b = > > !Version: scilab-5.3.3 ! > ! ! > !Compilation date: Jul 20 2011 ! > ! ! > !Compilation time: 11:04:27 ! > ! ! > !Compiler Architecture: x86 ! > ! ! > !Compiled with Intel compiler ! > ! ! > !XML version: 2.4.26 ! > ! ! > !Tcl/Tk: Enable ! > ! ! > !TCL version: 8.5.2 ! > ! ! > !TK version: 8.5.2 ! > ! ! > !Path separator: ; ! > ! ! > !Directory separator: \ ! > ! ! > !PCRE Version: 8.2 ! > [Continuer ?? afficher? n (no) pour arr??ter, autre touche pour continuer] > a = > > !Memory in use: 29 > % ! > > ! > ! > > !Total Physical Memory (Kbytes): > 3657552 ! > > ! > ! > > !Free Physical Memory (Kbytes): > 2573156 ! > > ! > ! > > !Total Paging File (Kbytes): > 5584408 ! > > ! > ! > > !Free Paging File (Kbytes): > 4543052 ! > > ! > ! > > !Total Virtual Memory (Kbytes): > 2097024 ! > > ! > ! > > !Free Virtual Memory (Kbytes): > 1596740 ! > > ! > ! > > !Free Extended Memory (Kbytes): > 0 ! > > ! > ! > > !Operating System: Windows > XP ! > > ! > ! > > !Intel(R) Core(TM)2 Duo CPU T9900 @ > 3.06GHz ! > > ! > ! > > !Number of processors: > 2 ! > > ! > ! > > !Video card: NVIDIA Quadro NVS > 160M ! > > ! > ! > > !Video card driver version: > 6.14.11.7607 ! > > [Continuer ?? afficher? n (no) pour arr??ter, autre touche pour continuer] > ! > ! > > !Screen size: 1440 x 900 32 > bits ! > > ! > ! > > !Number of Monitors: > 2 ! > > ! > ! > > !Path: C:/Program > Files/scilab-5.3.3/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND! > > ! > OWS\system32\WBEM;c:\gcc\bin;c:\gcc\libexec\gcc\i686-pc-mingw32\4.5.2;C:\! > > ! gcc\libexec\gcc\i686-pc-mingw32\4.5.3;C:\Documents and > Settings\Admin\gcc! > > ! \bin;C:\Documents and > Settings\Admin\gcc\libexec\gcc\i686-pc-mingw32\4.5.! > > ! 3;C:\Program Files\MiKTeX 2.8\miktex\bin;C:\Program > Files\Intel\DMIX;c:\P! > > ! rogram Files\Intel\WiFi\bin\;c:\Program Files\Fichiers communs\Roxio > Shar! > > ! ed\DLLShared\;c:\Program Files\Fichiers communs\Roxio > Shared\10.0\DLLShar! > > ! ed\;C:\Program Files\Fichiers communs\DivX Shared\;C:\Program > Files\Micro! > > ! soft SQL Server\90\Tools\binn\;C:\Program > Files\TortoiseSVN\bin ! > > ! > ! > > !ComSpec: > C:\WINDOWS\system32\cmd.exe ! > > ! > ! > > !TMP : > C:\DOCUME~1\Admin\LOCALS~1\Temp ! > > ! > ! > > !TEMP: > C:\DOCUME~1\Admin\LOCALS~1\Temp ! > > ! > ! > > !WSCI: C:\Program > Files\scilab-5.3.3 ! > > ! > ! > > !SCIHOME: > C:\DOCUME~1\Admin\APPLIC~1\Scilab\scilab-5.3.3 ! > > > > > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephne.mottelet at utc.fr Tue Nov 29 13:25:07 2011 From: stephne.mottelet at utc.fr (=?UTF-8?B?U3TDqXBoYW5lIE1vdHRlbGV0?=) Date: Tue, 29 Nov 2011 13:25:07 +0100 Subject: [scilab-Users] Scilab version working with OSX 10.7.2 ? In-Reply-To: <1322321776.14964.1.camel@pomegues.inria.fr> References: <4ECF88DC.8040808@utc.fr> <1322321776.14964.1.camel@pomegues.inria.fr> Message-ID: <4ED4CF23.5090503@utc.fr> here it is. S. Le 26/11/11 16:36, Sylvestre Ledru a ?crit : > Le vendredi 25 novembre 2011 ? 13:23 +0100, St?phane Mottelet a ?crit : >> Hi all, >> Oups. Une erreur fatale a ?t? d?tect?e par Scilab. >> Cette instance va s'arr?ter tr?s prochainement. >> Merci d'envoyer un rapport de bug pour http://bugzilla.scilab.org/ avec >> l'information suivante : >> [macmottelet-gi-0:01811] Failing at address: 0x0 >> Fin de la pile > Sorry about that. > Could you do the following ? > sudo dtruss -f /path/to/bin/scilab-cli 2> trace.log > > and upload somewhere the log file ? > > Thanks > Sylvestre > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: trace.log URL: From sylvestre.ledru at scilab.org Tue Nov 29 15:26:57 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 29 Nov 2011 15:26:57 +0100 Subject: [scilab-Users] Scilab version working with OSX 10.7.2 ? In-Reply-To: <4ED4CF23.5090503@utc.fr> References: <4ECF88DC.8040808@utc.fr> <1322321776.14964.1.camel@pomegues.inria.fr> <4ED4CF23.5090503@utc.fr> Message-ID: <1322576817.6836.98.camel@korcula.inria.fr> Merci St?phane. Clearly, the problem is here: dyld: Library not loaded: /usr/lib/libncurses.5.dylib Referenced from: /Applications/scilab-master-1322152505.app/Contents/MacOS/bin/scilab-bin Reason: no suitable image found. Did find: /usr/lib/libncurses.5.dylib: mach-o, but wrong architecture /usr/lib/libncurses.5.dylib: mach-o, but wrong architecture Could you try to rename it ? mv /usr/lib/libncurses.5.dylib /usr/lib/libncursestmp.5.dylib I guess it is a system that you upgraded and not a brand new one? Sylvestre PS: your email address is missing an "a". Le mardi 29 novembre 2011 ? 13:25 +0100, St?phane Mottelet a ?crit : > here it is. > > S. > > Le 26/11/11 16:36, Sylvestre Ledru a ?crit : > > Le vendredi 25 novembre 2011 ? 13:23 +0100, St?phane Mottelet a ?crit : > >> Hi all, > >> Oups. Une erreur fatale a ?t? d?tect?e par Scilab. > >> Cette instance va s'arr?ter tr?s prochainement. > >> Merci d'envoyer un rapport de bug pour http://bugzilla.scilab.org/ avec > >> l'information suivante : > >> [macmottelet-gi-0:01811] Failing at address: 0x0 > >> Fin de la pile > > Sorry about that. > > Could you do the following ? > > sudo dtruss -f /path/to/bin/scilab-cli 2> trace.log > > > > and upload somewhere the log file ? > > > > Thanks > > Sylvestre > > > > > From ludo.wag at laposte.net Tue Nov 29 23:16:13 2011 From: ludo.wag at laposte.net (Orbeman) Date: Tue, 29 Nov 2011 14:16:13 -0800 (PST) Subject: Color with a LaTeX string Message-ID: <1322604973123-3546663.post@n3.nabble.com> Hello, Could you help me to use properly the following command '$\textcolor[rgb]{r,g,b}{Hello}$' in a xstring or xtitle where r, g and b are given by a *colormap* (eg : ens_color=floor(255*jetcolormar(100)); r=ens_color(10,1); g=ens_color(10,1); b=ens_color(10,1)). Thank you. -- View this message in context: http://mailinglists.scilab.org/Color-with-a-LaTeX-string-tp3546663p3546663.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Wed Nov 30 03:55:14 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 30 Nov 2011 03:55:14 +0100 Subject: [scilab-Users] Color with a LaTeX string In-Reply-To: <1322604973123-3546663.post@n3.nabble.com> References: <1322604973123-3546663.post@n3.nabble.com> Message-ID: <4ED59B12.7070701@free.fr> Le 29/11/2011 23:16, Orbeman a ?crit : > Hello, > > Could you help me to use properly the following command > '$\textcolor[rgb]{r,g,b}{Hello}$' in a xstring or xtitle where r, g and b > are given by a *colormap* (eg : ens_color=floor(255*jetcolormar(100)); > r=ens_color(10,1); g=ens_color(10,1); b=ens_color(10,1)). > This is a LaTeX question. r,g,b must be between 0 and 1, not 0 and 255. Samuel From ludo.wag at laposte.net Wed Nov 30 08:24:50 2011 From: ludo.wag at laposte.net (Orbeman) Date: Tue, 29 Nov 2011 23:24:50 -0800 (PST) Subject: Color with a LaTeX string In-Reply-To: <4ED59B12.7070701@free.fr> References: <1322604973123-3546663.post@n3.nabble.com> <4ED59B12.7070701@free.fr> Message-ID: <1322637890940-3547531.post@n3.nabble.com> Ok but the argument [rgb] does not seem to be recognized. eg : the expression xstring(0.5,0.5,'$\textcolor[rgb]{0,1,0}{Hello}$') give */rgb]0,1,0Hello/* in the plot window but xstring(0.5,0.5,'$\textcolor{green}{Hello}$') word good. The problems is that I don't know the name of each color in the colormap... Thank you. -- View this message in context: http://mailinglists.scilab.org/Color-with-a-LaTeX-string-tp3546663p3547531.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Wed Nov 30 10:28:23 2011 From: calixte.denizet at scilab-enterprises.com (Calixte) Date: Wed, 30 Nov 2011 10:28:23 +0100 Subject: [scilab-Users] Re: Color with a LaTeX string In-Reply-To: <1322637890940-3547531.post@n3.nabble.com> References: <1322604973123-3546663.post@n3.nabble.com> <4ED59B12.7070701@free.fr> <1322637890940-3547531.post@n3.nabble.com> Message-ID: <4ED5F737.60106@scilab-enterprises.com> Hi, On 30/11/2011 08:24, Orbeman wrote: > Ok but the argument [rgb] does not seem to be recognized. > > eg : the expression xstring(0.5,0.5,'$\textcolor[rgb]{0,1,0}{Hello}$') give > */rgb]0,1,0Hello/* in the plot window but > xstring(0.5,0.5,'$\textcolor{green}{Hello}$') word good. > > The problems is that I don't know the name of each color in the colormap... For now, you have two solutions: i) \definecolor{MyGreen}{rgb}{0,1,0}\textcolor{MyGreen}{Hello World} ii) \fgcolor{#00FF00}{Hello Wolrd} In a next release of JLaTeXMath, it would be possible to have \textcolor{0,255,0}{Hello}. Calixte > Thank you. > > -- > View this message in context: http://mailinglists.scilab.org/Color-with-a-LaTeX-string-tp3546663p3547531.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.