From vogt at centre-cired.fr Thu Sep 1 16:02:54 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 01 Sep 2011 16:02:54 +0200 Subject: wonkish problem with linear algebra, projections, and fun Message-ID: <4E5F908E.1060306@centre-cired.fr> Hi I've got a (n,p) matrix M, a (n,1) vector Y, and I search for a (p,1) vector X such as : MX = Y and var(X) is minimal p is so much greater than n and rank(M) = n I was about to implement my problem in GAMS but i had a feeling this is in fact easy algebra that can be solved in 3 lines of scilab code. But the fact that var(x) is not that linear makes doubt Any idea? -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From pacaud.damien at gmail.com Thu Sep 1 17:57:05 2011 From: pacaud.damien at gmail.com (Damien) Date: Thu, 1 Sep 2011 08:57:05 -0700 (PDT) Subject: 2D surface plot : color scale adjustments In-Reply-To: <4DDD14FA.2020808@utc.fr> References: <4DDD14FA.2020808@utc.fr> Message-ID: <1314892625150-3301732.post@n3.nabble.com> Hello, I would like also to plot separately several 2D mesh surfaces with the same color scale using the jetcolormap. I tried several color options without success. Need also plotlib for that ? Here is a simple example : X = [ 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. ] Y = [ 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.25 1.25 1.25 1.25 1.25 1.25 1.25 1.25 1.25 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.75 1.75 1.75 1.75 1.75 1.75 1.75 1.75 1.75 2. 2. 2. 2. 2. 2. 2. 2. 2. 2.25 2.25 2.25 2.25 2.25 2.25 2.25 2.25 2.25 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.75 2.75 2.75 2.75 2.75 2.75 2.75 2.75 2.75 3. 3. 3. 3. 3. 3. 3. 3. 3. ] Z = [ 10. 12.378785 15.776985 18.793712 20. 18.793712 15.776985 12.378785 10. 6.7120752 9.3148988 13.296428 16.948512 18.554367 17.391638 14.145787 10.465468 7.9798151 2.904725 5.6028542 10.054341 14.275437 16.300681 15.303967 12.025772 8.2734174 5.8472513 0.0775566 2.8346132 7.6240519 12.268768 14.630681 13.810827 10.579788 6.838548 4.4892417 0. 2.8368326 7.7451161 12.521141 15. 14.26884 11.09501 7.3747073 5. 3.4701546 6.4219044 11.17611 15.712804 18.023279 17.254863 14.131846 10.425839 7.8818397 9.4972501 12.573709 16.95673 20.967917 22.893206 21.996447 18.928161 15.244272 12.439776 15.75388 18.875592 22.763219 26.127407 27.596172 26.570533 23.612578 20.026161 17.02162 20. 22.952662 26.247008 28.94533 30. 28.94533 26.247008 22.952662 20. ] hh = scf(); drawlater; mesh(X,Y,Z); xset('colormap',jetcolormap(128)); ee = gce(); ee.color_flag = 3; drawnow; Regards Damien -- View this message in context: http://mailinglists.scilab.org/2D-surface-plot-color-scale-adjustments-tp2984524p3301732.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Fri Sep 2 09:58:56 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 02 Sep 2011 09:58:56 +0200 Subject: [scilab-Users] Re: 2D surface plot : color scale adjustments In-Reply-To: <1314892625150-3301732.post@n3.nabble.com> References: <4DDD14FA.2020808@utc.fr> <1314892625150-3301732.post@n3.nabble.com> Message-ID: <4E608CC0.7030709@laas.fr> Le 01/09/2011 17:57, Damien a ?crit : > Hello, > I would like also to plot separately several 2D mesh surfaces with the same > color scale using the jetcolormap. I tried several color options without > success. Need also plotlib for that ? Here is a simple example : > > X = [ > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > 1. 1.25 1.5 1.75 2. 2.25 2.5 2.75 3. > ] > > Y = [ > 1. 1. 1. 1. 1. 1. 1. 1. 1. > 1.25 1.25 1.25 1.25 1.25 1.25 1.25 1.25 1.25 > 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 1.5 > 1.75 1.75 1.75 1.75 1.75 1.75 1.75 1.75 1.75 > 2. 2. 2. 2. 2. 2. 2. 2. 2. > 2.25 2.25 2.25 2.25 2.25 2.25 2.25 2.25 2.25 > 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5 > 2.75 2.75 2.75 2.75 2.75 2.75 2.75 2.75 2.75 > 3. 3. 3. 3. 3. 3. 3. 3. 3. > ] > > Z = [ > 10. 12.378785 15.776985 18.793712 20. > 18.793712 15.776985 12.378785 10. > 6.7120752 9.3148988 13.296428 16.948512 18.554367 > 17.391638 14.145787 10.465468 7.9798151 > 2.904725 5.6028542 10.054341 14.275437 16.300681 > 15.303967 12.025772 8.2734174 5.8472513 > 0.0775566 2.8346132 7.6240519 12.268768 14.630681 > 13.810827 10.579788 6.838548 4.4892417 > 0. 2.8368326 7.7451161 12.521141 15. > 14.26884 11.09501 7.3747073 5. > 3.4701546 6.4219044 11.17611 15.712804 18.023279 > 17.254863 14.131846 10.425839 7.8818397 > 9.4972501 12.573709 16.95673 20.967917 22.893206 > 21.996447 18.928161 15.244272 12.439776 > 15.75388 18.875592 22.763219 26.127407 27.596172 > 26.570533 23.612578 20.026161 17.02162 > 20. 22.952662 26.247008 28.94533 30. > 28.94533 26.247008 22.952662 20. > ] > > hh = scf(); > drawlater; > mesh(X,Y,Z); > xset('colormap',jetcolormap(128)); > ee = gce(); > ee.color_flag = 3; > drawnow; > > Regards > Damien > > -- > View this message in context: http://mailinglists.scilab.org/2D-surface-plot-color-scale-adjustments-tp2984524p3301732.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. The easiest way I found to plot several colorplots with the same scale is to use contourf and specify the same range to scale color to (ie the same 'nz' vector). But this only works for 2D intensity maps, no 3D! Antoine From vogt at centre-cired.fr Tue Sep 6 00:10:44 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 06 Sep 2011 00:10:44 +0200 Subject: [SPAM] Four questions about Sparse matrix and qpsolve Message-ID: <4E6548E4.4040503@centre-cired.fr> Hi everybody I have a 20k x 20k inferior triangular matrix, that I use in a QPsolve V = -2* TIS(n,n) + (n-1) * eye(n;n) This is V= [ (n-1) 0.....................0 2 (n-1) 0..............0 2 2 (n-1) 0......0 .... ] -Is there any way to get a TI matrix from scilab, without using loops? I would like to use V as a "cost function" for qpsolve (minimize X'.V.X) -Is qpsolve smart enough to change the basis, or should i do it myself? -Should I use sparse matrices? Can I make a sparse trinagular matrix quickly? Some student have implemented faster code for sparse matrices in 2004 (http://www.iecn.u-nancy.fr/~pincon/scilab/expose_taiwan.pdf). -Is this implemented in Scilab? -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From vogt at centre-cired.fr Tue Sep 6 00:35:50 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 06 Sep 2011 00:35:50 +0200 Subject: [scilab-Users] [SPAM] Four questions about Sparse matrix and qpsolve In-Reply-To: <4E6548E4.4040503@centre-cired.fr> References: <4E6548E4.4040503@centre-cired.fr> Message-ID: <4E654EC6.3050501@centre-cired.fr> and also, since det(V) = 0, can I use qp_solve, or should i use the quapro toolbox? On 06/09/2011 00:10, Adrien Vogt-Schilb wrote: > > Hi everybody > > I have a 20k x 20k inferior triangular matrix, that I use in a QPsolve > > V = -2* TIS(n,n) + (n-1) * eye(n;n) > > This is V= [ (n-1) 0.....................0 > 2 (n-1) 0..............0 > 2 2 (n-1) 0......0 > .... > ] > -Is there any way to get a TI matrix from scilab, without using loops? > > I would like to use V as a "cost function" for qpsolve (minimize X'.V.X) > -Is qpsolve smart enough to change the basis, or should i do it myself? > > -Should I use sparse matrices? Can I make a sparse trinagular matrix > quickly? > > Some student have implemented faster code for sparse matrices in 2004 > (http://www.iecn.u-nancy.fr/~pincon/scilab/expose_taiwan.pdf). > -Is this implemented in Scilab? > > > -- > > *Adrien Vogt-Schilb* > Research Fellow > vogt at centre-cired.fr > Tel: (+33) 1 43 94 73 96 > Fax: (+33) 1 43 94 73 70 > > CIRED > > > > 45 bis, Av de la Belle Gabrielle > F-94736 Nogent-sur-Marne > http://www.centre-cired.fr/ > -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 4092 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From chtidio at gmail.com Tue Sep 6 15:18:21 2011 From: chtidio at gmail.com (Chtidio) Date: Tue, 6 Sep 2011 06:18:21 -0700 (PDT) Subject: Scilab 5.3.3 on Win 7, "File, Open a File" fails Message-ID: <1315315101805-3313494.post@n3.nabble.com> Installed the latest version without any problems and seems to operate fine. However, when I access the "File, Open a File" or the "File, Change Current Directory" menu commands, the program just shuts down. No Warning, no error, it just goes away and I have to restart it. The behavior is exhibited when I try to save any script I create with the editor. -- View this message in context: http://mailinglists.scilab.org/Scilab-5-3-3-on-Win-7-File-Open-a-File-fails-tp3313494p3313494.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From omorr at uns.ac.rs Wed Sep 7 14:31:48 2011 From: omorr at uns.ac.rs (omorr) Date: Wed, 7 Sep 2011 05:31:48 -0700 (PDT) Subject: SciNote - SciBook??? Message-ID: <1315398708739-3316496.post@n3.nabble.com> Hello all, I was just wondering about the folowing functionality using Scilab. An average user will type some commands in console, see the results in it, make some plots, open some scripts in SciNote, execute some command from it etc. Sooner or later, there will be opened many windows and there would be a bit confusing to manage all of them. My question is - Is there any way to use Scilab in a fashion like SciBook functionality? What do I mean by that. Just to have the ability, say in SciNote window, the result of a command to be just below that window - and parsed to the console at the same time. The result of the plot command to be just below that command - and parsed to the plot window at the same time. In this way we will have the entire document in the same window-file. We might edit and/or reexecute commands or entire documet etc. Some similar functionality has Maple or Mathematica but I do not know if such things exists in Scilab or Matlab-like software. This kind of functionality I've seen only on this Matlab-like software http://euler.rene-grothmann.de/index.html EuMathT . I do not know if there exist anything similar in Matlab-like world. If it does, just let me know please. I hope I made myself understood. Regards, Radovan -- View this message in context: http://mailinglists.scilab.org/SciNote-SciBook-tp3316496p3316496.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab.org Wed Sep 7 14:43:44 2011 From: calixte.denizet at scilab.org (Calixte Denizet) Date: Wed, 07 Sep 2011 14:43:44 +0200 Subject: [scilab-Users] SciNote - SciBook??? In-Reply-To: <1315398708739-3316496.post@n3.nabble.com> References: <1315398708739-3316496.post@n3.nabble.com> Message-ID: <4E676700.9060002@scilab.org> Hi Radovan, It is an interesting idea. It is not planned for now but in the future, why not... Please put a wish at bugzilla.scilab.org. Regards, Calixte On 07/09/2011 14:31, omorr wrote: > Hello all, > > I was just wondering about the folowing functionality using Scilab. > An average user will type some commands in console, see the results in it, > make some plots, open some scripts in SciNote, execute some command from it > etc. Sooner or later, there will be opened many windows and there would be a > bit confusing to manage all of them. > > My question is - Is there any way to use Scilab in a fashion like SciBook > functionality? What do I mean by that. Just to have the ability, say in > SciNote window, the result of a command to be just below that window - and > parsed to the console at the same time. The result of the plot command to be > just below that command - and parsed to the plot window at the same time. In > this way we will have the entire document in the same window-file. We might > edit and/or reexecute commands or entire documet etc. Some similar > functionality has Maple or Mathematica but I do not know if such things > exists in Scilab or Matlab-like software. This kind of functionality I've > seen only on this Matlab-like software > http://euler.rene-grothmann.de/index.html EuMathT . I do not know if there > exist anything similar in Matlab-like world. If it does, just let me know > please. > > I hope I made myself understood. > > Regards, > Radovan > > > -- > View this message in context: http://mailinglists.scilab.org/SciNote-SciBook-tp3316496p3316496.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From omorr at uns.ac.rs Wed Sep 7 14:51:48 2011 From: omorr at uns.ac.rs (omorr) Date: Wed, 7 Sep 2011 05:51:48 -0700 (PDT) Subject: SciNote - SciBook??? In-Reply-To: <4E676700.9060002@scilab.org> References: <1315398708739-3316496.post@n3.nabble.com> <4E676700.9060002@scilab.org> Message-ID: <1315399908015-3316533.post@n3.nabble.com> Thanks Calixte for the prompt respond I will put this at bugzilla.scilab.org. Regards, Radovan -- View this message in context: http://mailinglists.scilab.org/SciNote-SciBook-tp3316496p3316533.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From manjusha.joshi at gmail.com Wed Sep 7 15:57:52 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Wed, 7 Sep 2011 19:27:52 +0530 Subject: [scilab-Users] Re: SciNote - SciBook??? In-Reply-To: <1315399908015-3316533.post@n3.nabble.com> References: <1315398708739-3316496.post@n3.nabble.com> <4E676700.9060002@scilab.org> <1315399908015-3316533.post@n3.nabble.com> Message-ID: On Wed, Sep 7, 2011 at 6:21 PM, omorr wrote: > Thanks Calixte for the prompt respond > > I will put this at bugzilla.scilab.org. > The feature you mentioned is same as notebook feature of SAGE ( http://www.sagemath.org/). This is very useful for teaching the class. And for sharing the work. > -- > View this message in context: > http://mailinglists.scilab.org/SciNote-SciBook-tp3316496p3316533.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > -- Manjusha S. Joshi blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From perrichon.pierre at wanadoo.fr Wed Sep 7 15:59:18 2011 From: perrichon.pierre at wanadoo.fr (Perrichon Pierre) Date: Wed, 7 Sep 2011 15:59:18 +0200 Subject: scicos to xcos Message-ID: Hello, I am translating a scicos program to a xcos program. What is the equivalent term of GAINBLK with the same dialog box parameters? (GAINBLK_f ? what is different?) This component is now not in the palettes. Regards P -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Wed Sep 7 16:24:54 2011 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 07 Sep 2011 16:24:54 +0200 Subject: [scilab-Users] scicos to xcos In-Reply-To: References: Message-ID: <1315405494.18555.8.camel@cezembre.inria.fr> Hello, After a check it seems that GAINBLK is more powerful than GAINBLK_f . We should only provide the more complete version. Can you comment the obsolete block list about this issue please ? http://wiki.scilab.org/Xcos/Deprecated -- Cl?ment Le mercredi 07 septembre 2011 ? 15:59 +0200, Perrichon Pierre a ?crit : > Hello, > > > > I am translating a scicos program to a xcos program. > > What is the equivalent term of GAINBLK with the same dialog box > parameters? (GAINBLK_f ? what is different?) > > This component is now not in the palettes. > > > > Regards > > > > P > > From wagner.guilherme at itelefonica.com.br Wed Sep 7 17:07:57 2011 From: wagner.guilherme at itelefonica.com.br (Wagner) Date: Wed, 7 Sep 2011 12:07:57 -0300 Subject: Test Message-ID: Test of email Thank you Wagner -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner.cw711 at gmail.com Wed Sep 7 17:24:35 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Wed, 7 Sep 2011 10:24:35 -0500 Subject: [scilab-Users] Re: SciNote - SciBook??? In-Reply-To: References: <1315398708739-3316496.post@n3.nabble.com> <4E676700.9060002@scilab.org> <1315399908015-3316533.post@n3.nabble.com> Message-ID: You may also find the way that KNIME organizes projects quite interesting... On Wed, Sep 7, 2011 at 8:57 AM, Manjusha Joshi wrote: > > > On Wed, Sep 7, 2011 at 6:21 PM, omorr wrote: > >> Thanks Calixte for the prompt respond >> >> I will put this at bugzilla.scilab.org. >> > The feature you mentioned is same as notebook feature of SAGE ( > http://www.sagemath.org/). This is very useful for teaching the class. And > for sharing the work. > >> -- >> View this message in context: >> http://mailinglists.scilab.org/SciNote-SciBook-tp3316496p3316533.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive >> at Nabble.com. >> > > > > -- > Manjusha S. Joshi > > blog:http://manjushajoshi.wordpress.com/ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Thu Sep 8 22:18:09 2011 From: paul.carrico at free.fr (Paul CARRICO) Date: Thu, 8 Sep 2011 22:18:09 +0200 Subject: Stupid question Message-ID: <000001cc6e64$6e0889a0$4a199ce0$@carrico@free.fr> Dear all, Is there another way to test a Boolean than the following (ugly) one test =%f if (test) then else printf("This is false\n") end Thanks Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Fri Sep 9 09:12:31 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 09 Sep 2011 09:12:31 +0200 Subject: [scilab-Users] Stupid question In-Reply-To: <000001cc6e64$6e0889a0$4a199ce0$@carrico@free.fr> References: <000001cc6e64$6e0889a0$4a199ce0$@carrico@free.fr> Message-ID: <4E69BC5F.6070601@laas.fr> Le 08/09/2011 22:18, Paul CARRICO a ?crit : > Dear all, > > > > Is there another way to test a Boolean than the following (ugly) one > > > > test =%f > > if (test) then > > > > else > > printf("This is false\n") > > end > > > > Thanks > > > > Paul > > Try this: a=%f; b=%t; printf(string(a)); printf(string(b)); Antoine From paul.carrico at esterline.com Fri Sep 9 09:19:19 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 9 Sep 2011 09:19:19 +0200 Subject: [scilab-Users] Stupid question In-Reply-To: <4E69BC5F.6070601@laas.fr> References: <000001cc6e64$6e0889a0$4a199ce0$@carrico@free.fr> <4E69BC5F.6070601@laas.fr> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76AFF@exchsrv.AUXITROL1> Dear Antoine, I used an example that seems not to be convinient ... I would like to find a (good) way to do the following algorithm : Test = %f If ( test is false) then launch my_function Nothing is done if test == %t My example works, but it looks ugly for me Paul -----Message d'origine----- De : Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] Envoy? : vendredi 9 septembre 2011 09:13 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Stupid question Le 08/09/2011 22:18, Paul CARRICO a ?crit : > Dear all, > > > > Is there another way to test a Boolean than the following (ugly) one > > > > test =%f > > if (test) then > > > > else > > printf("This is false\n") > > end > > > > Thanks > > > > Paul > > Try this: a=%f; b=%t; printf(string(a)); printf(string(b)); Antoine -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From jasper at amsterchem.com Fri Sep 9 09:23:20 2011 From: jasper at amsterchem.com (jasper van baten) Date: Fri, 09 Sep 2011 09:23:20 +0200 Subject: [scilab-Users] Stupid question In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76AFF@exchsrv.AUXITROL1 > References: <000001cc6e64$6e0889a0$4a199ce0$@carrico@free.fr> <4E69BC5F.6070601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76AFF@exchsrv.AUXITROL1> Message-ID: <201109090723.p897NODk009837@dutch35.digitalus.nl> Dear Paul, Check for ~test (~ is the not operator). Best wishes, Jasper. At 09:19 9/9/2011, you wrote: >Dear Antoine, > >I used an example that seems not to be >convinient ... I would like to find a (good) way >to do the following algorithm : > >Test = %f > >If ( test is false) then launch my_function > >Nothing is done if test == %t > > > >My example works, but it looks ugly for me > > >Paul > > > > >-----Message d'origine----- >De : Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] >Envoy? : vendredi 9 septembre 2011 09:13 >? : users at lists.scilab.org >Objet : Re: [scilab-Users] Stupid question > >Le 08/09/2011 22:18, Paul CARRICO a ?crit : > > Dear all, > > > > > > > > Is there another way to test a Boolean than the following (ugly) one > > > > > > > > test =%f > > > > if (test) then > > > > > > > > else > > > > printf("This is false\n") > > > > end > > > > > > > > Thanks > > > > > > > > Paul > > > > >Try this: > >a=%f; b=%t; >printf(string(a)); >printf(string(b)); > >Antoine > >-------------------------------------------------------------------------------- > > >Le pr?sent mail et ses pi?ces jointes sont >confidentiels et destin?s ? la personne ou aux >personnes vis?e(s) ci-dessus. Si vous avez re?u >cet e-mail par erreur, veuillez contacter >imm?diatement l'exp?diteur et effacer le message >de votre syst?me. Toute divulgation, copie ou >distribution de cet e-mail est strictement interdite. > >This email and any files transmitted with it are >confidential and intended solely for the use of >the individual or entity to whom they are >addressed. If you have received this email in >error, please contact the sender and delete the >email from your system. If you are not the named >addressee you should not disseminate, distribute or copy this email. From paul.carrico at esterline.com Fri Sep 9 11:51:28 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 9 Sep 2011 11:51:28 +0200 Subject: string matrix with empty Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B04@exchsrv.AUXITROL1> Dear All The following syntax failed ... but is it possible to declare a matrix of string with empty cells ? ... Of course there're some workaround string_matrix = [ 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , [] , [] , [] ; 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , [] , [] ; 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , [] , 'result.in' , 'result.out'; 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , [] , [] , [] ] As you can imagine different kinds of information's are concentrated in such matrix Thanks for any advice Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri Sep 9 12:00:58 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 09 Sep 2011 12:00:58 +0200 Subject: [scilab-Users] string matrix with empty In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B04@exchsrv.AUXITROL1> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B04@exchsrv.AUXITROL1> Message-ID: <4E69E3DA.9070802@centre-cired.fr> Hi For me the obvious way is tu use emtpy strings string_matrix = [ 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , '', '' , '' ; 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , '' , '' ; 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , '', 'result.in' , 'result.out'; 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , '' , '' , '' ] you could also initialize your matrix like string_matrix = emptystr(4,8); and then fill what you need. Finally, you can also use lists, which allow heterogenous content A(1)="FileNb"+string(1:4)' A(2)="C:/Rep"+string(1:4)' A(3) = "fct"+string(1:4)' and i believe "cells" can be usefull too. Try help cell On 09/09/2011 11:51, Carrico, Paul wrote: > Dear All > The following syntax failed ... but is it possible to declare a matrix > of string with empty cells ? ... Of course there're some workaround > string_matrix = [ > 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , [] , [] , [] ; > 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , [] , [] ; > 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , [] , 'result.in' , 'result.out'; > 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , [] , [] , [] > ] > As you can imagine different kinds of information's are concentrated > in such matrix > Thanks for any advice > Paul > -------------------------------------------------------------------------------- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. > > > > -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From paul.carrico at esterline.com Fri Sep 9 12:23:10 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 9 Sep 2011 12:23:10 +0200 Subject: [scilab-Users] string matrix with empty In-Reply-To: <4E69E3DA.9070802@centre-cired.fr> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B04@exchsrv.AUXITROL1> <4E69E3DA.9070802@centre-cired.fr> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B05@exchsrv.AUXITROL1> J'ai compris ... merci PC ________________________________ De : Adrien Vogt-Schilb [mailto:vogt at centre-cired.fr] Envoy? : vendredi 9 septembre 2011 12:01 ? : users at lists.scilab.org Objet : Re: [scilab-Users] string matrix with empty Hi For me the obvious way is tu use emtpy strings string_matrix = [ 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , '' , '' , '' ; 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , '' , '' ; 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , '', 'result.in' , 'result.out'; 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , '' , '' , '' ] you could also initialize your matrix like string_matrix = emptystr(4,8); and then fill what you need. Finally, you can also use lists, which allow heterogenous content A(1)="FileNb"+string(1:4)' A(2)="C:/Rep"+string(1:4)' A(3) = "fct"+string(1:4)' and i believe "cells" can be usefull too. Try help cell On 09/09/2011 11:51, Carrico, Paul wrote: Dear All The following syntax failed ... but is it possible to declare a matrix of string with empty cells ? ... Of course there're some workaround string_matrix = [ 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , [] , [] , [] ; 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , [] , [] ; 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , [] , 'result.in' , 'result.out'; 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , [] , [] , [] ] As you can imagine different kinds of information's are concentrated in such matrix Thanks for any advice Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -- Adrien Vogt-Schilb Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: logocired.png URL: From paul.carrico at esterline.com Fri Sep 9 12:25:23 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 9 Sep 2011 12:25:23 +0200 Subject: [scilab-Users] string matrix with empty In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B05@exchsrv.AUXITROL1> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B04@exchsrv.AUXITROL1> <4E69E3DA.9070802@centre-cired.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B05@exchsrv.AUXITROL1> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B06@exchsrv.AUXITROL1> oupss .. I made a mistake on the recipient name .... ________________________________ De : Carrico, Paul [mailto:paul.carrico at esterline.com] Envoy? : vendredi 9 septembre 2011 12:23 ? : users at lists.scilab.org Objet : RE: [scilab-Users] string matrix with empty J'ai compris ... merci PC ________________________________ De : Adrien Vogt-Schilb [mailto:vogt at centre-cired.fr] Envoy? : vendredi 9 septembre 2011 12:01 ? : users at lists.scilab.org Objet : Re: [scilab-Users] string matrix with empty Hi For me the obvious way is tu use emtpy strings string_matrix = [ 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , '' , '' , '' ; 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , '' , '' ; 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , '', 'result.in' , 'result.out'; 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , '' , '' , '' ] you could also initialize your matrix like string_matrix = emptystr(4,8); and then fill what you need. Finally, you can also use lists, which allow heterogenous content A(1)="FileNb"+string(1:4)' A(2)="C:/Rep"+string(1:4)' A(3) = "fct"+string(1:4)' and i believe "cells" can be usefull too. Try help cell On 09/09/2011 11:51, Carrico, Paul wrote: Dear All The following syntax failed ... but is it possible to declare a matrix of string with empty cells ? ... Of course there're some workaround string_matrix = [ 'FILE_No1' , 'C:/rep1' , 'fct1' , '%t' , '%f' , [] , [] , [] ; 'FILE_No2' , 'C:/rep2' , 'fct2' , '%t' , '%t' , 'post' , [] , [] ; 'FILE_No3' , 'C:/rep3' , 'fct3' , '%f' , '%f' , [] , 'result.in' , 'result.out'; 'FILE_No4' , 'C:/rep4' , 'fct4' , '%f', '%f' , [] , [] , [] ] As you can imagine different kinds of information's are concentrated in such matrix Thanks for any advice Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -- Adrien Vogt-Schilb Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: logocired.png URL: From xr at geo.hmg.inpg.fr Mon Sep 12 21:44:23 2011 From: xr at geo.hmg.inpg.fr (xavier roguiez) Date: Mon, 12 Sep 2011 21:44:23 +0200 Subject: Metanet under Linux Message-ID: <4E6E6117.9070600@geo.hmg.inpg.fr> Hello I'm trying to install METANET, under ubuntu. http://forge.scilab.org/index.php/p/metanet/ I'm using the 5.3 version of scilab atomsInstall('metanet') atomsInstallList: Le package metanet n''est pas disponible. !--error 10000 at line 51 of function atomsError called by : at line 76 of function atomsInstallList called by : at line 227 of function atomsInstall called by : atomsInstall('metanet') Is it possible to install from the .tgz or is it only possible with windows ? Thanks in advance for any information xavier From xr at geo.hmg.inpg.fr Mon Sep 12 21:56:57 2011 From: xr at geo.hmg.inpg.fr (xavier roguiez) Date: Mon, 12 Sep 2011 21:56:57 +0200 Subject: [scilab-Users] Metanet under Linux In-Reply-To: <4E6E6117.9070600@geo.hmg.inpg.fr> References: <4E6E6117.9070600@geo.hmg.inpg.fr> Message-ID: <4E6E6409.3020808@geo.hmg.inpg.fr> Le 12/09/2011 21:44, xavier roguiez a ?crit : > Hello > > I'm trying to install METANET, under ubuntu. > http://forge.scilab.org/index.php/p/metanet/ > > I'm using the 5.3 version of scilab > > atomsInstall('metanet') > atomsInstallList: Le package metanet n''est pas disponible. > !--error 10000 > > at line 51 of function atomsError called by : > at line 76 of function atomsInstallList called by : > at line 227 of function atomsInstall called by : > atomsInstall('metanet') > > Is it possible to install from the .tgz or is it only possible with > windows ? > > Thanks in advance for any information > xavier > I may have found part of answer ? http://mailinglists.scilab.org/DEC-metanet-for-linux-dist-td2963399.html Is it possible to use old versions, i want to solve knapsack problem xavier From d.picard at opgc.univ-bpclermont.fr Tue Sep 13 16:54:32 2011 From: d.picard at opgc.univ-bpclermont.fr (David PICARD) Date: Tue, 13 Sep 2011 16:54:32 +0200 Subject: Unix time Message-ID: <4E6F6EA8.5040805@opgc.univ-bpclermont.fr> Hi, getdate("s") returns the unix timestamp (seconds since 1970-01-01 00:00:00) for the current time. How do I convert any date-time to unix time ? Thanks. From sgougeon at free.fr Wed Sep 14 00:59:25 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 14 Sep 2011 00:59:25 +0200 Subject: [scilab-Users] Unix time In-Reply-To: <4E6F6EA8.5040805@opgc.univ-bpclermont.fr> References: <4E6F6EA8.5040805@opgc.univ-bpclermont.fr> Message-ID: <4E6FE04D.9050500@free.fr> Le 13/09/2011 16:54, David PICARD a ?crit : > Hi, > > getdate("s") returns the unix timestamp (seconds since 1970-01-01 > 00:00:00) for the current time. How do I convert any date-time to unix > time ? > > Thanks. > > AFAIK, it is not possible through the native Scilab. However, you may find the useful function in the wrscilib package : http://fileexchange.scilab.org/toolboxes/wrscilib Please do not hesitate to confirm here that this one can do the job ;) Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.picard at opgc.univ-bpclermont.fr Wed Sep 14 08:40:18 2011 From: d.picard at opgc.univ-bpclermont.fr (David PICARD) Date: Wed, 14 Sep 2011 08:40:18 +0200 Subject: [scilab-Users] Unix time In-Reply-To: <4E6FE04D.9050500@free.fr> References: <4E6F6EA8.5040805@opgc.univ-bpclermont.fr> <4E6FE04D.9050500@free.fr> Message-ID: <4E704C52.40005@opgc.univ-bpclermont.fr> An HTML attachment was scrubbed... URL: From xr at geo.hmg.inpg.fr Wed Sep 14 11:42:25 2011 From: xr at geo.hmg.inpg.fr (xavier roguiez) Date: Wed, 14 Sep 2011 11:42:25 +0200 Subject: [scilab-Users] Metanet under Linux In-Reply-To: <4E6E6409.3020808@geo.hmg.inpg.fr> References: <4E6E6117.9070600@geo.hmg.inpg.fr> <4E6E6409.3020808@geo.hmg.inpg.fr> Message-ID: <4E707701.5010602@geo.hmg.inpg.fr> Le 12/09/2011 21:56, xavier roguiez a ?crit : > Le 12/09/2011 21:44, xavier roguiez a ?crit : >> Hello >> >> I'm trying to install METANET, under ubuntu. >> http://forge.scilab.org/index.php/p/metanet/ >> >> I'm using the 5.3 version of scilab >> >> atomsInstall('metanet') >> atomsInstallList: Le package metanet n''est pas disponible. >> !--error 10000 >> >> at line 51 of function atomsError called by : >> at line 76 of function atomsInstallList called by : >> at line 227 of function atomsInstall called by : >> atomsInstall('metanet') >> >> Is it possible to install from the .tgz or is it only possible with >> windows ? >> >> Thanks in advance for any information >> xavier >> > I may have found part of answer ? > > http://mailinglists.scilab.org/DEC-metanet-for-linux-dist-td2963399.html > > Is it possible to use old versions, i want to solve knapsack problem > > xavier > I've tried to use metanet with windows but without any sucess. Does anybody could help me ? I've got the same problem as http://mailinglists.scilab.org/Scilab-5-3-2-ATOMS-module-Metanet-0-3-2-installation-error-tt3194602.html#none Thanks xavier From ricci2 at unisi.it Wed Sep 14 15:18:01 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Wed, 14 Sep 2011 15:18:01 +0200 Subject: what am I doing wrong Message-ID: <4E70A989.6040801@unisi.it> Ehm... pretty sure I am going to place a dummy question but I got to do it: is it corret the below result from my scilab console ? -->-10^2 ans = - 100. thanks /maso -- ---------------------------------------- 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 jasper at amsterchem.com Wed Sep 14 15:19:46 2011 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 14 Sep 2011 15:19:46 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70A989.6040801@unisi.it> References: <4E70A989.6040801@unisi.it> Message-ID: <201109141319.p8EDJfJB022156@dutch35.digitalus.nl> Try (-10)^2. Best wishes, Jasper. At 15:18 9/14/2011, Maso RICCI wrote: >Ehm... pretty sure I am going to place a dummy question > >but I got to do it: > >is it corret the below result from my scilab console ? > >-->-10^2 > ans = > > - 100. > >thanks > >/maso > >-- >---------------------------------------- >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 paul.carrico at esterline.com Wed Sep 14 15:20:50 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Wed, 14 Sep 2011 15:20:50 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70A989.6040801@unisi.it> References: <4E70A989.6040801@unisi.it> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> Try (-10)^2 Different from -1*10^2 == -1*(10)^2 Paul Please consider the environment before printing this e-mail -----Message d'origine----- De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 septembre 2011 15:18 ? : users at lists.scilab.org Objet : [scilab-Users] what am I doing wrong Ehm... pretty sure I am going to place a dummy question but I got to do it: is it corret the below result from my scilab console ? -->-10^2 ans = - 100. thanks /maso -- ---------------------------------------- Maso RICCI PhD Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via Aldo Moro,2 Siena phone: +390577234367 email: ricci2 at unisi.it ---------------------------------------- -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From ricci2 at unisi.it Wed Sep 14 15:24:38 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Wed, 14 Sep 2011 15:24:38 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> Message-ID: <4E70AB16.8050001@unisi.it> got it ... thanks for helping me but is it not a little confusing ? /maso Il 14/09/2011 15.20, Carrico, Paul ha scritto: > Try (-10)^2 > > Different from -1*10^2 == -1*(10)^2 > > Paul > > > Please consider the environment before printing this e-mail > > > -----Message d'origine----- > De : Maso RICCI [mailto:ricci2 at unisi.it] > Envoy? : mercredi 14 septembre 2011 15:18 > ? : users at lists.scilab.org > Objet : [scilab-Users] what am I doing wrong > > Ehm... pretty sure I am going to place a dummy question > > but I got to do it: > > is it corret the below result from my scilab console ? > > -->-10^2 > ans = > > - 100. > > thanks > > /maso > -- ---------------------------------------- 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 paul.carrico at esterline.com Wed Sep 14 15:28:08 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Wed, 14 Sep 2011 15:28:08 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70AB16.8050001@unisi.it> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> Well Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 ... The negative sign is not influence by the square, isn't it ? Be rigorous in using parentheses .... Paul -----Message d'origine----- De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 septembre 2011 15:25 ? : users at lists.scilab.org Objet : Re: [scilab-Users] what am I doing wrong got it ... thanks for helping me but is it not a little confusing ? /maso Il 14/09/2011 15.20, Carrico, Paul ha scritto: > Try (-10)^2 > > Different from -1*10^2 == -1*(10)^2 > > Paul > > > Please consider the environment before printing this e-mail > > > -----Message d'origine----- > De : Maso RICCI [mailto:ricci2 at unisi.it] > Envoy? : mercredi 14 septembre 2011 15:18 > ? : users at lists.scilab.org > Objet : [scilab-Users] what am I doing wrong > > Ehm... pretty sure I am going to place a dummy question > > but I got to do it: > > is it corret the below result from my scilab console ? > > -->-10^2 > ans = > > - 100. > > thanks > > /maso > -- ---------------------------------------- Maso RICCI PhD Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via Aldo Moro,2 Siena phone: +390577234367 email: ricci2 at unisi.it ---------------------------------------- -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From jasper at amsterchem.com Wed Sep 14 15:34:01 2011 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 14 Sep 2011 15:34:01 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70AB16.8050001@unisi.it> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> Message-ID: <201109141334.p8EDXvIG022156@dutch35.digitalus.nl> Would be confusing if it were the other way around. Normally a unary minus has a lower operator precedence than a power. I cannot quickly find a list of scilab's operator precedence. I presume it is pretty standard. For example in a - b - c you would not expect b - c to get evaluated first and then subtracted from a... If you would want that, you would write a - (b - c) Jasper. At 15:24 9/14/2011, Maso RICCI wrote: >got it ... > >thanks for helping me > >but is it not a little confusing ? > >/maso > >Il 14/09/2011 15.20, Carrico, Paul ha scritto: >>Try (-10)^2 >> >>Different from -1*10^2 == -1*(10)^2 >> >>Paul >> >> >>Please consider the environment before printing this e-mail >> >> >>-----Message d'origine----- >>De : Maso RICCI [mailto:ricci2 at unisi.it] >>Envoy? : mercredi 14 septembre 2011 15:18 >>? : users at lists.scilab.org >>Objet : [scilab-Users] what am I doing wrong >> >>Ehm... pretty sure I am going to place a dummy question >> >>but I got to do it: >> >>is it corret the below result from my scilab console ? >> >>-->-10^2 >> ans = >> >> - 100. >> >>thanks >> >>/maso > >-- >---------------------------------------- >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 jasper at amsterchem.com Wed Sep 14 15:35:04 2011 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 14 Sep 2011 15:35:04 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1 > References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> Message-ID: <201109141335.p8EDZ0YP022156@dutch35.digitalus.nl> >Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 >... The negative sign is not influence by the square, isn't it ? (this is a binary minus, a different operator than the unary minus). Jasper. From celso.co at gmail.com Wed Sep 14 15:35:49 2011 From: celso.co at gmail.com (Celso Co) Date: Wed, 14 Sep 2011 21:35:49 +0800 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70A989.6040801@unisi.it> References: <4E70A989.6040801@unisi.it> Message-ID: Maso, I think it is in the context of 0-10^2 as follows -->0-10^2 ans = - 100. -->(-10)^2 ans = 100. Regards, cco On Wed, Sep 14, 2011 at 9:18 PM, Maso RICCI wrote: > Ehm... pretty sure I am going to place a dummy question > > but I got to do it: > > is it corret the below result from my scilab console ? > > -->-10^2 > ?ans ?= > > ?- 100. > > thanks > > /maso > > -- > ---------------------------------------- > Maso RICCI PhD > Dipartimento Farmaco Chimico Tecnologico > Universit? degli Studi di Siena > Via Aldo Moro,2 > Siena > > phone: +390577234367 > email: ricci2 at unisi.it > ---------------------------------------- > > -- Eng'r Celso B. Co, PhD ECE Mobile Nos; +63918 913 2123 From aivaz at dps.uminho.pt Wed Sep 14 15:36:37 2011 From: aivaz at dps.uminho.pt (A. Ismael F. Vaz) Date: Wed, 14 Sep 2011 14:36:37 +0100 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> Message-ID: <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> Hi, This is better explained by using precedencies in mathematical expressions. First we solve what's in parenthesis, then potentiation, then multiplication and division, and in the end the summation and subtractions from left to right. In -10^2 the potentiation has priority over the subtraction. In (-10)^2 the parenthesis has priority over the potentiation. You obtain exactly the same behavior using a scientific calculator, in fact I warn my students about this when I taught Numerical Methods. Best regards, Ismael -----Mensagem original----- De: Carrico, Paul [mailto:paul.carrico at esterline.com] Enviada: quarta-feira, 14 de Setembro de 2011 14:28 Para: users at lists.scilab.org Assunto: RE: [scilab-Users] what am I doing wrong Well Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 ... The negative sign is not influence by the square, isn't it ? Be rigorous in using parentheses .... Paul -----Message d'origine----- De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 septembre 2011 15:25 ? : users at lists.scilab.org Objet : Re: [scilab-Users] what am I doing wrong got it ... thanks for helping me but is it not a little confusing ? /maso Il 14/09/2011 15.20, Carrico, Paul ha scritto: > Try (-10)^2 > > Different from -1*10^2 == -1*(10)^2 > > Paul > > > Please consider the environment before printing this e-mail > > > -----Message d'origine----- > De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 > septembre 2011 15:18 ? : users at lists.scilab.org Objet : [scilab-Users] > what am I doing wrong > > Ehm... pretty sure I am going to place a dummy question > > but I got to do it: > > is it corret the below result from my scilab console ? > > -->-10^2 > ans = > > - 100. > > thanks > > /maso > -- ---------------------------------------- Maso RICCI PhD Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via Aldo Moro,2 Siena phone: +390577234367 email: ricci2 at unisi.it ---------------------------------------- ---------------------------------------------------------------------------- ---- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From mathieu.dubois at limsi.fr Wed Sep 14 15:44:50 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 14 Sep 2011 15:44:50 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> Message-ID: <4E70AFD2.9030008@limsi.fr> Hello, I haven't found a list of operator's precedence in the documentation. Is that normal? I have found this website (warning it refers to an old version of scilab): http://kiwi.emse.fr/SCILAB/sci-bot/c727.htm#SECT-OPERATOR-PRECEDENCE Mathieu On 09/14/2011 03:36 PM, A. Ismael F. Vaz wrote: > Hi, > > This is better explained by using precedencies in mathematical expressions. > First we solve what's in parenthesis, then potentiation, then multiplication > and division, and in the end the summation and subtractions from left to > right. > > In -10^2 the potentiation has priority over the subtraction. > > In (-10)^2 the parenthesis has priority over the potentiation. > > You obtain exactly the same behavior using a scientific calculator, in fact > I warn my students about this when I taught Numerical Methods. > > Best regards, > Ismael > > -----Mensagem original----- > De: Carrico, Paul [mailto:paul.carrico at esterline.com] > Enviada: quarta-feira, 14 de Setembro de 2011 14:28 > Para: users at lists.scilab.org > Assunto: RE: [scilab-Users] what am I doing wrong > > Well > > Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 ... The > negative sign is not influence by the square, isn't it ? > > Be rigorous in using parentheses .... > > Paul > > > -----Message d'origine----- > De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 septembre 2011 > 15:25 ? : users at lists.scilab.org Objet : Re: [scilab-Users] what am I doing > wrong > > got it ... > > thanks for helping me > > but is it not a little confusing ? > > /maso > > Il 14/09/2011 15.20, Carrico, Paul ha scritto: >> Try (-10)^2 >> >> Different from -1*10^2 == -1*(10)^2 >> >> Paul >> >> >> Please consider the environment before printing this e-mail >> >> >> -----Message d'origine----- >> De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 >> septembre 2011 15:18 ? : users at lists.scilab.org Objet : [scilab-Users] >> what am I doing wrong >> >> Ehm... pretty sure I am going to place a dummy question >> >> but I got to do it: >> >> is it corret the below result from my scilab console ? >> >> -->-10^2 >> ans = >> >> - 100. >> >> thanks >> >> /maso >> > -- > ---------------------------------------- > Maso RICCI PhD > Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via > Aldo Moro,2 Siena > > phone: +390577234367 > email: ricci2 at unisi.it > ---------------------------------------- > > ---------------------------------------------------------------------------- > ---- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la > personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail > par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le > message de votre syst?me. Toute divulgation, copie ou distribution de cet > e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error, please contact the sender and > delete the email from your system. If you are not the named addressee you > should not disseminate, distribute or copy this email. > From ricci2 at unisi.it Wed Sep 14 15:54:39 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Wed, 14 Sep 2011 15:54:39 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70AFD2.9030008@limsi.fr> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> <4E70AFD2.9030008@limsi.fr> Message-ID: <4E70B21F.1060509@unisi.it> try this into the console: help ^ /maso Il 14/09/2011 15.44, Mathieu Dubois ha scritto: > Hello, > > I haven't found a list of operator's precedence in the documentation. > Is that normal? > > I have found this website (warning it refers to an old version of > scilab): > http://kiwi.emse.fr/SCILAB/sci-bot/c727.htm#SECT-OPERATOR-PRECEDENCE > > Mathieu > On 09/14/2011 03:36 PM, A. Ismael F. Vaz wrote: >> Hi, >> >> This is better explained by using precedencies in mathematical >> expressions. >> First we solve what's in parenthesis, then potentiation, then >> multiplication >> and division, and in the end the summation and subtractions from left to >> right. >> >> In -10^2 the potentiation has priority over the subtraction. >> >> In (-10)^2 the parenthesis has priority over the potentiation. >> >> You obtain exactly the same behavior using a scientific calculator, >> in fact >> I warn my students about this when I taught Numerical Methods. >> >> Best regards, >> Ismael >> >> -----Mensagem original----- >> De: Carrico, Paul [mailto:paul.carrico at esterline.com] >> Enviada: quarta-feira, 14 de Setembro de 2011 14:28 >> Para: users at lists.scilab.org >> Assunto: RE: [scilab-Users] what am I doing wrong >> >> Well >> >> Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 ... >> The >> negative sign is not influence by the square, isn't it ? >> >> Be rigorous in using parentheses .... >> >> Paul >> >> >> -----Message d'origine----- >> De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 >> septembre 2011 >> 15:25 ? : users at lists.scilab.org Objet : Re: [scilab-Users] what am I >> doing >> wrong >> >> got it ... >> >> thanks for helping me >> >> but is it not a little confusing ? >> >> /maso >> >> Il 14/09/2011 15.20, Carrico, Paul ha scritto: >>> Try (-10)^2 >>> >>> Different from -1*10^2 == -1*(10)^2 >>> >>> Paul >>> >>> >>> Please consider the environment before printing this e-mail >>> >>> >>> -----Message d'origine----- >>> De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 >>> septembre 2011 15:18 ? : users at lists.scilab.org Objet : [scilab-Users] >>> what am I doing wrong >>> >>> Ehm... pretty sure I am going to place a dummy question >>> >>> but I got to do it: >>> >>> is it corret the below result from my scilab console ? >>> >>> -->-10^2 >>> ans = >>> >>> - 100. >>> >>> thanks >>> >>> /maso >>> >> -- >> ---------------------------------------- >> Maso RICCI PhD >> Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di >> Siena Via >> Aldo Moro,2 Siena >> >> phone: +390577234367 >> email: ricci2 at unisi.it >> ---------------------------------------- >> >> ---------------------------------------------------------------------------- >> >> ---- >> >> >> Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s >> ? la >> personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet >> e-mail >> par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le >> message de votre syst?me. Toute divulgation, copie ou distribution de >> cet >> e-mail est strictement interdite. >> >> This email and any files transmitted with it are confidential and >> intended >> solely for the use of the individual or entity to whom they are >> addressed. >> If you have received this email in error, please contact the sender and >> delete the email from your system. If you are not the named addressee >> you >> should not disseminate, distribute or copy this email. >> > > -- ---------------------------------------- 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 mathieu.dubois at limsi.fr Wed Sep 14 16:02:06 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 14 Sep 2011 16:02:06 +0200 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <4E70B21F.1060509@unisi.it> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> <4E70AFD2.9030008@limsi.fr> <4E70B21F.1060509@unisi.it> Message-ID: <4E70B3DE.6090400@limsi.fr> On 09/14/2011 03:54 PM, Maso RICCI wrote: > try this into the console: > > help ^ I can't see the precedence of operators here... > > /maso > > Il 14/09/2011 15.44, Mathieu Dubois ha scritto: >> Hello, >> >> I haven't found a list of operator's precedence in the documentation. >> Is that normal? >> >> I have found this website (warning it refers to an old version of >> scilab): >> http://kiwi.emse.fr/SCILAB/sci-bot/c727.htm#SECT-OPERATOR-PRECEDENCE >> >> Mathieu >> On 09/14/2011 03:36 PM, A. Ismael F. Vaz wrote: >>> Hi, >>> >>> This is better explained by using precedencies in mathematical >>> expressions. >>> First we solve what's in parenthesis, then potentiation, then >>> multiplication >>> and division, and in the end the summation and subtractions from >>> left to >>> right. >>> >>> In -10^2 the potentiation has priority over the subtraction. >>> >>> In (-10)^2 the parenthesis has priority over the potentiation. >>> >>> You obtain exactly the same behavior using a scientific calculator, >>> in fact >>> I warn my students about this when I taught Numerical Methods. >>> >>> Best regards, >>> Ismael >>> >>> -----Mensagem original----- >>> De: Carrico, Paul [mailto:paul.carrico at esterline.com] >>> Enviada: quarta-feira, 14 de Setembro de 2011 14:28 >>> Para: users at lists.scilab.org >>> Assunto: RE: [scilab-Users] what am I doing wrong >>> >>> Well >>> >>> Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 >>> ... The >>> negative sign is not influence by the square, isn't it ? >>> >>> Be rigorous in using parentheses .... >>> >>> Paul >>> >>> >>> -----Message d'origine----- >>> De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 >>> septembre 2011 >>> 15:25 ? : users at lists.scilab.org Objet : Re: [scilab-Users] what am >>> I doing >>> wrong >>> >>> got it ... >>> >>> thanks for helping me >>> >>> but is it not a little confusing ? >>> >>> /maso >>> >>> Il 14/09/2011 15.20, Carrico, Paul ha scritto: >>>> Try (-10)^2 >>>> >>>> Different from -1*10^2 == -1*(10)^2 >>>> >>>> Paul >>>> >>>> >>>> Please consider the environment before printing this e-mail >>>> >>>> >>>> -----Message d'origine----- >>>> De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 >>>> septembre 2011 15:18 ? : users at lists.scilab.org Objet : [scilab-Users] >>>> what am I doing wrong >>>> >>>> Ehm... pretty sure I am going to place a dummy question >>>> >>>> but I got to do it: >>>> >>>> is it corret the below result from my scilab console ? >>>> >>>> -->-10^2 >>>> ans = >>>> >>>> - 100. >>>> >>>> thanks >>>> >>>> /maso >>>> >>> -- >>> ---------------------------------------- >>> Maso RICCI PhD >>> Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di >>> Siena Via >>> Aldo Moro,2 Siena >>> >>> phone: +390577234367 >>> email: ricci2 at unisi.it >>> ---------------------------------------- >>> >>> ---------------------------------------------------------------------------- >>> >>> ---- >>> >>> >>> Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s >>> ? la >>> personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet >>> e-mail >>> par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le >>> message de votre syst?me. Toute divulgation, copie ou distribution >>> de cet >>> e-mail est strictement interdite. >>> >>> This email and any files transmitted with it are confidential and >>> intended >>> solely for the use of the individual or entity to whom they are >>> addressed. >>> If you have received this email in error, please contact the sender and >>> delete the email from your system. If you are not the named >>> addressee you >>> should not disseminate, distribute or copy this email. >>> >> >> > From ron at phenotypescreening.com Wed Sep 14 16:31:21 2011 From: ron at phenotypescreening.com (ronald michaels) Date: Wed, 14 Sep 2011 10:31:21 -0400 Subject: operator precedence Message-ID: <1316010681.18951.20.camel@SUN> Hi - Here is a link to order of operations in FORTRAN http://www.obliquity.com/computer/fortran/operate.html I have always assumed (because of the 1 to n indexing used by Scilab) that FORTRAN numerical libraries are being called. Is it correct to assume that Scilab follows FORTRAN order of operations? Ron -- Ronald Michaels, PhD Technical Director Phenotype Screening Corporation 865 235 5854 http://www.phenotypescreening.com From jasper at amsterchem.com Wed Sep 14 16:32:57 2011 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 14 Sep 2011 16:32:57 +0200 Subject: [scilab-Users] operator precedence In-Reply-To: <1316010681.18951.20.camel@SUN> References: <1316010681.18951.20.camel@SUN> Message-ID: <201109141432.p8EEWq6q011665@dutch35.digitalus.nl> The operator precedence follows from the expression parser, which is surely not the same as a FORTRAN compiler. This does of course not imply that the precedence of operators that are known to both parsers is different, they may very well be equal. Jasper. At 16:31 9/14/2011, ronald michaels wrote: >Hi - > >Here is a link to order of operations in FORTRAN > >http://www.obliquity.com/computer/fortran/operate.html > >I have always assumed (because of the 1 to n indexing used by Scilab) >that FORTRAN numerical libraries are being called. > >Is it correct to assume that Scilab follows FORTRAN order of operations? > >Ron >-- >Ronald Michaels, PhD >Technical Director >Phenotype Screening Corporation >865 235 5854 >http://www.phenotypescreening.com From ron at phenotypescreening.com Wed Sep 14 17:02:49 2011 From: ron at phenotypescreening.com (ronald michaels) Date: Wed, 14 Sep 2011 11:02:49 -0400 Subject: [scilab-Users] operator precedence In-Reply-To: <201109141432.p8EEWq6q011665@dutch35.digitalus.nl> References: <1316010681.18951.20.camel@SUN> <201109141432.p8EEWq6q011665@dutch35.digitalus.nl> Message-ID: <1316012569.18951.31.camel@SUN> Hi - So, after looking at this link from an earlier email: http://kiwi.emse.fr/SCILAB/sci-bot/c727.htm#SECT-OPERATOR-PRECEDENCE I see: quote Strange but true, there is no listing of the precedence and associativity of neither class of Scilab's operators anywhere in the documentation. So, we discuss the operator precedence and associativity in detail. unquote Is there official Scilab documentation for order of operations? If so, where? Thanks Ron On Wed, 2011-09-14 at 16:32 +0200, jasper van baten wrote: > The operator precedence follows from the expression parser, which is > surely not the same as a FORTRAN compiler. This does of course not > imply that the precedence of operators that are known to both parsers > is different, they may very well be equal. > > Jasper. > > > At 16:31 9/14/2011, ronald michaels wrote: > >Hi - > > > >Here is a link to order of operations in FORTRAN > > > >http://www.obliquity.com/computer/fortran/operate.html > > > >I have always assumed (because of the 1 to n indexing used by Scilab) > >that FORTRAN numerical libraries are being called. > > > >Is it correct to assume that Scilab follows FORTRAN order of operations? > > > >Ron > >-- > >Ronald Michaels, PhD > >Technical Director > >Phenotype Screening Corporation > >865 235 5854 > >http://www.phenotypescreening.com > From celso.co at gmail.com Thu Sep 15 02:01:12 2011 From: celso.co at gmail.com (Celso Co) Date: Thu, 15 Sep 2011 08:01:12 +0800 Subject: [scilab-Users] what am I doing wrong In-Reply-To: <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> References: <4E70A989.6040801@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B33@exchsrv.AUXITROL1> <4E70AB16.8050001@unisi.it> <55A12CBC06A8C9459DCE0BBEF8122FDC08B76B34@exchsrv.AUXITROL1> <003f01cc72e3$543d7c00$fcb87400$@dps.uminho.pt> Message-ID: Ismael, That is elegant. cco On Wed, Sep 14, 2011 at 9:36 PM, A. Ismael F. Vaz wrote: > Hi, > > This is better explained by using precedencies in mathematical expressions. > First we solve what's in parenthesis, then potentiation, then multiplication > and division, and in the end the summation and subtractions from left to > right. > > In -10^2 the potentiation has priority over the subtraction. > > In (-10)^2 the parenthesis has priority over the potentiation. > > You obtain exactly the same behavior using a scientific calculator, in fact > I warn my students about this when I taught Numerical Methods. > > Best regards, > Ismael > > -----Mensagem original----- > De: Carrico, Paul [mailto:paul.carrico at esterline.com] > Enviada: quarta-feira, 14 de Setembro de 2011 14:28 > Para: users at lists.scilab.org > Assunto: RE: [scilab-Users] what am I doing wrong > > Well > > Imagine you're computing a function such as : f = x(1)^2 - x(2)^2 ... The > negative sign is not influence by the square, isn't it ? > > Be rigorous in using parentheses .... > > Paul > > > -----Message d'origine----- > De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 septembre 2011 > 15:25 ? : users at lists.scilab.org Objet : Re: [scilab-Users] what am I doing > wrong > > got it ... > > thanks for helping me > > but is it not a little confusing ? > > /maso > > Il 14/09/2011 15.20, Carrico, Paul ha scritto: >> Try (-10)^2 >> >> Different from -1*10^2 == -1*(10)^2 >> >> Paul >> >> >> Please consider the environment before printing this e-mail >> >> >> -----Message d'origine----- >> De : Maso RICCI [mailto:ricci2 at unisi.it] Envoy? : mercredi 14 >> septembre 2011 15:18 ? : users at lists.scilab.org Objet : [scilab-Users] >> what am I doing wrong >> >> Ehm... pretty sure I am going to place a dummy question >> >> but I got to do it: >> >> is it corret the below result from my scilab console ? >> >> -->-10^2 >> ? ?ans ?= >> >> ? ? - 100. >> >> thanks >> >> /maso >> > > -- > ---------------------------------------- > Maso RICCI PhD > Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via > Aldo Moro,2 Siena > > phone: +390577234367 > email: ricci2 at unisi.it > ---------------------------------------- > > ---------------------------------------------------------------------------- > ---- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la > personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail > par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le > message de votre syst?me. Toute divulgation, copie ou distribution de cet > e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error, please contact the sender and > delete the email from your system. If you are not the named addressee you > should not disseminate, distribute or copy this email. > > -- Eng'r Celso B. Co, PhD ECE Mobile Nos; +63918 913 2123 From communication at scilab.org Fri Sep 16 11:05:04 2011 From: communication at scilab.org (Scilab Communication) Date: Fri, 16 Sep 2011 11:05:04 +0200 Subject: New mailing list Message-ID: <4E731140.3080009@scilab.org> Dear all, As requested by many of you, we are glad to announce the creation of a new Scilab mailing list dedicated to French Users : users-fr at lists.scilab.org Thus, the exchange on this mailing list takes place in French to facilitate a better understanding and exchange in between French users. The list users at lists.scilab.org is, of course, maintained and exchanges will continue in English. For those who are interested, you can register to the new ML in sending an email at: users-fr-subscribe at lists.scilab.org Best Regards Scilab Consortium R&D Team ------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex From vrun08 at gmail.com Fri Sep 16 13:24:31 2011 From: vrun08 at gmail.com (Vrundesh Moroney) Date: Fri, 16 Sep 2011 16:54:31 +0530 Subject: Fwd: Query In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Vrundesh Moroney Date: Fri, Sep 16, 2011 at 4:02 PM Subject: Query To: enseignement at lists.scilab.org Hello, I undersigned Vrundesh.V.Moroney working as trainee in SAC-ISRO,India.I am working in scilab for image processing.Image Processing in Scilab task has been completed but i have issue when i am trying to integrate Scilab with Java(Netbeans). Error are Warning: Localization issue: Error while binding the domain from C:/PROGRA~1/Java/JDK16~1.0_2/../locale/ or C:/PROGRA~1/Java/JDK16~1.0_2/locale/: Switch to the default language (English). Warning: could not find classpath declaration file C:/PROGRA~1/Java/JDK16~1.0_2/etc/classpath.xml. I have attached Image file also.I am trying to run javasci v2 program but error are occuring. Even i have joined Equalis Community for help. can u please guide regarding error as early as possible. Waiting for reply. -- Regards- Vrundesh.V.Moroney M.Tech II Computer SVNIT SURAT. 07698782688 -- Regards- Vrundesh.V.Moroney M.Tech II Computer SVNIT SURAT. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.jpg Type: image/jpeg Size: 3072054 bytes Desc: not available URL: From mathieu.dubois at limsi.fr Fri Sep 16 14:54:50 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 16 Sep 2011 14:54:50 +0200 Subject: [scilab-Users] Fwd: Query In-Reply-To: References: Message-ID: <4E73471A.1020302@limsi.fr> Hello, I am from being an expert but did you look that the file C:/PROGRA~1/Java/JDK16~1.0_2/etc/classpath.xml exists? Also, under scilab, what is the output of getlanguage()? P.S.: your attachment in BMP format, not JPEG. On 09/16/2011 01:24 PM, Vrundesh Moroney wrote: > > > ---------- Forwarded message ---------- > From: *Vrundesh Moroney* > > Date: Fri, Sep 16, 2011 at 4:02 PM > Subject: Query > To: enseignement at lists.scilab.org > > > Hello, > I undersigned Vrundesh.V.Moroney working as trainee in > SAC-ISRO,India.I am working in scilab for image processing.Image > Processing in Scilab task has been completed but i have issue when i > am trying to integrate Scilab with Java(Netbeans). > Error are > Warning: Localization issue: Error while binding the domain from > C:/PROGRA~1/Java/JDK16~1.0_2/../locale/ or > C:/PROGRA~1/Java/JDK16~1.0_2/locale/: Switch to the default language > (English). > Warning: could not find classpath declaration file > C:/PROGRA~1/Java/JDK16~1.0_2/etc/classpath.xml. > > I have attached Image file also.I am trying to run javasci v2 program > but error are occuring. > Even i have joined Equalis Community for help. > can u please guide regarding error as early as possible. > Waiting for reply. > -- > > > > > Regards- > Vrundesh.V.Moroney > M.Tech II Computer > SVNIT SURAT. > 07698782688 > > > > -- > > > > > Regards- > Vrundesh.V.Moroney > M.Tech II Computer > SVNIT SURAT. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Fri Sep 16 14:57:02 2011 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 16 Sep 2011 14:57:02 +0200 Subject: [scilab-Users] Fwd: Query In-Reply-To: <4E73471A.1020302@limsi.fr> References: <4E73471A.1020302@limsi.fr> Message-ID: <003101cc7470$20c93c40$625bb4c0$@scilab.org> Hi, See http://help.scilab.org/docs/5.3.3/en_US/javasci_faq_v2.html Have you define SCI and others stuff ? "C:/PROGRA~1/Java/JDK16~1.0_2/../locale" it is not Scilab path Before to use netbeans, i advice that you try examples without dependencies to netbeans environment see SCI/modules/javasci/examples Allan De : Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] Envoy? : vendredi 16 septembre 2011 14:55 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Fwd: Query Hello, I am from being an expert but did you look that the file C:/PROGRA~1/Java/JDK16~1.0_2/etc/classpath.xml exists? Also, under scilab, what is the output of getlanguage()? P.S.: your attachment in BMP format, not JPEG. On 09/16/2011 01:24 PM, Vrundesh Moroney wrote: ---------- Forwarded message ---------- From: Vrundesh Moroney Date: Fri, Sep 16, 2011 at 4:02 PM Subject: Query To: enseignement at lists.scilab.org Hello, I undersigned Vrundesh.V.Moroney working as trainee in SAC-ISRO,India.I am working in scilab for image processing.Image Processing in Scilab task has been completed but i have issue when i am trying to integrate Scilab with Java(Netbeans). Error are Warning: Localization issue: Error while binding the domain from C:/PROGRA~1/Java/JDK16~1.0_2/../locale/ or C:/PROGRA~1/Java/JDK16~1.0_2/locale/: Switch to the default language (English). Warning: could not find classpath declaration file C:/PROGRA~1/Java/JDK16~1.0_2/etc/classpath.xml. I have attached Image file also.I am trying to run javasci v2 program but error are occuring. Even i have joined Equalis Community for help. can u please guide regarding error as early as possible. Waiting for reply. -- Regards- Vrundesh.V.Moroney M.Tech II Computer SVNIT SURAT. 07698782688 -- Regards- Vrundesh.V.Moroney M.Tech II Computer SVNIT SURAT. -------------- next part -------------- An HTML attachment was scrubbed... URL: From goudier at free.fr Sun Sep 18 16:35:04 2011 From: goudier at free.fr (goudier at free.fr) Date: Sun, 18 Sep 2011 16:35:04 +0200 Subject: Problem in graphic properties management with callbacks Message-ID: <1316356504.4e76019853a1b@imp.free.fr> Hi, I have a problem to set color of polygons in a callback function : With one polygon as above example "Mono_Spot.sce" it works perfectly. When several handles of polygons are setted in a slider callback, colors sets of polygons are not well done. See malfunction with example "Spots.sce" attached file. Is it a bug ? Regards ------------------------------------------------------------------------------ Example : Mono_Spot.sce function set_R (); set(pr,'background',color(sldr.value,0,0)); // set polygon color in callback endfunction L1=sqrt(3);L2=2*L1;L3=3*L1; X_R=[0 -2 -3 -2];Y_R=[0 L2 L1 0];Y_R=Y_R-3*L1/2; // points of polygon lines(0); fg=figure('backgroundcolor',[0.59 0.96 .99],'figure_name','Spots'); fg.figure_position = [700,100]; fg.axes_size = [480,280]; fg.children.data_bounds = [-18,-8;6,6]; fg.children.isoview = "on"; xfrect(-4,8,18,18); // black screen // Control Slider sldr=uicontrol('Parent',fg,'style','slider','MIN',0,'Max',255,'Position',[40,60,20,140],'callback',"set_R"); xfpoly(2.5*X_R+5,2.5*Y_R,1);pr=get('hdl');pr.thickness=0; // polygon pr handle ---------------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: Mono_Spot.sce Type: application/octet-stream Size: 665 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Spots.sce Type: application/octet-stream Size: 3086 bytes Desc: not available URL: From nirley.gupta at gmail.com Mon Sep 19 11:40:46 2011 From: nirley.gupta at gmail.com (Nirley Gupta) Date: Mon, 19 Sep 2011 15:10:46 +0530 Subject: ANN Toolbox In-Reply-To: References: Message-ID: Hi, I have tried neural networks on matlab R2011, but unable to implement in scilab. Can anyone help in making a backpropagation network in scilab or just give a sample program based on this. Regards Nirley Gupta -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiraduvidascefet at yahoo.com Mon Sep 19 17:06:59 2011 From: tiraduvidascefet at yahoo.com (Reinaldo) Date: Mon, 19 Sep 2011 08:06:59 -0700 (PDT) Subject: Bode Diagram and how can I plot those functions on different graph windows ? Message-ID: <1316444819.22866.YahooMailNeo@web45509.mail.sp1.yahoo.com> Hi Scilab users, ? I could plot the following?functions (i.e.,?absolute value?and?logarithmic function modules and phase function)?in just one window. ? However, as you can run and see, the subtitles are mixing ... that's my problem ! ? Well, in case it is possible to separate those subtitles to be visible, how could I do it ? ? In case it is not possible to separate them, how could I plot?on different graph windows ? ? The Scilab script is shown, as follows. This script is based on the Bode's Diagram in Scilab demonstration example. ? stacksize(15000000); // Define "s" as variable // (s ? um polin?mio de raiz zero) s = poly(0,'s'); // Define the transfer function: H = (s)/(s+1); // Define the frequency range (Hz) f = 0.001:0.001:100; // Calculate the frequency-response: y = freq(H.num,H.den,2*%pi*%i*f); // Calculate the absolute value function module: yabs = abs(y); // Calcula the function module in dB ym = 20*log10(abs(y)); // Calculate the phase function in degree: yf = (180/%pi)*atan(imag(y), real(y)); // open and clean the graph window xbasc(), // Divide the graph window in three rows: subplot(3,1,1), plot2d('ln',f,yabs,style=2), xgrid(), xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,2), plot2d('ln',f,ym,style=2), xgrid(), xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,3), plot2d('ln',f,yf,style=3), xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); xgrid(); // end ? Thank you very much ! ? All best, Reinaldo. ? PS: send to me the modified Scilab script as attachment. Tnx. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Mon Sep 19 17:49:03 2011 From: Serge.Steer at inria.fr (Serge Steer) Date: Mon, 19 Sep 2011 17:49:03 +0200 Subject: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? In-Reply-To: <1316444819.22866.YahooMailNeo@web45509.mail.sp1.yahoo.com> References: <1316444819.22866.YahooMailNeo@web45509.mail.sp1.yahoo.com> Message-ID: <4E77646F.1090200@inria.fr> Le 19/09/2011 17:06, Reinaldo a ?crit : > / Define "s" as variable > // (s ? um polin?mio de raiz zero) > s = poly(0,'s'); > // Define the transfer function: > H = (s)/(s+1); > // Define the frequency range (Hz) > f = 0.001:0.001:100; > // Calculate the frequency-response: > y = freq(H.num,H.den,2*%pi*%i*f); > // Calculate the absolute value function module: > yabs = abs(y); > // Calcula the function module in dB > ym = 20*log10(abs(y)); > // Calculate the phase function in degree: > yf = (180/%pi)*atan(imag(y), real(y)); > > // open and clean the graph window > xbasc(), > // Divide the graph window in three rows: > subplot(3,1,1), > plot2d('ln',f,yabs,style=2), > xgrid(), > xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); > subplot(3,1,2), > plot2d('ln',f,ym,style=2), > xgrid(), > xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); > subplot(3,1,3), > plot2d('ln',f,yf,style=3), > xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); > xgrid(); You can modify the margins properties for that Note that you can use repfreq to compute the frequency dicretisation and the frequency response the following code pllies both solutions // Define "s" as variable // (s ? um polin?mio de raiz zero) s = poly(0,'s'); // Define the transfer function: H = syslin('c',(s)/(s+1)); // set continuous time [f,y]=repfreq(H,0.001,100); // Calculate the absolute value function module: yabs = abs(y); // Calcula the function module in dB ym = 20*log10(abs(y)); // Calculate the phase function in degree: yf = (180/%pi)*atan(imag(y), real(y)); // open and clean the graph window clf(), // Divide the graph window in three rows: subplot(3,1,1), plot2d('ln',f,yabs,style=2), ax=gca(); ax.margins(3:4)=0.24; xgrid(), xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,2), plot2d('ln',f,ym,style=2), ax=gca(); ax.margins(3:4)=0.24; xgrid(), xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,3), plot2d('ln',f,yf,style=3), xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); ax=gca(); ax.margins(3:4)=0.24; xgrid(); Serge Steer INRIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiraduvidascefet at yahoo.com Mon Sep 19 18:41:05 2011 From: tiraduvidascefet at yahoo.com (Reinaldo) Date: Mon, 19 Sep 2011 09:41:05 -0700 (PDT) Subject: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? In-Reply-To: <4E77646F.1090200@inria.fr> References: <1316444819.22866.YahooMailNeo@web45509.mail.sp1.yahoo.com> <4E77646F.1090200@inria.fr> Message-ID: <1316450465.3424.YahooMailNeo@web45501.mail.sp1.yahoo.com> Thank you, Serger ! ? I just did not understand the Scilab functions:H = syslin('c',(s)/(s+1)); // set continuous time [f,y]=repfreq(H,0.001,100); ? All best. Reinaldo. From: Serge Steer To: users at lists.scilab.org Sent: Monday, September 19, 2011 12:49 PM Subject: Re: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? Le 19/09/2011 17:06, Reinaldo a ?crit?: / Define "s" as variable // (s ? um polin?mio de raiz zero) s = poly(0,'s'); // Define the transfer function: >H = (s)/(s+1); // Define the frequency range (Hz) f = 0.001:0.001:100; // Calculate the frequency-response: >y = freq(H.num,H.den,2*%pi*%i*f); // Calculate the absolute value function module: >yabs = abs(y); // Calcula the function module in dB ym = 20*log10(abs(y)); >// Calculate the phase function in degree: yf = (180/%pi)*atan(imag(y), real(y)); // open and clean the graph window xbasc(), // Divide the graph window in three rows: subplot(3,1,1), plot2d('ln',f,yabs,style=2), xgrid(), xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); >subplot(3,1,2), plot2d('ln',f,ym,style=2), xgrid(), xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); >subplot(3,1,3), plot2d('ln',f,yf,style=3), xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); xgrid(); You can modify the margins properties for that Note that you can use repfreq to compute the frequency dicretisation and the frequency response the following code pllies both solutions // Define "s" as variable // (s ? um polin?mio de raiz zero) s = poly(0,'s'); // Define the transfer function: H = syslin('c',(s)/(s+1)); // set continuous time [f,y]=repfreq(H,0.001,100); // Calculate the absolute value function module: yabs = abs(y); // Calcula the function module in dB ym = 20*log10(abs(y)); // Calculate the phase function in degree: yf = (180/%pi)*atan(imag(y), real(y)); // open and clean the graph window clf(), // Divide the graph window in three rows: subplot(3,1,1), plot2d('ln',f,yabs,style=2), ax=gca(); ax.margins(3:4)=0.24; xgrid(), xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,2), plot2d('ln',f,ym,style=2), ax=gca(); ax.margins(3:4)=0.24; xgrid(), xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,3), plot2d('ln',f,yf,style=3), xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); ax=gca(); ax.margins(3:4)=0.24; xgrid(); Serge Steer INRIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiraduvidascefet at yahoo.com Mon Sep 19 19:37:05 2011 From: tiraduvidascefet at yahoo.com (Reinaldo) Date: Mon, 19 Sep 2011 10:37:05 -0700 (PDT) Subject: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? In-Reply-To: <1316450465.3424.YahooMailNeo@web45501.mail.sp1.yahoo.com> References: <1316444819.22866.YahooMailNeo@web45509.mail.sp1.yahoo.com> <4E77646F.1090200@inria.fr> <1316450465.3424.YahooMailNeo@web45501.mail.sp1.yahoo.com> Message-ID: <1316453825.46603.YahooMailNeo@web45514.mail.sp1.yahoo.com> I try to understand the help of syslin function, but it is hard ! ? The description is: ? State-space representation: sl=syslin(dom,A,B,C [,D [,x0] ]) represents the system : ????? ? s.x? = A.x + B.u y = C.x + D.u x(0) = x0 ? I don't know how to correspond those [ [ ] ] to that linear system. In general, I don't know if it is only my opinion, but to understand what is written in Scilab help needs much energy ! They often are fuzzy and directed to advanced Scilab users, not for beginners ! ? Tnx. Reinaldo. From: Reinaldo To: "users at lists.scilab.org" Sent: Monday, September 19, 2011 1:41 PM Subject: Re: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? Thank you, Serger ! ? I just did not understand the Scilab functions:H = syslin('c',(s)/(s+1)); // set continuous time [f,y]=repfreq(H,0.001,100); All best. Reinaldo. From: Serge Steer To: users at lists.scilab.org Sent: Monday, September 19, 2011 12:49 PM Subject: Re: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? Le 19/09/2011 17:06, Reinaldo a ?crit?: / Define "s" as variable // (s ? um polin?mio de raiz zero) s = poly(0,'s'); // Define the transfer function: >H = (s)/(s+1); // Define the frequency range (Hz) f = 0.001:0.001:100; // Calculate the frequency-response: >y = freq(H.num,H.den,2*%pi*%i*f); // Calculate the absolute value function module: >yabs = abs(y); // Calcula the function module in dB ym = 20*log10(abs(y)); >// Calculate the phase function in degree: yf = (180/%pi)*atan(imag(y), real(y)); // open and clean the graph window xbasc(), // Divide the graph window in three rows: subplot(3,1,1), plot2d('ln',f,yabs,style=2), xgrid(), xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); >subplot(3,1,2), plot2d('ln',f,ym,style=2), xgrid(), xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); >subplot(3,1,3), plot2d('ln',f,yf,style=3), xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); xgrid(); You can modify the margins properties for that Note that you can use repfreq to compute the frequency dicretisation and the frequency response the following code pllies both solutions // Define "s" as variable // (s ? um polin?mio de raiz zero) s = poly(0,'s'); // Define the transfer function: H = syslin('c',(s)/(s+1)); // set continuous time [f,y]=repfreq(H,0.001,100); // Calculate the absolute value function module: yabs = abs(y); // Calcula the function module in dB ym = 20*log10(abs(y)); // Calculate the phase function in degree: yf = (180/%pi)*atan(imag(y), real(y)); // open and clean the graph window clf(), // Divide the graph window in three rows: subplot(3,1,1), plot2d('ln',f,yabs,style=2), ax=gca(); ax.margins(3:4)=0.24; xgrid(), xtitle("Modulo em valores absolutos da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,2), plot2d('ln',f,ym,style=2), ax=gca(); ax.margins(3:4)=0.24; xgrid(), xtitle("Modulo em dB da Fun??o de Transfer?ncia","Freq??ncia [Hz]","M?dulo em dB"); subplot(3,1,3), plot2d('ln',f,yf,style=3), xtitle("Fase da Fun??o de Transfer?ncia","Freq??ncia [Hz]","Fase em Graus"); ax=gca(); ax.margins(3:4)=0.24; xgrid(); Serge Steer INRIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Sep 19 21:33:48 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 19 Sep 2011 21:33:48 +0200 Subject: [scilab-Users] Bode Diagram and how can I plot those functions on different graph windows ? In-Reply-To: <1316453825.46603.YahooMailNeo@web45514.mail.sp1.yahoo.com> References: <1316444819.22866.YahooMailNeo@web45509.mail.sp1.yahoo.com> <4E77646F.1090200@inria.fr> <1316450465.3424.YahooMailNeo@web45501.mail.sp1.yahoo.com> <1316453825.46603.YahooMailNeo@web45514.mail.sp1.yahoo.com> Message-ID: <4E77991C.6000504@free.fr> Le 19/09/2011 19:37, Reinaldo a ?crit : > I try to understand the help of /syslin/ function, but it is hard ! > The description is: > State-space representation: > sl=syslin(dom,A,B,C [,D [,x0] ]) > > > represents the system : > s.x = A.x + B.u > y = C.x + D.u > x(0) = x0 > I don't know how to correspond those [ [ ] ] to that linear system. In this context, this means that D (and even x0) are optionnal. They are not compulsory. That is to say, you can call sl=syslin(dom,A,B,C,D)) or even sl=syslin(dom,A,B,C,D,x0) but not sl=syslin(dom,A,B,C,x0) because here [[] ] are nested (to allow also this last synopsis, the notation would have been instead sl=syslin(dom,A,B,C [,D][,x0]) This is a general and common convention HTH Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From fvogelnew1 at free.fr Mon Sep 19 21:50:05 2011 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Mon, 19 Sep 2011 21:50:05 +0200 Subject: [ANN]: Scipad-8.67 Message-ID: <4E779CED.8050009@free.fr> ANNOUNCE: Scipad version 8.67 ============================= A new version of the Scipad text editor for Scilab and Scicoslab is available. CHANGES SINCE PREVIOUS VERSION ============================== NEW: * Added incremental search feature (a la emacs) * Added "Load into Scilab (to cursor)" feature * Library functions, Scicos functions and user functions are directly clickable to jump to their source code * Added "Jump to (open file)" action for ctrl + shift + right click on an unknown name in the text - this looks for a file of this name in the same folder as the current file and opens it if there is one * Shift+F6/F7 switches hidden buffers in the current tile * Added some menu items in the popup shown on right-clicking a pane title (close all but this, split file) * All matches are highlighted simultaneously when finding/replacing * Browsing search results is now possible during search in files * Added a button "Open all matching files" in the find in files search results dialog (use case: search in files for a word, open all files containing at least one match, replace in all opened files) * Changing the encoding now reloads the current file from disk after user confirmation (use case: open a file, observe the encoding used is not the good one, change the encoding) FIXED BUGS: * Fixed malfunctioning buttons of the match results window in case of multiple instances * Fixed replace bug showing the "not found" message box twice when the searched string could not be found. Now the first "replace" launches a "find next" if not already on a match, and any later "replace" triggers a replace followed by a find next * Fixed: Browsing results of search in files could highlight the wrong part of the text if some editing action did take place between the search in the file and the browsing of the corresponding match results * Fixed: Find next highlighted wrong matches after having switched buffers * Fixed potential error when hovering a clickable URL * Fixed "Out of function definition" message wrongly shown when going to line 1 of a nested function * Fixed: "Revert to saved" feature did not reset the modified line tags, and moved the insert cursor to the end of each peer view of the reverted file - additionally several internal properties were not updated * Fixed: the binding for "Revert to saved" (Ctrl-R) was always active * Fixed: Find launched through the Ctrl-F3 key (no find dialog open) could trigger an error with no match and the user wanting to extend the selection * Worked around yet another apparent slowdown of Scipad when periodically checking for updates Other changes (minor): * Rationalized the popup menues * Added entries in the windows menu to help remembering about the very common "switch buffer" actions (F6/F7 and variations) 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.67/scipad-8.67-Scilab5.zip/download - for Scicoslab: http://sourceforge.net/projects/scipad/files/scipad-8.67/scipad-8.67-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 sdr at durietz.se Mon Sep 19 22:10:53 2011 From: sdr at durietz.se (Stefan Du Rietz) Date: Mon, 19 Sep 2011 22:10:53 +0200 Subject: [scilab-Users] [ANN]: Scipad-8.67 In-Reply-To: <4E779CED.8050009@free.fr> References: <4E779CED.8050009@free.fr> Message-ID: <4E77A1CD.7040802@durietz.se> Thank you! I love it and I will stick to ScocosLab. Stefan On 2011-09-19 21:50, Fran?ois Vogel wrote: -------------------- > ANNOUNCE: Scipad version 8.67 > ============================= > > A new version of the Scipad text editor for Scilab and Scicoslab is > available. > > > CHANGES SINCE PREVIOUS VERSION > ============================== > > NEW: > > * Added incremental search feature (a la emacs) > > * Added "Load into Scilab (to cursor)" feature > > * Library functions, Scicos functions and user functions are directly > clickable to jump to their source code > > * Added "Jump to (open file)" action for ctrl + shift + right click > on an unknown name in the text - this looks for a file of this > name in the same folder as the current file and opens it if > there is one > > * Shift+F6/F7 switches hidden buffers in the current tile > > * Added some menu items in the popup shown on right-clicking a pane > title (close all but this, split file) > > * All matches are highlighted simultaneously when finding/replacing > > * Browsing search results is now possible during search in files > > * Added a button "Open all matching files" in the find in files > search results dialog (use case: search in files for a word, open > all files containing at least one match, replace in all opened > files) > > * Changing the encoding now reloads the current file from disk after > user confirmation (use case: open a file, observe the encoding > used is not the good one, change the encoding) > > > FIXED BUGS: > > * Fixed malfunctioning buttons of the match results window in case of > multiple instances > > * Fixed replace bug showing the "not found" message box twice when > the searched string could not be found. Now the first "replace" > launches a "find next" if not already on a match, and any later > "replace" triggers a replace followed by a find next > > * Fixed: Browsing results of search in files could highlight the > wrong part of the text if some editing action did take place > between the search in the file and the browsing of the > corresponding match results > > * Fixed: Find next highlighted wrong matches after having switched > buffers > > * Fixed potential error when hovering a clickable URL > > * Fixed "Out of function definition" message wrongly shown when > going to line 1 of a nested function > > * Fixed: "Revert to saved" feature did not reset the modified line > tags, and moved the insert cursor to the end of each peer view of > the reverted file - additionally several internal properties were > not updated > > * Fixed: the binding for "Revert to saved" (Ctrl-R) was always active > > * Fixed: Find launched through the Ctrl-F3 key (no find dialog open) > could trigger an error with no match and the user wanting to > extend the selection > > * Worked around yet another apparent slowdown of Scipad when > periodically checking for updates > > > Other changes (minor): > > * Rationalized the popup menues > > * Added entries in the windows menu to help remembering about the > very common "switch buffer" actions (F6/F7 and variations) > > > 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.67/scipad-8.67-Scilab5.zip/download > > - for Scicoslab: > http://sourceforge.net/projects/scipad/files/scipad-8.67/scipad-8.67-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 ricci2 at unisi.it Tue Sep 20 11:10:21 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Tue, 20 Sep 2011 11:10:21 +0200 Subject: [scilab-Users] [ANN]: Scipad-8.67 In-Reply-To: <4E779CED.8050009@free.fr> References: <4E779CED.8050009@free.fr> Message-ID: <4E78587D.7000009@unisi.it> Hi Fran?ois, I am trying to install scipad but I've got this error: -->exec('E:\E_Documenti\LABO\SciLab\SciLab_NMRMTX\scipad_install.sce', -1) !--error 10000 atomsToolboxDetails: the package 'apifun' doesn't exist. at line 43 of function atomsToolboxDetails called by : at line 35 of function atomsIsDirectChild called by : at line 91 of function atomsUpdateDeps called by : at line 472 of function atomsInstall called by : atomsInstall(string(mydir)+"\scipad-"+scipver+"-Scilab5.zip"); at line 7 of exec file called by : I am on winXP with scilab 5.3. thanks for your help /maso Il 19/09/2011 21.50, Fran?ois Vogel ha scritto: > ANNOUNCE: Scipad version 8.67 > ============================= > > A new version of the Scipad text editor for Scilab and Scicoslab is > available. > > > CHANGES SINCE PREVIOUS VERSION > ============================== > > NEW: > > * Added incremental search feature (a la emacs) > > * Added "Load into Scilab (to cursor)" feature > > * Library functions, Scicos functions and user functions are directly > clickable to jump to their source code > > * Added "Jump to (open file)" action for ctrl + shift + right click > on an unknown name in the text - this looks for a file of this > name in the same folder as the current file and opens it if > there is one > > * Shift+F6/F7 switches hidden buffers in the current tile > > * Added some menu items in the popup shown on right-clicking a pane > title (close all but this, split file) > > * All matches are highlighted simultaneously when finding/replacing > > * Browsing search results is now possible during search in files > > * Added a button "Open all matching files" in the find in files > search results dialog (use case: search in files for a word, open > all files containing at least one match, replace in all opened > files) > > * Changing the encoding now reloads the current file from disk after > user confirmation (use case: open a file, observe the encoding > used is not the good one, change the encoding) > > > FIXED BUGS: > > * Fixed malfunctioning buttons of the match results window in case of > multiple instances > > * Fixed replace bug showing the "not found" message box twice when > the searched string could not be found. Now the first "replace" > launches a "find next" if not already on a match, and any later > "replace" triggers a replace followed by a find next > > * Fixed: Browsing results of search in files could highlight the > wrong part of the text if some editing action did take place > between the search in the file and the browsing of the > corresponding match results > > * Fixed: Find next highlighted wrong matches after having switched > buffers > > * Fixed potential error when hovering a clickable URL > > * Fixed "Out of function definition" message wrongly shown when > going to line 1 of a nested function > > * Fixed: "Revert to saved" feature did not reset the modified line > tags, and moved the insert cursor to the end of each peer view of > the reverted file - additionally several internal properties were > not updated > > * Fixed: the binding for "Revert to saved" (Ctrl-R) was always active > > * Fixed: Find launched through the Ctrl-F3 key (no find dialog open) > could trigger an error with no match and the user wanting to > extend the selection > > * Worked around yet another apparent slowdown of Scipad when > periodically checking for updates > > > Other changes (minor): > > * Rationalized the popup menues > > * Added entries in the windows menu to help remembering about the > very common "switch buffer" actions (F6/F7 and variations) > > > 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.67/scipad-8.67-Scilab5.zip/download > - for Scicoslab: > http://sourceforge.net/projects/scipad/files/scipad-8.67/scipad-8.67-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. > -- ---------------------------------------- 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 fvogelnew1 at free.fr Tue Sep 20 12:51:10 2011 From: fvogelnew1 at free.fr (=?utf-8?Q?Fran=C3=A7ois_Vogel?=) Date: Tue, 20 Sep 2011 12:51:10 +0200 (CEST) Subject: [scilab-Users] [ANN]: Scipad-8.67 In-Reply-To: <4E78587D.7000009@unisi.it> Message-ID: <973712862.10526191316515870624.JavaMail.root@zimbra15-e2.priv.proxad.net> ----- "Maso RICCI" a ?crit : > > I am trying to install scipad but I've got this error: > > -->exec('E:\E_Documenti\LABO\SciLab\SciLab_NMRMTX\scipad_install.sce', > -1) > !--error 10000 > atomsToolboxDetails: the package 'apifun' doesn't exist. > at line 43 of function atomsToolboxDetails called by : > at line 35 of function atomsIsDirectChild called by : > at line 91 of function atomsUpdateDeps called by : > at line 472 of function atomsInstall called by : > atomsInstall(string(mydir)+"\scipad-"+scipver+"-Scilab5.zip"); > at line 7 of exec file called by : > > I am on winXP with scilab 5.3. OK, a few questions: 1. Which version 5.3 of Scilab are you running? What does getversion() spit for you? 2. Are you absolutely sure you followed the Scipad installation instructions scrupulously? Please review them here, I have updated them recently: http://sourceforge.net/p/scipad/wiki/Installation/ 3. Can you show me what is in your script scipad_install.sce? This is not a file provided in the Scipad distribution. 4. What other toolboxes did you have already installed before trying to install Scipad? Thanks for your input! Francois From purushbr at gmail.com Tue Sep 20 15:55:37 2011 From: purushbr at gmail.com (purushbr) Date: Tue, 20 Sep 2011 06:55:37 -0700 (PDT) Subject: Computing 3dB bandwidth... Message-ID: <1316526937811-3352118.post@n3.nabble.com> Hello Scilab users, I would like to compute the 3dB frequency of a transfer function. Could somebody please let me know how could this be done in scilab? Thanks for your help. Regards, Purush -- View this message in context: http://mailinglists.scilab.org/Computing-3dB-bandwidth-tp3352118p3352118.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Tue Sep 20 16:18:39 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Tue, 20 Sep 2011 15:18:39 +0100 Subject: [scilab-Users] Computing 3dB bandwidth... In-Reply-To: <1316526937811-3352118.post@n3.nabble.com> Message-ID: Hi Purush, It depends on how you have the function specified. In a general case where you have a vector representing the magnitude of the transfer function, then you can use find to locate the peak and then find again to locate: a) the maximum frequency below the peak that has a value more than 3dB below the peak b) the minimum frequency above the peak that has a value more than 3dB below the peak The difference is the 3dB bandwidth. This may not work if your data is not unimodal (i.e. has multiple peaks). In that case, you need to take some care how you define the 3dB bandwidth, especially for close peaks. The method may also be susceptible to noise, so you may want to smooth the data first. Hope that helps, Mike. -----Original Message----- From: purushbr [mailto:purushbr at gmail.com] Sent: 20 September 2011 14:56 To: users at lists.scilab.org Subject: [scilab-Users] Computing 3dB bandwidth... Hello Scilab users, I would like to compute the 3dB frequency of a transfer function. Could somebody please let me know how could this be done in scilab? Thanks for your help. Regards, Purush -- View this message in context: http://mailinglists.scilab.org/Computing-3dB-bandwidth-tp3352118p3352118.htm l Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1410 / Virus Database: 1520/3907 - Release Date: 09/19/11 From ricci2 at unisi.it Tue Sep 20 16:36:42 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Tue, 20 Sep 2011 16:36:42 +0200 Subject: [scilab-Users] [ANN]: Scipad-8.67 In-Reply-To: <973712862.10526191316515870624.JavaMail.root@zimbra15-e2.priv.proxad.net> References: <973712862.10526191316515870624.JavaMail.root@zimbra15-e2.priv.proxad.net> Message-ID: <4E78A4FA.2050704@unisi.it> Updated to scilab 5.3.3 and scipad works perfectly thanks /maso Il 20/09/2011 12.51, Fran?ois Vogel ha scritto: > ----- "Maso RICCI" a ?crit : >> I am trying to install scipad but I've got this error: >> >> -->exec('E:\E_Documenti\LABO\SciLab\SciLab_NMRMTX\scipad_install.sce', >> -1) >> !--error 10000 >> atomsToolboxDetails: the package 'apifun' doesn't exist. >> at line 43 of function atomsToolboxDetails called by : >> at line 35 of function atomsIsDirectChild called by : >> at line 91 of function atomsUpdateDeps called by : >> at line 472 of function atomsInstall called by : >> atomsInstall(string(mydir)+"\scipad-"+scipver+"-Scilab5.zip"); >> at line 7 of exec file called by : >> >> I am on winXP with scilab 5.3. > OK, a few questions: > > 1. > Which version 5.3 of Scilab are you running? > What does getversion() spit for you? > > > 2. > Are you absolutely sure you followed the Scipad installation instructions scrupulously? Please review them here, I have updated them recently: > > http://sourceforge.net/p/scipad/wiki/Installation/ > > > 3. > Can you show me what is in your script scipad_install.sce? This is not a file provided in the Scipad distribution. > > > 4. > What other toolboxes did you have already installed before trying to install Scipad? > > > Thanks for your input! > Francois > -- ---------------------------------------- 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 fvogelnew1 at free.fr Tue Sep 20 17:41:04 2011 From: fvogelnew1 at free.fr (=?utf-8?Q?Fran=C3=A7ois_Vogel?=) Date: Tue, 20 Sep 2011 17:41:04 +0200 (CEST) Subject: [scilab-Users] [ANN]: Scipad-8.67 In-Reply-To: <4E78A4FA.2050704@unisi.it> Message-ID: <518762730.10611441316533264720.JavaMail.root@zimbra15-e2.priv.proxad.net> ----- "Maso RICCI" a ?crit : > Updated to scilab 5.3.3 and scipad works perfectly OK, thanks for the update. For my education, can you please tell me what exact version of Scilab-5.3 did trigger the original issue you were reporting? Thanks, F. From end48war at yahoo.fr Wed Sep 21 10:37:02 2011 From: end48war at yahoo.fr (azerty azerty) Date: Wed, 21 Sep 2011 09:37:02 +0100 (BST) Subject: shared library Message-ID: <1316594222.160.YahooMailNeo@web25802.mail.ukl.yahoo.com> Hi, I've got a problem creating C code shared libraries under Scilab. I've got several functions separated in several .c files. Another .c file contains all the parameters used in my functions. I'd like to distribute my functions in one library (closed) and leave the file with parameters accessible (to be able to modifiy these parameters to make several tests). I can't find a solution to create the library without the parameter file and compile the parameter file separately and link everything together. Any idea would be appreciated. Best regards, Benoit Lalande -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Wed Sep 21 10:42:22 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 21 Sep 2011 09:42:22 +0100 Subject: [scilab-Users] shared library In-Reply-To: <1316594222.160.YahooMailNeo@web25802.mail.ukl.yahoo.com> Message-ID: Hi Benoit, I had a similar problem. I created the library with a fixed (default) parameter file and had a function to read a separate configuration file that overwrites the defaults. That worked for me - maybe it might solve your problem too? HTH Mike. -----Original Message----- From: azerty azerty [mailto:end48war at yahoo.fr] Sent: 21 September 2011 09:37 To: users at lists.scilab.org Subject: [scilab-Users] shared library Hi, I've got a problem creating C code shared libraries under Scilab. I've got several functions separated in several .c files. Another .c file contains all the parameters used in my functions. I'd like to distribute my functions in one library (closed) and leave the file with parameters accessible (to be able to modifiy these parameters to make several tests). I can't find a solution to create the library without the parameter file and compile the parameter file separately and link everything together. Any idea would be appreciated. Best regards, Benoit Lalande -------------- next part -------------- An HTML attachment was scrubbed... URL: From ginters.buss at gmail.com Wed Sep 21 11:54:20 2011 From: ginters.buss at gmail.com (=?UTF-8?Q?Ginters_Bu=C5=A1s?=) Date: Wed, 21 Sep 2011 12:54:20 +0300 Subject: xset("use color",0) gives !--error 999 xset: Unrecognized input argument: 'use color'. Message-ID: Dear all, I wish to use monochrome plots that automatically sets different line styles and/or markers if plot contains more than one line. As a first step, I tried xset("use color",0) but it (scilab 5.3.0 and 5.3.3) gives: !--error 999 xset: Unrecognized input argument: 'use color'. although the argument appears in Help. What's wrong? gin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricci2 at unisi.it Wed Sep 21 12:05:18 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Wed, 21 Sep 2011 12:05:18 +0200 Subject: [scilab-Users] [ANN]: Scipad-8.67 In-Reply-To: <518762730.10611441316533264720.JavaMail.root@zimbra15-e2.priv.proxad.net> References: <518762730.10611441316533264720.JavaMail.root@zimbra15-e2.priv.proxad.net> Message-ID: <4E79B6DE.7030901@unisi.it> it was the 5.3.0 ... Il 20/09/2011 17.41, Fran?ois Vogel ha scritto: > ----- "Maso RICCI" a ?crit : > >> Updated to scilab 5.3.3 and scipad works perfectly > OK, thanks for the update. > > For my education, can you please tell me what exact version of Scilab-5.3 did trigger the original issue you were reporting? > > Thanks, > F. > -- ---------------------------------------- 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 purushbr at gmail.com Wed Sep 21 14:13:26 2011 From: purushbr at gmail.com (purushbr) Date: Wed, 21 Sep 2011 05:13:26 -0700 (PDT) Subject: Computing 3dB bandwidth... In-Reply-To: References: <1316526937811-3352118.post@n3.nabble.com> Message-ID: <1316607206543-3355216.post@n3.nabble.com> Hello Mike, Thanks so much for your quick reply.. I could use the "find" function and get what I wanted. Thanks again... Regards, Purush -- View this message in context: http://mailinglists.scilab.org/Computing-3dB-bandwidth-tp3352118p3355216.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Wed Sep 21 15:04:44 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 21 Sep 2011 15:04:44 +0200 Subject: [scilab-Users] xset("use color",0) gives !--error 999 xset: Unrecognized input argument: 'use color'. In-Reply-To: References: Message-ID: <4E79E0EC.4010207@limsi.fr> Hello, I don't have a clean answer but... As mentionned in the help xset is obsolete so if you write new code, you should consider using the new graphics system. I quickly looked in the graphics help but I didn't find a way in the new graphics system to change that behavior. 2 quick thoughts: - try plot instead of plot2d: its syntax is similar to matlab and you can specify the dash style directly (you can do that with plot2d but it's more complicated) - if you d'ont want to manually select style you can 1) draw all the curves 2) loop through the polylines and change their style (mark_mode and line_style properties). HTH, Mathieu On 09/21/2011 11:54 AM, Ginters Bu?s wrote: > Dear all, > > I wish to use monochrome plots that automatically sets different line > styles and/or markers if plot contains more than one line. > > As a first step, I tried xset("use color",0) but it (scilab 5.3.0 and > 5.3.3) gives: > > !--error 999 xset: Unrecognized input argument: 'use color'. > > although the argument appears in Help. > > What's wrong? > > gin From sgougeon at free.fr Wed Sep 21 23:13:32 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 21 Sep 2011 23:13:32 +0200 Subject: [scilab-Users] xset("use color",0) gives !--error 999 xset: Unrecognized input argument: 'use color'. In-Reply-To: References: Message-ID: <4E7A537C.6050406@free.fr> Le 21/09/2011 11:54, Ginters Bus(s a ?crit : > Dear all, > > I wish to use monochrome plots that automatically sets different line > styles and/or markers if plot contains more than one line. > > As a first step, I tried xset("use color",0) but it (scilab 5.3.0 and > 5.3.3) gives: > > !--error 999 xset: Unrecognized input argument: 'use color'. > > although the argument appears in Help. > > What's wrong? > > gin Here is a short example illustrating the hint from Mathieu: ======== x = linspace(0,20,200); clf plot2d(x,cos(x)) a = gca(); a.children.children.line_style=1; // =0 (default) = solid line for i=1:5 plot2d(x,cos(x+i)/(i+1)) a.children(1).children.line_style=a.children(2).children.line_style+1; end ============ AFAIK, there is no other automatic way for doing this. HTH Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at scilab.org Thu Sep 22 10:35:02 2011 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Thu, 22 Sep 2011 10:35:02 +0200 Subject: Wiki news Message-ID: <4E7AF336.3070207@scilab.org> Hi, We recently updated several wiki pages which might be interesting for Scilab users. Scilab can be used for thermodynamics calculations. For example, chemical equilibrium may result in nonlinear systems of equations, which can be solved by the Scilab function fsolve. An example of this is given in a paper by Assis, Hori, Avila-Neto and Franco, four researchers from the School of Chemical Engineering of the Federal University of Uberlandia in Brazil. They have used Scilab to conduct a comparative thermodynamic analysis of methane reforming reactions and to asses the influence of key operational variables on chemical equilibrium. On the page: http://wiki.scilab.org/ThermodynamicsInScilab we present some toolboxes which are providing thermodynamics features for Scilab. We review two toolboxes in this field: AmsterChem's toolboxes for Scilab, based on the CAPE-OPEN standard and Excel Engineering's toolbox for water and steam computations in Scilab. During the year 2011, we have seen several new computational toolboxes or scripts, including: * 16th of February 2011: New Script : AG_fluid_dynamics * 3rd of March 2011: New Module: Wavelab * 8th of March 2011: New Module: Particle Swarm Optimization Toolbox * 15th of March 2011: New Module: FreeASM * 23rd of March 2011: New Script: Crystal Structure Animation * 6th of June 2011: New Module: Linear Algebra * 8th of June 2011: New Module: Mathieu functions * 20th of July 2011: New Module: NIST Datasets We updated the "New Scientific Features in 2011" wiki page: http://wiki.scilab.org/New%20Scientific%20Features%20in%202011 with reviews of these toolboxes. The Professor Sakurai, from the University of Tsukuba has presented a part of his work with Scilab at the ScilabTec 2011: "Scilab for Mathematical Education and High Performance Computing". The slides from this conference are available at: http://wiki.scilab.org/Tutorials#Slides_from_ScilabTec_2011 In his presentation, Prof. Sakurai discusses the use of Scilab to solve very large sparse systems of linear equations (requiring more than 10GB memory) and emphasizes the need for Scilab 6. This was the opportunity to make an overview of Scilab features for sparse systems of equations. In the page : http://wiki.scilab.org/Solving%20Poisson%20PDE%20with%20Sparse%20Matrices we present the resolution of the Poisson Partial Differential Equation in Scilab with sparse matrices. We show that Scilab 5 can solve in a few seconds sparse linear systems of equations with as many as 250 000 unknowns because Scilab only store nonzero entries of the matrix. The computations are based on the Scibench module, a toolbox which provides a collection of benchmarks for Scilab. Do the optimization solvers in Scilab perform well, compared to other solvers available as open source softwares ? In the page: http://wiki.scilab.org/PerformancesScilabMoreGarbowHillstromBenchmark we report benchmarks of unconstrained nonlinear optimization in Scilab. We analyze the performance of various optimization solvers on the Mor?, Garbow and Hillstrom collection of test problems for unconstrained optimization and nonlinear least squares problems. More precisely, we tested the fminsearch, optim, lsqrsolve and leastsq nonlinear optimization solvers. The Mandelbrot set is one of most famous fractals, although Julia sets are often presented as well. Given the iterative process used in the creation of the Mandelbrot set, it seems that there might be a performance issue, so that Scilab may be able to create only very small fractals of this type. In the page: http://wiki.scilab.org/MandelbrotSet-NaiveVsVectorized we present how to efficiently create a plot of the Mandelbrot set in Scilab. We emphasize the performance difference between a naive algorithm and a vectorized algorithm. We show how Scilab's complex datatype can be used to simplify the algorithm and increase the speed. Best regards, Micha?l Baudin -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From chayapathiever at gmail.com Thu Sep 22 12:01:09 2011 From: chayapathiever at gmail.com (scibie) Date: Thu, 22 Sep 2011 03:01:09 -0700 (PDT) Subject: =?UTF-8?Q?3d-project=E2=80=8Bed-2d_with_colors_as_altitude?= Message-ID: <1316685669966-3358251.post@n3.nabble.com> I have a 3d trajectory plot created using param3d1. I need to project the 3d trajectory plot to XY plane with color changes (from actual 3d trajectory TO xy-plane projected trajectory plot) according to altitude (z), like a colored waterfall. Kindly let me know how it could be done using Scilab. -- View this message in context: http://mailinglists.scilab.org/3d-project-ed-2d-with-colors-as-altitude-tp3358251p3358251.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From manjusha.joshi at gmail.com Thu Sep 22 12:51:05 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Thu, 22 Sep 2011 16:21:05 +0530 Subject: predefined functions in Scilab Message-ID: Hello, sum, prod etc. are predefined functions in scilab. if some one with out knowing the name of the predefind function use it as avariable name, as follows: -->A=[2,3,4,78] A = 2. 3. 4. 78. -->sum(A) ans = 87. -->sum=96 sum = 96. -->sum(A) !--error 21 Invalid index. scilab not even complains. In old versions at least there was some error message. This happens in the current session only. Is there any way to protect the predefined functions and their names? I think we should declare these function names as predefined functions. -- Manjusha S. Joshi blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Thu Sep 22 13:01:04 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 22 Sep 2011 13:01:04 +0200 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: References: Message-ID: <4E7B1570.6070404@limsi.fr> Hello, For your problem you should have a look at the funcprot function. However, the default mode is to issue a warning when redefining predefined functions. Mathieu On 09/22/2011 12:51 PM, Manjusha Joshi wrote: > Hello, > > sum, prod etc. are predefined functions in scilab. > > if some one with out knowing the name of the predefind function use > it as avariable name, as follows: > > > -->A=[2,3,4,78] > A = > > 2. 3. 4. 78. > > -->sum(A) > ans = > > 87. > > -->sum=96 > sum = > > 96. > > -->sum(A) > !--error 21 > Invalid index. > > > > scilab not even complains. In old versions at least there was some > error message. > > This happens in the current session only. > Is there any way to protect the predefined functions and their names? > I think we should declare these function names as predefined functions. > > > -- > Manjusha S. Joshi > > blog:http://manjushajoshi.wordpress.com/ > > > From end48war at yahoo.fr Thu Sep 22 15:55:53 2011 From: end48war at yahoo.fr (azerty azerty) Date: Thu, 22 Sep 2011 14:55:53 +0100 (BST) Subject: [scilab-Users] shared library In-Reply-To: References: <1316594222.160.YahooMailNeo@web25802.mail.ukl.yahoo.com> Message-ID: <1316699753.79734.YahooMailNeo@web25804.mail.ukl.yahoo.com> Hi, Thak Mike, it could be a good idea, I will give a look at this solution. It means that ?I have to develop a special parameter file format and the corresponding parser. But as I use these C functions in XCos, when can I load the new parameters? Regards, Benoit ________________________________ De?: Mike Page ??: users at lists.scilab.org Envoy? le : Mercredi 21 Septembre 2011 10h42 Objet?: RE: [scilab-Users] shared library ? Hi Benoit, ? I had a similar problem.? I created the library with a fixed (default) parameter file and had a function to read a separate configuration file that overwrites the defaults.? That worked for me - maybe it might solve your problem too? ? HTH Mike. ? -----Original Message----- >From: azerty azerty [mailto:end48war at yahoo.fr] >Sent: 21 September 2011 09:37 >To: users at lists.scilab.org >Subject: [scilab-Users] shared library > > >Hi, > > >I've got a problem creating C code shared libraries under Scilab. I've got several functions separated in several .c files. Another .c file contains all the parameters used in my functions. >I'd like to distribute my functions in one library (closed) and leave the file with parameters accessible (to be able to modifiy these parameters to make several tests). I can't find a solution to create the library without the parameter file and compile the parameter file separately and link everything together. >Any idea would be appreciated. > > >Best regards, >Benoit Lalande -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Thu Sep 22 16:20:25 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 22 Sep 2011 15:20:25 +0100 Subject: [scilab-Users] Re : [scilab-Users] shared library In-Reply-To: <1316699753.79734.YahooMailNeo@web25804.mail.ukl.yahoo.com> Message-ID: Sorry - I have never used SciCos, so I can't help there. I used XML for my configuration. You can find XML parser libraries on Sourceforge and elsewhere. But you are right, it does make a simple idea into a complicated piece of coding. Mike. -----Original Message----- From: azerty azerty [mailto:end48war at yahoo.fr] Sent: 22 September 2011 14:56 To: users at lists.scilab.org Subject: [scilab-Users] Re : [scilab-Users] shared library Hi, Thak Mike, it could be a good idea, I will give a look at this solution. It means that I have to develop a special parameter file format and the corresponding parser. But as I use these C functions in XCos, when can I load the new parameters? Regards, Benoit ------------------------------------------------------------------------------ De : Mike Page ? : users at lists.scilab.org Envoy? le : Mercredi 21 Septembre 2011 10h42 Objet : RE: [scilab-Users] shared library ? Hi Benoit, I had a similar problem. I created the library with a fixed (default) parameter file and had a function to read a separate configuration file that overwrites the defaults. That worked for me - maybe it might solve your problem too? HTH Mike. -----Original Message----- From: azerty azerty [mailto:end48war at yahoo.fr] Sent: 21 September 2011 09:37 To: users at lists.scilab.org Subject: [scilab-Users] shared library Hi, I've got a problem creating C code shared libraries under Scilab. I've got several functions separated in several .c files. Another .c file contains all the parameters used in my functions. I'd like to distribute my functions in one library (closed) and leave the file with parameters accessible (to be able to modifiy these parameters to make several tests). I can't find a solution to create the library without the parameter file and compile the parameter file separately and link everything together. Any idea would be appreciated. Best regards, Benoit Lalande -------------- next part -------------- An HTML attachment was scrubbed... URL: From hinow at uwm.edu Thu Sep 22 16:51:43 2011 From: hinow at uwm.edu (Peter Hinow) Date: Thu, 22 Sep 2011 09:51:43 -0500 (CDT) Subject: suppress output of backslash Message-ID: <28778034.428966.1316703103369.JavaMail.root@mail06.pantherlink.uwm.edu> Dear all, how can I suppress all output of the command x=A\b such as rank deficiency or using lsq? It's probably all correct, but I don't want and need it. Thank you for advice, 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 sgougeon at free.fr Thu Sep 22 22:29:58 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 22 Sep 2011 22:29:58 +0200 Subject: [scilab-Users] =?UTF-8?B?M2QtcHJvamVjdOKAi2VkLTJkIHdpdGggY29s?= =?UTF-8?B?b3JzIGFzIGFsdGl0dWRl?= In-Reply-To: <1316685669966-3358251.post@n3.nabble.com> References: <1316685669966-3358251.post@n3.nabble.com> Message-ID: <4E7B9AC6.6020000@free.fr> Le 22/09/2011 12:01, scibie a ?crit : > I have a 3d trajectory plot created using param3d1. > > I need to project the 3d trajectory plot to XY plane with color > changes (from actual 3d trajectory TO xy-plane projected trajectory > plot) according to altitude (z), like a colored waterfall. > > Kindly let me know how it could be done using Scilab. > Yes it is possible as a series of adjacent but individual colored segments. Hereabove is an example that you may adapt for your own purpose. Best regards Samuel ========== // Preparing data: theta = linspace(0,8*%pi,200); r = 1 - 0.8*theta/(8*%pi); x = r.*cos(theta); y = r.*sin(theta); z = 0.5+theta/10; // Plotting the 3D parametric curve clf param3d1(x,y,z) // Extending the z axis down to 0 in order to plot the (x,y) projection onto the z=0 plane: a = gca(); a.data_bounds(1,3)=0; // Preparing and updating the colormap: ind = addcolor(rainbowcolormap(100)); // Mapping z with the generated rainbow colors: zmin = min(z); zmax = max(z); zcol = ind(round(interp1([zmin zmax],[1 100],z))); // Plotting the projection as a set of adjacent but individual colored segments: X = [x(1:$-1);x(2:$)]; Y = [y(1:$-1);y(2:$)]; xpolys(X,Y,zcol(1:$-1)) // That's it ======= -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: moz-screenshot.png Type: image/png Size: 13376 bytes Desc: not available URL: From mathieu.dubois at limsi.fr Thu Sep 22 22:44:40 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 22 Sep 2011 22:44:40 +0200 Subject: [scilab-Users] suppress output of backslash In-Reply-To: <28778034.428966.1316703103369.JavaMail.root@mail06.pantherlink.uwm.edu> References: <28778034.428966.1316703103369.JavaMail.root@mail06.pantherlink.uwm.edu> Message-ID: <4E7B9E38.5030200@limsi.fr> Hello, Did you try to use warning('off') before your commands? Mathieu Le 22/09/2011 16:51, Peter Hinow a ?crit : > Dear all, > how can I suppress all output of the command x=A\b such as rank deficiency or using lsq? It's probably all correct, but I don't want and need it. > Thank you for advice, > Peter > From sgougeon at free.fr Thu Sep 22 22:49:19 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 22 Sep 2011 22:49:19 +0200 Subject: [scilab-Users] =?UTF-8?B?M2QtcHJvamVjdOKAi2VkLTJkIHdpdGggY29s?= =?UTF-8?B?b3JzIGFzIGFsdGl0dWRl?= In-Reply-To: <4E7B9AC6.6020000@free.fr> References: <1316685669966-3358251.post@n3.nabble.com> <4E7B9AC6.6020000@free.fr> Message-ID: <4E7B9F4F.9060202@free.fr> Le 22/09/2011 22:29, Samuel Gougeon a ?crit : > .../... > > // Plotting the projection as a set of adjacent but individual colored > segments: > X = [x(1:$-1);x(2:$)]; > Y = [y(1:$-1);y(2:$)]; > xpolys(X,Y,zcol(1:$-1)) // That's it Replacing xpolys(X,Y,zcol(1:$-1)) with xsegs(X,Y,zcol(1:$-1)) is much better, noticeably if you wish to plot the projection onto a z=/=0 plane. For instance, after the xsegs(...) instruction, doing e = gce(); e.data(:,3)=3.5; will raise the projection above the helix. xpolys() will not allow that (or in a much more complicated way). Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From manjusha.joshi at gmail.com Fri Sep 23 02:54:17 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Fri, 23 Sep 2011 06:24:17 +0530 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: <4E7B1570.6070404@limsi.fr> References: <4E7B1570.6070404@limsi.fr> Message-ID: Hello > > For your problem you should have a look at the funcprot function. > > However, the default mode is to issue a warning when redefining predefined > functions. > Thanks for reply. I tried following A = 2. 3. 4. 78. -->funcprot(2) -->sum(A) ans = 87. -->sum=98 !--error 223 It is not possible to redefine the sum primitive this way (see clearfun). -->deff('y=f(x)','y=x*x') -->deff('y=f(x)','y=2*x*x') !--error 111 Trying to re-define function f. User defined function should be redefined. At the same time scilab predefined functions should not. I tried following: -->clearfun f ans = F -->clearfun sum ans = T Now it is allowing to redefine sum which should be protected. On the other hand it is not allowing to redefine the function f. Which one needs to redefine several times in one session. What is going wrong? Am I missing something. Regards > > > On 09/22/2011 12:51 PM, Manjusha Joshi wrote: > >> Hello, >> >> sum, prod etc. are predefined functions in scilab. >> >> if some one with out knowing the name of the predefind function use it >> as avariable name, as follows: >> >> >> -->A=[2,3,4,78] >> A = >> >> 2. 3. 4. 78. >> >> -->sum(A) >> ans = >> >> 87. >> >> -->sum=96 >> sum = >> >> 96. >> >> -->sum(A) >> !--error 21 >> Invalid index. >> >> >> >> scilab not even complains. In old versions at least there was some error >> message. >> >> This happens in the current session only. >> Is there any way to protect the predefined functions and their names? >> I think we should declare these function names as predefined functions. >> >> >> -- >> Manjusha S. Joshi >> >> blog:http://manjushajoshi.**wordpress.com/ >> >> >> >> > -- Manjusha S. Joshi Mobile: 09822 319328 blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Fri Sep 23 09:55:50 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 23 Sep 2011 09:55:50 +0200 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: References: <4E7B1570.6070404@limsi.fr> Message-ID: <4E7C3B86.4010703@limsi.fr> Le 23/09/2011 02:54, Manjusha Joshi a ?crit : > Hello > > > For your problem you should have a look at the funcprot function. > > However, the default mode is to issue a warning when redefining > predefined functions. > > Thanks for reply. > > I tried following > A = > > 2. 3. 4. 78. > > > -->funcprot(2) > > > -->sum(A) > ans = > > 87. > > -->sum=98 > !--error 223 > It is not possible to redefine the sum primitive this way (see clearfun). > > > -->deff('y=f(x)','y=x*x') > > -->deff('y=f(x)','y=2*x*x') > !--error 111 > Trying to re-define function f. > > > User defined function should be redefined. At the same time scilab > predefined functions should not. > I tried following: > > -->clearfun f > ans = > > F > > -->clearfun sum > ans = > > T > Now it is allowing to redefine sum which should be protected. On the > other hand it is not allowing to redefine the function f. Which one > needs to redefine several times in one session. > clearfun is to clear predefined functions like sum (maybe it should be called clearpredef). To redefine your function f, use clear f. You can check that f exists with the exists function (not mandatory). > > What is going wrong? Am I missing something. > Regards > > > > On 09/22/2011 12:51 PM, Manjusha Joshi wrote: > > Hello, > > sum, prod etc. are predefined functions in scilab. > > if some one with out knowing the name of the predefind function > use it as avariable name, as follows: > > > -->A=[2,3,4,78] > A = > > 2. 3. 4. 78. > > -->sum(A) > ans = > > 87. > > -->sum=96 > sum = > > 96. > > -->sum(A) > !--error 21 > Invalid index. > > > > scilab not even complains. In old versions at least there was > some error message. > > This happens in the current session only. > Is there any way to protect the predefined functions and their > names? > I think we should declare these function names as predefined > functions. > > > -- > Manjusha S. Joshi > > blog:http://manjushajoshi.__wordpress.com/ > > > > > > > > > -- > Manjusha S. Joshi > Mobile: 09822 319328 > blog:http://manjushajoshi.wordpress.com/ > > > From manjusha.joshi at gmail.com Fri Sep 23 10:32:20 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Fri, 23 Sep 2011 14:02:20 +0530 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: <4E7C3B86.4010703@limsi.fr> References: <4E7B1570.6070404@limsi.fr> <4E7C3B86.4010703@limsi.fr> Message-ID: Thanks Mathieu, for pointing out the difference. Please go through the mail for in line reply. On Fri, Sep 23, 2011 at 1:25 PM, Mathieu Dubois wrote: > > > Le 23/09/2011 02:54, Manjusha Joshi a ?crit : > > Hello >> >> >> For your problem you should have a look at the funcprot function. >> >> However, the default mode is to issue a warning when redefining >> predefined functions. >> >> Thanks for reply. >> >> I tried following >> A = >> >> 2. 3. 4. 78. >> >> >> -->funcprot(2) >> >> >> -->sum(A) >> ans = >> >> 87. >> >> -->sum=98 >> !--error 223 >> It is not possible to redefine the sum primitive this way (see clearfun). >> >> >> -->deff('y=f(x)','y=x*x') >> >> -->deff('y=f(x)','y=2*x*x') >> !--error 111 >> Trying to re-define function f. >> >> >> User defined function should be redefined. At the same time scilab >> predefined functions should not. >> I tried following: >> >> -->clearfun f >> ans = >> >> F >> >> -->clearfun sum >> ans = >> >> T >> Now it is allowing to redefine sum which should be protected. On the >> other hand it is not allowing to redefine the function f. Which one >> needs to redefine several times in one session. >> >> clearfun is to clear predefined functions like sum (maybe it should be > called clearpredef). > > To redefine your function f, use clear f. > You can check that f exists with the exists function (not mandatory). True! Variables and user defined function can be cleared by clear command. -->exists('f') ans = 1. works fine with user defined functions. How ever, which are already known to user since, it is defined by user. How ever, Scilab defined functions, which I will call as predefined functions are not all known to user, so there is risk of pre defined function get assigned by user by mistake. -->exists('prod') ans = 0. Is there any way to check that (for example) prod is a predefined function? Regards, > > >> What is going wrong? Am I missing something. >> Regards >> >> >> >> On 09/22/2011 12:51 PM, Manjusha Joshi wrote: >> >> Hello, >> >> sum, prod etc. are predefined functions in scilab. >> >> if some one with out knowing the name of the predefind function >> use it as avariable name, as follows: >> >> >> -->A=[2,3,4,78] >> A = >> >> 2. 3. 4. 78. >> >> -->sum(A) >> ans = >> >> 87. >> >> -->sum=96 >> sum = >> >> 96. >> >> -->sum(A) >> !--error 21 >> Invalid index. >> >> >> >> scilab not even complains. In old versions at least there was >> some error message. >> >> This happens in the current session only. >> Is there any way to protect the predefined functions and their >> names? >> I think we should declare these function names as predefined >> functions. >> >> >> >> >> >> >> >> >> -- >> > -Manjusha -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Fri Sep 23 10:53:21 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 23 Sep 2011 10:53:21 +0200 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: References: <4E7B1570.6070404@limsi.fr> <4E7C3B86.4010703@limsi.fr> Message-ID: <4E7C4901.7020907@limsi.fr> On 09/23/2011 10:32 AM, Manjusha Joshi wrote: > Thanks Mathieu, for pointing out the difference. > > Please go through the mail for in line reply. > > On Fri, Sep 23, 2011 at 1:25 PM, Mathieu Dubois > > wrote: > > > > Le 23/09/2011 02:54, Manjusha Joshi a ?crit : > > Hello > > > For your problem you should have a look at the funcprot > function. > > However, the default mode is to issue a warning when redefining > predefined functions. > > Thanks for reply. > > I tried following > A = > > 2. 3. 4. 78. > > > -->funcprot(2) > > > -->sum(A) > ans = > > 87. > > -->sum=98 > !--error 223 > It is not possible to redefine the sum primitive this way (see > clearfun). > > > -->deff('y=f(x)','y=x*x') > > -->deff('y=f(x)','y=2*x*x') > !--error 111 > Trying to re-define function f. > > > User defined function should be redefined. At the same time scilab > predefined functions should not. > I tried following: > > -->clearfun f > ans = > > F > > -->clearfun sum > ans = > > T > Now it is allowing to redefine sum which should be protected. > On the > other hand it is not allowing to redefine the function f. > Which one > needs to redefine several times in one session. > > clearfun is to clear predefined functions like sum (maybe it > should be called clearpredef). > > To redefine your function f, use clear f. > You can check that f exists with the exists function (not mandatory). > > True! Variables and user defined function can be cleared by clear > command. > > > -->exists('f') > ans = > > 1. > works fine with user defined functions. How ever, which are already > known to user since, it is defined by user. > How ever, Scilab defined functions, which I will call as predefined > functions are not all known to user, so there is risk of pre defined > function > get assigned by user by mistake. > > > -->exists('prod') > ans = > > 0. > > Is there any way to check that (for example) prod is a predefined > function? I'm not sure to understand: if you use funcprot(2) all functions are protected so there is no assignement by mistake. Then you can define your function f and clear it when needed... > Regards, > > > > > > What is going wrong? Am I missing something. > Regards > > > > On 09/22/2011 12:51 PM, Manjusha Joshi wrote: > > Hello, > > sum, prod etc. are predefined functions in scilab. > > if some one with out knowing the name of the predefind > function > use it as avariable name, as follows: > > > -->A=[2,3,4,78] > A = > > 2. 3. 4. 78. > > -->sum(A) > ans = > > 87. > > -->sum=96 > sum = > > 96. > > -->sum(A) > !--error 21 > Invalid index. > > > > scilab not even complains. In old versions at least > there was > some error message. > > This happens in the current session only. > Is there any way to protect the predefined functions > and their > names? > I think we should declare these function names as > predefined > functions. > > > > > > > > > -- > > > -Manjusha -------------- next part -------------- An HTML attachment was scrubbed... URL: From chayapathiever at gmail.com Fri Sep 23 10:51:36 2011 From: chayapathiever at gmail.com (scibie) Date: Fri, 23 Sep 2011 01:51:36 -0700 (PDT) Subject: =?UTF-8?Q?Re:_3d-project=E2=80=8Bed-2d_with_colors_as_altitude?= In-Reply-To: <4E7B9AC6.6020000@free.fr> References: <1316685669966-3358251.post@n3.nabble.com> <4E7B9AC6.6020000@free.fr> Message-ID: <1316767896282-3361308.post@n3.nabble.com> Really helpful.. Sorry to ask this, but, what is "$" means in X = [x(1:$-1);x(2:$)]; -- View this message in context: http://mailinglists.scilab.org/3d-curve-to-be-project-ed-on-2d-plane-with-colors-as-altitude-tp3358251p3361308.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Fri Sep 23 11:38:19 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 23 Sep 2011 11:38:19 +0200 Subject: [scilab-Users] Re: =?UTF-8?B?M2QtcHJvamVjdOKAi2VkLTJkIHdpdGgg?= =?UTF-8?B?Y29sb3JzIGFzIGFsdGl0dWRl?= In-Reply-To: <1316767896282-3361308.post@n3.nabble.com> References: <1316685669966-3358251.post@n3.nabble.com> <4E7B9AC6.6020000@free.fr> <1316767896282-3361308.post@n3.nabble.com> Message-ID: <4E7C538B.4000704@laas.fr> Le 23/09/2011 10:51, scibie a ?crit : > Really helpful.. Sorry to ask this, but, what is "$" means in X = > [x(1:$-1);x(2:$)]; $ means last element : [x(1:$-1);x(2:$)] <=> [x(1:length(x)-1);x(2:length(x))] > > -- > View this message in context: http://mailinglists.scilab.org/3d-curve-to-be-project-ed-on-2d-plane-with-colors-as-altitude-tp3358251p3361308.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sdr at durietz.se Fri Sep 23 12:38:11 2011 From: sdr at durietz.se ( Stefan Du Rietz) Date: Fri, 23 Sep 2011 12:38:11 +0200 Subject: [scilab-Users] Re:=?UTF-8?Q?=203d=2Dproject=E2=80=8Bed=2D2d?= =?iso-8859-1?Q?=20with=20colors=20as=20alt?==?iso-8859-1?Q?itude?= In-Reply-To: <1316767896282-3361308.post@n3.nabble.com> References: <4E7B9AC6.6020000@free.fr> <1316767896282-3361308.post@n3.nabble.com> Message-ID: <20110923103811.EC28784DA54D0@bmail03.one.com> It is the index of tha last element in a vector. -->x = 1:4 x = 1. 2. 3. 4. -->x($) ans = 4. -->x($-1) ans = 3. Regards Stefan On 23 sep 2011 10:51 "scibie" wrote: > Really helpful.. Sorry to ask this, but, what is "$" means in X = > [x(1:$-1);x(2:$)]; > > > -- > View this message in context: > http://mailinglists.scilab.org/3d-curve-to-be-project-ed-on-2d-plane-w > ith-colors-as-altitude-tp3358251p3361308.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > From manjusha.joshi at gmail.com Sat Sep 24 13:18:41 2011 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Sat, 24 Sep 2011 16:48:41 +0530 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: <4E7C4901.7020907@limsi.fr> References: <4E7B1570.6070404@limsi.fr> <4E7C3B86.4010703@limsi.fr> <4E7C4901.7020907@limsi.fr> Message-ID: On Fri, Sep 23, 2011 at 2:23 PM, Mathieu Dubois wrote: > ** > On 09/23/2011 10:32 AM, Manjusha Joshi wrote: > > Thanks Mathieu, for pointing out the difference. > > Please go through the mail for in line reply. > > On Fri, Sep 23, 2011 at 1:25 PM, Mathieu Dubois wrote: > >> >> >> Le 23/09/2011 02:54, Manjusha Joshi a ?crit : >> >> Hello >>> >>> >>> For your problem you should have a look at the funcprot function. >>> >>> However, the default mode is to issue a warning when redefining >>> predefined functions. >>> >>> Thanks for reply. >>> >>> I tried following >>> A = >>> >>> 2. 3. 4. 78. >>> >>> >>> -->funcprot(2) >>> >>> >>> -->sum(A) >>> ans = >>> >>> 87. >>> >>> -->sum=98 >>> !--error 223 >>> It is not possible to redefine the sum primitive this way (see clearfun). >>> >>> >>> -->deff('y=f(x)','y=x*x') >>> >>> -->deff('y=f(x)','y=2*x*x') >>> !--error 111 >>> Trying to re-define function f. >>> >>> >>> User defined function should be redefined. At the same time scilab >>> predefined functions should not. >>> I tried following: >>> >>> -->clearfun f >>> ans = >>> >>> F >>> >>> -->clearfun sum >>> ans = >>> >>> T >>> Now it is allowing to redefine sum which should be protected. On the >>> other hand it is not allowing to redefine the function f. Which one >>> needs to redefine several times in one session. >>> >>> clearfun is to clear predefined functions like sum (maybe it should be >> called clearpredef). >> >> To redefine your function f, use clear f. >> You can check that f exists with the exists function (not mandatory). > > > True! Variables and user defined function can be cleared by clear command. > > > -->exists('f') > ans = > > 1. > works fine with user defined functions. How ever, which are already known > to user since, it is defined by user. > How ever, Scilab defined functions, which I will call as predefined > functions are not all known to user, so there is risk of pre defined > function > get assigned by user by mistake. > > > -->exists('prod') > ans = > > 0. > > Is there any way to check that (for example) prod is a predefined > function? > > I'm not sure to understand: if you use funcprot(2) all functions are > protected so there is no assignement by mistake. Then you can define your > function f and clear it when needed... > Yup! This will work. I think funcprot(2) should be default mode. Regards > > >> >>> >>> >>> On 09/22/2011 12:51 PM, Manjusha Joshi wrote: >>> >>> Hello, >>> >>> sum, prod etc. are predefined functions in scilab. >>> >>> if some one with out knowing the name of the predefind function >>> use it as avariable name, as follows: >>> >>> >>> -->A=[2,3,4,78] >>> A = >>> >>> 2. 3. 4. 78. >>> >>> -->sum(A) >>> ans = >>> >>> 87. >>> >>> -->sum=96 >>> sum = >>> >>> 96. >>> >>> -->sum(A) >>> !--error 21 >>> Invalid index. >>> >>> >>> >>> scilab not even complains. In old versions at least there was >>> some error message. >>> >>> This happens in the current session only. >>> Is there any way to protect the predefined functions and their >>> names? >>> I think we should declare these function names as predefined >>> functions. >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >> > -Manjusha > > > -- Manjusha S. Joshi Mobile: 09822 319328 blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Sat Sep 24 15:16:18 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sat, 24 Sep 2011 15:16:18 +0200 Subject: [scilab-Users] predefined functions in Scilab In-Reply-To: References: <4E7B1570.6070404@limsi.fr> <4E7C3B86.4010703@limsi.fr> <4E7C4901.7020907@limsi.fr> Message-ID: <4E7DD822.10308@limsi.fr> Le 24/09/2011 13:18, Manjusha Joshi a ?crit : > > > On Fri, Sep 23, 2011 at 2:23 PM, Mathieu Dubois > wrote: > > __ > On 09/23/2011 10:32 AM, Manjusha Joshi wrote: >> Thanks Mathieu, for pointing out the difference. >> >> Please go through the mail for in line reply. >> >> On Fri, Sep 23, 2011 at 1:25 PM, Mathieu Dubois >> > wrote: >> >> >> >> Le 23/09/2011 02:54, Manjusha Joshi a ?crit : >> >> Hello >> >> >> For your problem you should have a look at the funcprot >> function. >> >> However, the default mode is to issue a warning when >> redefining >> predefined functions. >> >> Thanks for reply. >> >> I tried following >> A = >> >> 2. 3. 4. 78. >> >> >> -->funcprot(2) >> >> >> -->sum(A) >> ans = >> >> 87. >> >> -->sum=98 >> !--error 223 >> It is not possible to redefine the sum primitive this way >> (see clearfun). >> >> >> -->deff('y=f(x)','y=x*x') >> >> -->deff('y=f(x)','y=2*x*x') >> !--error 111 >> Trying to re-define function f. >> >> >> User defined function should be redefined. At the same >> time scilab >> predefined functions should not. >> I tried following: >> >> -->clearfun f >> ans = >> >> F >> >> -->clearfun sum >> ans = >> >> T >> Now it is allowing to redefine sum which should be >> protected. On the >> other hand it is not allowing to redefine the function f. >> Which one >> needs to redefine several times in one session. >> >> clearfun is to clear predefined functions like sum (maybe it >> should be called clearpredef). >> >> To redefine your function f, use clear f. >> You can check that f exists with the exists function (not >> mandatory). >> >> True! Variables and user defined function can be cleared by clear >> command. >> >> >> -->exists('f') >> ans = >> >> 1. >> works fine with user defined functions. How ever, which are >> already known to user since, it is defined by user. >> How ever, Scilab defined functions, which I will call as >> predefined functions are not all known to user, so there is risk >> of pre defined function >> get assigned by user by mistake. >> >> >> -->exists('prod') >> ans = >> >> 0. >> >> Is there any way to check that (for example) prod is a predefined >> function? > I'm not sure to understand: if you use funcprot(2) all functions are > protected so there is no assignement by mistake. Then you can define > your function f and clear it when needed... > > > Yup! This will work. OK. > I think funcprot(2) should be default mode. Hum, you can always add this in your startup file or in the systme-wide startup file (see help("startup")). > Regards > > >> >> >> >> On 09/22/2011 12:51 PM, Manjusha Joshi wrote: >> >> Hello, >> >> sum, prod etc. are predefined functions in scilab. >> >> if some one with out knowing the name of the >> predefind function >> use it as avariable name, as follows: >> >> >> -->A=[2,3,4,78] >> A = >> >> 2. 3. 4. 78. >> >> -->sum(A) >> ans = >> >> 87. >> >> -->sum=96 >> sum = >> >> 96. >> >> -->sum(A) >> !--error 21 >> Invalid index. >> >> >> >> scilab not even complains. In old versions at >> least there was >> some error message. >> >> This happens in the current session only. >> Is there any way to protect the predefined >> functions and their >> names? >> I think we should declare these function names as >> predefined >> functions. >> >> >> >> >> >> >> >> >> -- >> >> >> -Manjusha > > > > > -- > Manjusha S. Joshi > Mobile: 09822 319328 > blog:http://manjushajoshi.wordpress.com/ > > > From wagner.guilherme at itelefonica.com.br Sun Sep 25 15:52:21 2011 From: wagner.guilherme at itelefonica.com.br (Wagner) Date: Sun, 25 Sep 2011 10:52:21 -0300 Subject: Ham radio and scilab Message-ID: Hello to all you ! Dear's does exist programs like SSTV, RTTY, etc based in scilab ? Thank you 73 de PY2RPD Wagner -------------- next part -------------- An HTML attachment was scrubbed... URL: From jefferrojass at hotmail.com Fri Sep 23 22:49:01 2011 From: jefferrojass at hotmail.com (=?iso-8859-1?B?amVmZmVyc29uIGFsZm9uc28gcm9qYXMgc3XhcmV6?=) Date: Fri, 23 Sep 2011 15:49:01 -0500 Subject: error messages scilab installation Message-ID: La aplicacion me genera el siguiente error al intentar instalar el software : Error sending request. Se agoto el tiempo de respuesta para la operaci?n. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bestfriend2020 at gmail.com Mon Sep 26 12:12:35 2011 From: bestfriend2020 at gmail.com (kesavan Dev) Date: Mon, 26 Sep 2011 19:12:35 +0900 Subject: Regarding Citation of Scilab 5.3.3 Message-ID: Hi there, This is Kesavan from Japan. I have analyzed some data of my experiments using Scilab 5.3.3. I wish to publish the computational data along with my experimental data in an international journal. Hence, I request you to kindly let me know, how to cite this software, while publishing in a journal. Thanking you in advance. With Regards, Kesavan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hinow at uwm.edu Mon Sep 26 14:33:48 2011 From: hinow at uwm.edu (Peter Hinow) Date: Mon, 26 Sep 2011 07:33:48 -0500 (CDT) Subject: [scilab-Users] Regarding Citation of Scilab 5.3.3 In-Reply-To: Message-ID: <768784791.463086.1317040428482.JavaMail.root@mail06.pantherlink.uwm.edu> I cited scilab in a footnote, saying that it is open source and with a link to the website. By the way, it would perhaps be nice to have a repository of papers that use scilab. Best, Peter ----- Original Message ----- From: "kesavan Dev" To: users at lists.scilab.org Sent: Monday, September 26, 2011 6:12:35 AM Subject: [scilab-Users] Regarding Citation of Scilab 5.3.3 Hi there, This is Kesavan from Japan. I have analyzed some data of my experiments using Scilab 5.3.3. I wish to publish the computational data along with my experimental data in an international journal. Hence, I request you to kindly let me know, how to cite this software, while publishing in a journal. Thanking you in advance. With Regards, Kesavan. -- 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 tim at autobar.co.za Mon Sep 26 15:07:41 2011 From: tim at autobar.co.za (TimTDP) Date: Mon, 26 Sep 2011 06:07:41 -0700 (PDT) Subject: Create ColorMap using Excel data Message-ID: <1317042461517-3369191.post@n3.nabble.com> Hi All I am new to Scilab, and the entire concept!!! I want to create a colormap using data in an Excel spreadsheet. Where can I get a dummies guide for this? Thanks -- View this message in context: http://mailinglists.scilab.org/Create-ColorMap-using-Excel-data-tp3369191p3369191.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Mon Sep 26 15:53:21 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Mon, 26 Sep 2011 14:53:21 +0100 Subject: [scilab-Users] Create ColorMap using Excel data In-Reply-To: <1317042461517-3369191.post@n3.nabble.com> Message-ID: Hi Tim, An easy way is to save the Excel data as a CSV file. You can plot this as a colormap using something like a=read_csv("filename.csv"); n=evstr(a); Matplot(n); The help system will explain what these functions do. If you have a more specific problem, then please ask it on this user group. Hope that helps, Mike. -----Original Message----- From: TimTDP [mailto:tim at autobar.co.za] Sent: 26 September 2011 14:08 To: users at lists.scilab.org Subject: [scilab-Users] Create ColorMap using Excel data Hi All I am new to Scilab, and the entire concept!!! I want to create a colormap using data in an Excel spreadsheet. Where can I get a dummies guide for this? Thanks -- View this message in context: http://mailinglists.scilab.org/Create-ColorMap-using-Excel-data-tp3369191p33 69191.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1410 / Virus Database: 1520/3919 - Release Date: 09/25/11 From jerrwang at yahoo.com Mon Sep 26 20:12:26 2011 From: jerrwang at yahoo.com (Jerry Wang) Date: Mon, 26 Sep 2011 11:12:26 -0700 (PDT) Subject: How to address part of a string In-Reply-To: References: Message-ID: <1317060746.56218.YahooMailNeo@web114712.mail.gq1.yahoo.com> Hello, ? I'm new to scilab, so please excuse the simple question.? (I had searched a few hours and can't find answer) ? How do I address part of a string? ? For example: ? myString = "abcdefg" How do I get characters 4:6, which would be"def"? ? Thank you. ? Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Sep 26 20:22:24 2011 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 26 Sep 2011 20:22:24 +0200 Subject: [scilab-Users] Regarding Citation of Scilab 5.3.3 In-Reply-To: <768784791.463086.1317040428482.JavaMail.root@mail06.pantherlink.uwm.edu> References: <768784791.463086.1317040428482.JavaMail.root@mail06.pantherlink.uwm.edu> Message-ID: <4E80C2E0.9010606@free.fr> Hi, Le 26/09/2011 14:33, Peter Hinow a ?crit : > I cited scilab in a footnote, saying that it is open source and with a link to the website. > By the way, it would perhaps be nice to have a repository of papers that use scilab. > Best, > Peter > So, you may be interested in and support this wish: http://bugzilla.scilab.org/show_bug.cgi?id=5730 Regards Samuel From mathieu.dubois at limsi.fr Mon Sep 26 20:24:01 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Mon, 26 Sep 2011 20:24:01 +0200 Subject: [scilab-Users] How to address part of a string In-Reply-To: <1317060746.56218.YahooMailNeo@web114712.mail.gq1.yahoo.com> References: <1317060746.56218.YahooMailNeo@web114712.mail.gq1.yahoo.com> Message-ID: <4E80C341.9040301@limsi.fr> On 09/26/2011 08:12 PM, Jerry Wang wrote: > Hello, > I'm new to scilab, so please excuse the simple question. (I had > searched a few hours and can't find answer) > How do I address part of a string? > For example: > myString = "abcdefg" > How do I get characters 4:6, which would be"def"? Use the part function. BTW one of the best feature of scilab (compared to matlab) is it's ability to have matrices of strings (with different sizes) because a string is an object. When doing myString = "abcdefg" you are creating a 1x1 matrix (similarly a=2.3 is matrix). You can see that by typing myString(1). > Thank you. > Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerrwang at yahoo.com Mon Sep 26 21:46:29 2011 From: jerrwang at yahoo.com (Jerry Wang) Date: Mon, 26 Sep 2011 12:46:29 -0700 (PDT) Subject: [scilab-Users] How to address part of a string In-Reply-To: <4E80C341.9040301@limsi.fr> References: <1317060746.56218.YahooMailNeo@web114712.mail.gq1.yahoo.com> <4E80C341.9040301@limsi.fr> Message-ID: <1317066389.65609.YahooMailNeo@web114717.mail.gq1.yahoo.com> Thank you.? part function works. ? Yes, I was frustrated with not being able to get parts of a string by addressing myString(4:6) and was looking around to find combinations of [] and ().? Thank you for clarifying. ? Jerry ? From: Mathieu Dubois To: users at lists.scilab.org Sent: Monday, September 26, 2011 11:24 AM Subject: Re: [scilab-Users] How to address part of a string On 09/26/2011 08:12 PM, Jerry Wang wrote: Hello, > >I'm new to scilab, so please excuse the simple question.? (I had searched a few hours and can't find answer) > >How do I address part of a string? > >For example: > >myString = "abcdefg" >How do I get characters 4:6, which would be"def"?Use the part function. BTW one of the best feature of scilab (compared to matlab) is it's ability to have matrices of strings (with different sizes) because a string is an object. When doing myString = "abcdefg" you are creating a 1x1 matrix (similarly a=2.3 is matrix). You can see that by typing myString(1). > >Thank you. > >Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Tue Sep 27 09:34:14 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 27 Sep 2011 09:34:14 +0200 Subject: [scilab-Users] error messages scilab installation In-Reply-To: References: Message-ID: <4E817C76.30506@limsi.fr> Hello, You should ask your question in english. Le 23/09/2011 22:49, jefferson alfonso rojas su?rez a ?crit : > La aplicacion me genera el siguiente error al intentar instalar el > software : > > Error sending request. > > Se agoto el tiempo de respuesta para la operaci?n. According to Google Translate this is a time out error: the installation tries to access something (probably from the internet) but it's not available. Which OS are you using? Are you trying to download additionnal libraries (Intel MKL, FFTW)? Check your internet access. Espero que ayude, Mathieu From longyongbiao at gmail.com Tue Sep 27 11:20:13 2011 From: longyongbiao at gmail.com (=?UTF-8?B?6b6Z5rC45b2q?=) Date: Tue, 27 Sep 2011 17:20:13 +0800 Subject: scilab doesn't display properly in awesome Message-ID: Hello, I am using ubuntu 10.04, scilab works quite right in gnome. Recently I turned to awesome window manager. However after run ./bin/scilab, the window created is empty. I could do nothing with it. What seems to be the problem? Thanks! -- Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Tue Sep 27 11:21:16 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 27 Sep 2011 11:21:16 +0200 Subject: [scilab-Users] scilab doesn't display properly in awesome In-Reply-To: References: Message-ID: <1317115276.3134.30.camel@losinj.inria.fr> Le mardi 27 septembre 2011 ? 17:20 +0800, ??? a ?crit : > Hello, I am using ubuntu 10.04, scilab works quite right in gnome. > Recently I turned to awesome window manager. However after > run ./bin/scilab, the window created is empty. What do you mean by "empty" ? I am using awesome on a daily basis without any problem. Sylvestre From longyongbiao at gmail.com Tue Sep 27 11:40:20 2011 From: longyongbiao at gmail.com (=?UTF-8?B?6b6Z5rC45b2q?=) Date: Tue, 27 Sep 2011 17:40:20 +0800 Subject: [scilab-Users] scilab doesn't display properly in awesome In-Reply-To: <1317115276.3134.30.camel@losinj.inria.fr> References: <1317115276.3134.30.camel@losinj.inria.fr> Message-ID: On Tue, Sep 27, 2011 at 5:21 PM, Sylvestre Ledru wrote: > What do you mean by "empty" ? > I am using awesome on a daily basis without any problem. > Thank you! I mean the window displays nothing, there's no console, as is shown below[image: Screenshot-1.png] -- Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-1.png Type: image/png Size: 20975 bytes Desc: not available URL: From ricci2 at unisi.it Tue Sep 27 13:07:20 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Tue, 27 Sep 2011 13:07:20 +0200 Subject: ATOMS question In-Reply-To: References: <1317115276.3134.30.camel@losinj.inria.fr> Message-ID: <4E81AE68.7010302@unisi.it> Hi my ATOMS windows shows only the installed package. Shouldn't also display all the ATOMS package available for installation ? and then Is there any good PCA ATOMS package ? thanks /maso ---------------------------------------- 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 mathieu.dubois at limsi.fr Tue Sep 27 13:40:57 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 27 Sep 2011 13:40:57 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81AE68.7010302@unisi.it> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> Message-ID: <4E81B649.80401@limsi.fr> On 09/27/2011 01:07 PM, Maso RICCI wrote: > Hi > > my ATOMS windows shows only the installed package. Shouldn't also > display all the ATOMS package available for installation ? You can see the list of available modules on the left hand side of the window ordered by category. Just click on a category to display the modules. > > and then > > Is there any good PCA ATOMS package ? PCA is already in scilab (see princomp and pca functions). > > thanks > > /maso > > > > ---------------------------------------- > 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 vogt at centre-cired.fr Tue Sep 27 13:53:27 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 27 Sep 2011 13:53:27 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81B649.80401@limsi.fr> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> Message-ID: <4E81B937.1090305@centre-cired.fr> On 27/09/2011 13:40, Mathieu Dubois wrote: >> Is there any good PCA ATOMS package ? > PCA is already in scilab (see princomp and pca functions). if searching for more sophisticated tools, you can have a look at grocer http://atoms.scilab.org/toolboxes/grocer/1.46/ -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricci2 at unisi.it Tue Sep 27 14:07:07 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Tue, 27 Sep 2011 14:07:07 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81B649.80401@limsi.fr> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> Message-ID: <4E81BC6B.4040009@unisi.it> Mathieu, thanks for you email. I clicked the list and it only displays the installed module (see the picture). It looks like my scilab doesn't access to the "ATOMS server" to retrieve the list of all the packages. /maso Il 27/09/2011 13.40, Mathieu Dubois ha scritto: > On 09/27/2011 01:07 PM, Maso RICCI wrote: >> Hi >> >> my ATOMS windows shows only the installed package. Shouldn't also >> display all the ATOMS package available for installation ? > You can see the list of available modules on the left hand side of the > window ordered by category. Just click on a category to display the > modules. >> >> and then >> >> Is there any good PCA ATOMS package ? > PCA is already in scilab (see princomp and pca functions). >> >> thanks >> >> /maso >> >> >> >> ---------------------------------------- >> Maso RICCI PhD >> Dipartimento Farmaco Chimico Tecnologico >> Universit? degli Studi di Siena >> Via Aldo Moro,2 Siena >> phone: +390577234367 >> email: ricci2 at unisi.it >> ---------------------------------------- > > -- ---------------------------------------- Maso RICCI PhD Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via Aldo Moro,2 Siena phone: +390577234367 email: ricci2 at unisi.it ---------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: atoms.jpg Type: image/jpeg Size: 121747 bytes Desc: not available URL: From mathieu.dubois at limsi.fr Tue Sep 27 14:33:34 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 27 Sep 2011 14:33:34 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81BC6B.4040009@unisi.it> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> <4E81BC6B.4040009@unisi.it> Message-ID: <4E81C29E.5060903@limsi.fr> On 09/27/2011 02:07 PM, Maso RICCI wrote: > Mathieu, > > thanks for you email. > > I clicked the list and it only displays the installed module (see the > picture). > > It looks like my scilab doesn't access to the "ATOMS server" to > retrieve the list of all the packages. Hum, did you check your internet connectivity (proxy settings, etc)? You can configure that whith atomsSetConfig. What's the output of atomsRepositoryList()? > > /maso > > > > Il 27/09/2011 13.40, Mathieu Dubois ha scritto: >> On 09/27/2011 01:07 PM, Maso RICCI wrote: >>> Hi >>> >>> my ATOMS windows shows only the installed package. Shouldn't also >>> display all the ATOMS package available for installation ? >> You can see the list of available modules on the left hand side of >> the window ordered by category. Just click on a category to display >> the modules. >>> >>> and then >>> >>> Is there any good PCA ATOMS package ? >> PCA is already in scilab (see princomp and pca functions). >>> >>> thanks >>> >>> /maso >>> >>> >>> >>> ---------------------------------------- >>> 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 nirley.gupta at gmail.com Tue Sep 27 14:44:26 2011 From: nirley.gupta at gmail.com (Nirley Gupta) Date: Tue, 27 Sep 2011 18:14:26 +0530 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81C29E.5060903@limsi.fr> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> <4E81BC6B.4040009@unisi.it> <4E81C29E.5060903@limsi.fr> Message-ID: In my ATOMS Module, there is no IPD toolbox available. On Tue, Sep 27, 2011 at 6:03 PM, Mathieu Dubois wrote: > On 09/27/2011 02:07 PM, Maso RICCI wrote: > >> Mathieu, >> >> thanks for you email. >> >> I clicked the list and it only displays the installed module (see the >> picture). >> >> It looks like my scilab doesn't access to the "ATOMS server" to retrieve >> the list of all the packages. >> > Hum, did you check your internet connectivity (proxy settings, etc)? > You can configure that whith atomsSetConfig. > > What's the output of atomsRepositoryList()? > > > >> /maso >> >> >> >> Il 27/09/2011 13.40, Mathieu Dubois ha scritto: >> >>> On 09/27/2011 01:07 PM, Maso RICCI wrote: >>> >>>> Hi >>>> >>>> my ATOMS windows shows only the installed package. Shouldn't also >>>> display all the ATOMS package available for installation ? >>>> >>> You can see the list of available modules on the left hand side of the >>> window ordered by category. Just click on a category to display the modules. >>> >>>> >>>> and then >>>> >>>> Is there any good PCA ATOMS package ? >>>> >>> PCA is already in scilab (see princomp and pca functions). >>> >>>> >>>> thanks >>>> >>>> /maso >>>> >>>> >>>> >>>> ------------------------------**---------- >>>> Maso RICCI PhD >>>> Dipartimento Farmaco Chimico Tecnologico >>>> Universit? degli Studi di Siena >>>> Via Aldo Moro,2 Siena >>>> phone: +390577234367 >>>> email: ricci2 at unisi.it >>>> ------------------------------**---------- >>>> >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricci2 at unisi.it Tue Sep 27 14:45:15 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Tue, 27 Sep 2011 14:45:15 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81C29E.5060903@limsi.fr> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> <4E81BC6B.4040009@unisi.it> <4E81C29E.5060903@limsi.fr> Message-ID: <4E81C55B.2070508@unisi.it> this is the answer... atomsRepositoryList() ans = [] and I also tryed this: atomsSetConfig('offLine' , 'false') !--error 10000 atomsDESCRIPTIONget: Extraction of the DESCRIPTION file ('C:\DOCUME~1\Maso\IMPOST~1\Temp\SCI_TMP_1496_\.atoms\2_TOOLBOXES.gz') has failed. at line 92 of function atomsDESCRIPTIONget called by : at line 11 of function atomsSystemUpdate called by : at line 97 of function atomsSetConfig called by : atomsSetConfig('offLine' , 'false') the funny thing is that last week I was working with scilab 5.3 and I had all the modules displayed... so I think I made something wrong maybe during the installation ... dont really know /maso Il 27/09/2011 14.33, Mathieu Dubois ha scritto: > On 09/27/2011 02:07 PM, Maso RICCI wrote: >> Mathieu, >> >> thanks for you email. >> >> I clicked the list and it only displays the installed module (see the >> picture). >> >> It looks like my scilab doesn't access to the "ATOMS server" to >> retrieve the list of all the packages. > Hum, did you check your internet connectivity (proxy settings, etc)? > You can configure that whith atomsSetConfig. > > What's the output of atomsRepositoryList()? > >> >> /maso >> >> >> >> Il 27/09/2011 13.40, Mathieu Dubois ha scritto: >>> On 09/27/2011 01:07 PM, Maso RICCI wrote: >>>> Hi >>>> >>>> my ATOMS windows shows only the installed package. Shouldn't also >>>> display all the ATOMS package available for installation ? >>> You can see the list of available modules on the left hand side of >>> the window ordered by category. Just click on a category to display >>> the modules. >>>> >>>> and then >>>> >>>> Is there any good PCA ATOMS package ? >>> PCA is already in scilab (see princomp and pca functions). >>>> >>>> thanks >>>> >>>> /maso >>>> >>>> >>>> >>>> ---------------------------------------- >>>> Maso RICCI PhD >>>> Dipartimento Farmaco Chimico Tecnologico >>>> Universit? degli Studi di Siena >>>> Via Aldo Moro,2 Siena >>>> phone: +390577234367 >>>> email: ricci2 at unisi.it >>>> ---------------------------------------- >>> >>> >> > > -- ---------------------------------------- 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 mathieu.dubois at limsi.fr Tue Sep 27 14:51:03 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 27 Sep 2011 14:51:03 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81C55B.2070508@unisi.it> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> <4E81BC6B.4040009@unisi.it> <4E81C29E.5060903@limsi.fr> <4E81C55B.2070508@unisi.it> Message-ID: <4E81C6B7.3030306@limsi.fr> On 09/27/2011 02:45 PM, Maso RICCI wrote: > this is the answer... > > atomsRepositoryList() > ans = > > [] You can try to restore the original repo with atomsRepositoryAdd (the url is "http://atoms.scilab.org/5.3"). > > and I also tryed this: > > atomsSetConfig('offLine' , 'false') > !--error 10000 > atomsDESCRIPTIONget: Extraction of the DESCRIPTION file > ('C:\DOCUME~1\Maso\IMPOST~1\Temp\SCI_TMP_1496_\.atoms\2_TOOLBOXES.gz') > has failed. > at line 92 of function atomsDESCRIPTIONget called by : > at line 11 of function atomsSystemUpdate called by : > at line 97 of function atomsSetConfig called by : > atomsSetConfig('offLine' , 'false') > > the funny thing is that last week I was working with scilab 5.3 and I > had all the modules displayed... so I think I made something wrong > maybe during the installation ... dont really know > > /maso > > Il 27/09/2011 14.33, Mathieu Dubois ha scritto: >> On 09/27/2011 02:07 PM, Maso RICCI wrote: >>> Mathieu, >>> >>> thanks for you email. >>> >>> I clicked the list and it only displays the installed module (see >>> the picture). >>> >>> It looks like my scilab doesn't access to the "ATOMS server" to >>> retrieve the list of all the packages. >> Hum, did you check your internet connectivity (proxy settings, etc)? >> You can configure that whith atomsSetConfig. >> >> What's the output of atomsRepositoryList()? >> >>> >>> /maso >>> >>> >>> >>> Il 27/09/2011 13.40, Mathieu Dubois ha scritto: >>>> On 09/27/2011 01:07 PM, Maso RICCI wrote: >>>>> Hi >>>>> >>>>> my ATOMS windows shows only the installed package. Shouldn't also >>>>> display all the ATOMS package available for installation ? >>>> You can see the list of available modules on the left hand side of >>>> the window ordered by category. Just click on a category to display >>>> the modules. >>>>> >>>>> and then >>>>> >>>>> Is there any good PCA ATOMS package ? >>>> PCA is already in scilab (see princomp and pca functions). >>>>> >>>>> thanks >>>>> >>>>> /maso >>>>> >>>>> >>>>> >>>>> ---------------------------------------- >>>>> 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 ricci2 at unisi.it Tue Sep 27 15:13:49 2011 From: ricci2 at unisi.it (Maso RICCI) Date: Tue, 27 Sep 2011 15:13:49 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81C6B7.3030306@limsi.fr> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> <4E81BC6B.4040009@unisi.it> <4E81C29E.5060903@limsi.fr> <4E81C55B.2070508@unisi.it> <4E81C6B7.3030306@limsi.fr> Message-ID: <4E81CC0D.1070000@unisi.it> unistalled/installed => works was easy :) feeling like a scilab developer :) /maso Il 27/09/2011 14.51, Mathieu Dubois ha scritto: > On 09/27/2011 02:45 PM, Maso RICCI wrote: >> this is the answer... >> >> atomsRepositoryList() >> ans = >> >> [] > You can try to restore the original repo with atomsRepositoryAdd (the > url is "http://atoms.scilab.org/5.3"). >> >> and I also tryed this: >> >> atomsSetConfig('offLine' , 'false') >> !--error 10000 >> atomsDESCRIPTIONget: Extraction of the DESCRIPTION file >> ('C:\DOCUME~1\Maso\IMPOST~1\Temp\SCI_TMP_1496_\.atoms\2_TOOLBOXES.gz') has >> failed. >> at line 92 of function atomsDESCRIPTIONget called by : >> at line 11 of function atomsSystemUpdate called by : >> at line 97 of function atomsSetConfig called by : >> atomsSetConfig('offLine' , 'false') >> >> the funny thing is that last week I was working with scilab 5.3 and I >> had all the modules displayed... so I think I made something wrong >> maybe during the installation ... dont really know >> >> /maso >> >> Il 27/09/2011 14.33, Mathieu Dubois ha scritto: >>> On 09/27/2011 02:07 PM, Maso RICCI wrote: >>>> Mathieu, >>>> >>>> thanks for you email. >>>> >>>> I clicked the list and it only displays the installed module (see >>>> the picture). >>>> >>>> It looks like my scilab doesn't access to the "ATOMS server" to >>>> retrieve the list of all the packages. >>> Hum, did you check your internet connectivity (proxy settings, etc)? >>> You can configure that whith atomsSetConfig. >>> >>> What's the output of atomsRepositoryList()? >>> >>>> >>>> /maso >>>> >>>> >>>> >>>> Il 27/09/2011 13.40, Mathieu Dubois ha scritto: >>>>> On 09/27/2011 01:07 PM, Maso RICCI wrote: >>>>>> Hi >>>>>> >>>>>> my ATOMS windows shows only the installed package. Shouldn't also >>>>>> display all the ATOMS package available for installation ? >>>>> You can see the list of available modules on the left hand side of >>>>> the window ordered by category. Just click on a category to >>>>> display the modules. >>>>>> >>>>>> and then >>>>>> >>>>>> Is there any good PCA ATOMS package ? >>>>> PCA is already in scilab (see princomp and pca functions). >>>>>> >>>>>> thanks >>>>>> >>>>>> /maso >>>>>> >>>>>> >>>>>> >>>>>> ---------------------------------------- >>>>>> Maso RICCI PhD >>>>>> Dipartimento Farmaco Chimico Tecnologico >>>>>> Universit? degli Studi di Siena >>>>>> Via Aldo Moro,2 Siena >>>>>> phone: +390577234367 >>>>>> email: ricci2 at unisi.it >>>>>> ---------------------------------------- >>>>> >>>>> >>>> >>> >>> >> > > -- ---------------------------------------- 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 michael.baudin at scilab.org Tue Sep 27 15:54:29 2011 From: michael.baudin at scilab.org (=?UTF-8?B?TWljaGHDq2wgQmF1ZGlu?=) Date: Tue, 27 Sep 2011 15:54:29 +0200 Subject: [scilab-Users] Regarding Citation of Scilab 5.3.3 In-Reply-To: <768784791.463086.1317040428482.JavaMail.root@mail06.pantherlink.uwm.edu> References: <768784791.463086.1317040428482.JavaMail.root@mail06.pantherlink.uwm.edu> Message-ID: <4E81D595.4030905@scilab.org> Hi, The wiki page: http://wiki.scilab.org/Tutorials gathers all technical reports, tutorials and papers which are discussing Scilab. This lists both English, French, Russian, Finnish, Italian and Portuguese documents. Older references (pre-2008) are collected on the archive : http://wiki.scilab.org/Tutorials%20archives There are already many references collected there, approximately 10 to 15 by year, starting from 1990. There are certainly more than 100 papers gathered here. Regards, Micha?l Baudin Le 26/09/2011 14:33, Peter Hinow a ?crit : > I cited scilab in a footnote, saying that it is open source and with a link to the website. > By the way, it would perhaps be nice to have a repository of papers that use scilab. > Best, > Peter > > ----- Original Message ----- > From: "kesavan Dev" > To: users at lists.scilab.org > Sent: Monday, September 26, 2011 6:12:35 AM > Subject: [scilab-Users] Regarding Citation of Scilab 5.3.3 > > Hi there, > > > This is Kesavan from Japan. > > > I have analyzed some data of my experiments using Scilab 5.3.3. > > > I wish to publish the computational data along with my experimental data in an international journal. > > > Hence, I request you to kindly let me know, how to cite this software, while publishing in a journal. > > > Thanking you in advance. > > > With Regards, > > > Kesavan. > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From fvogelnew1 at free.fr Tue Sep 27 21:16:13 2011 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Tue, 27 Sep 2011 21:16:13 +0200 Subject: [scilab-Users] ATOMS question In-Reply-To: <4E81C55B.2070508@unisi.it> References: <1317115276.3134.30.camel@losinj.inria.fr> <4E81AE68.7010302@unisi.it> <4E81B649.80401@limsi.fr> <4E81BC6B.4040009@unisi.it> <4E81C29E.5060903@limsi.fr> <4E81C55B.2070508@unisi.it> Message-ID: <4E8220FD.7070205@free.fr> Maso RICCI said on 27/09/2011 14:45: >I also tryed this: > > atomsSetConfig('offLine' , 'false') > !--error 10000 > atomsDESCRIPTIONget: Extraction of the DESCRIPTION file > ('C:\DOCUME~1\Maso\IMPOST~1\Temp\SCI_TMP_1496_\.atoms\2_TOOLBOXES.gz') > has failed. > at line 92 of function atomsDESCRIPTIONget called by : > at line 11 of function atomsSystemUpdate called by : > at line 97 of function atomsSetConfig called by : > atomsSetConfig('offLine' , 'false') atomsSetConfig("offLine","False") launches atomsSystemUpdate which tries to connect to an atoms repository through the internet. My guess is you issued that command while you were not connected to the internet, which is the reason why it failed. F. From mosharkawy at idsc.net.eg Thu Sep 29 18:29:41 2011 From: mosharkawy at idsc.net.eg (Mohamed Sharkawy) Date: Thu, 29 Sep 2011 18:29:41 +0200 Subject: Problems to install Scilab 5.3.3 x64 bit version on windows 7 enterprise x64 bit Message-ID: <000001cc7ec5$00d88a30$02899e90$@idsc.net.eg> Dear support team, I'm one of Scilab users and developers and I install the Scilab on original version of windows 7 enterprise x64 and x32 , it work on the 32 bit one and don't work for the other. -------------- next part -------------- An HTML attachment was scrubbed... URL: