From dragaoerrante at gmail.com Sun Jun 2 05:04:01 2013 From: dragaoerrante at gmail.com (dragaoerrante) Date: Sat, 1 Jun 2013 20:04:01 -0700 (PDT) Subject: [Scilab-users] Xcos simulation IDA_ERR_FAIL Message-ID: <1370142241103-4026755.post@n3.nabble.com> Hi people. I started using Scilab just some moths ago, so I'm not well experienced on it. I'm trying to simulate a PID control system to be used on a DC-DC buck converter. The controller and the converter models seems to be ok, but when I run a simulation to increase or decrease load on the fly the simulations crashes even before any load has beend added or removed. The error message says: IDA_ERR_FAIL: Error test failures occured too many times (= MXTEF = 10) during one step or occured with |h| = h_min I also noticed that it popped up on a PWM block that is as simple as a sawtooth generator and a comparator. This block have beeing used several times without any issue. Another thing I have to say is that this problem stops occuring if a simulate the system with a steady load value. Before running the XCOS simulation file it is necessary to run the sce file. I would appeciate so much if someone could help me with this. Best regards, Leo Buck_5V_01.zcos Modelo_Buck_PID_5V_SL_02.sce -- View this message in context: http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From njalzabetic.fsb at gmail.com Sun Jun 2 18:55:37 2013 From: njalzabetic.fsb at gmail.com (Nikola) Date: Sun, 2 Jun 2013 09:55:37 -0700 (PDT) Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault Message-ID: <1370192137619-4026756.post@n3.nabble.com> Hello. I downloaded binary version of scilab-5.4.1 (32bit) and when i go to the SCI/bin and run command ./scilab, Scilab starts with warning /Error parsing gtk-icon-sizes string: ' '/ in terminal. But it seems that Scilab starts normally and ready for work. But when i try plot command, for example: x=0:0.1:10; plot(sin(x)) Scilab exits and I get SEGMENTATION FAULT in terminal. Running ./scilab -nw and do the plot i get: root at nikola-rtai:/usr/local/scilab-5.4.1/bin# ./scilab -nw Error parsing gtk-icon-sizes string: '' Scilab 5.4.1 (Mar 29 2013, 16:52:15) -->x=0:0.1:10; -->plot(sin(x)) !--error 42 Oups. A fatal error has been detected by Scilab. Your instance will probably crash soon. Please report a bug on http://bugzilla.scilab.org/ with: * a sample code which reproduces the issue * the result of [a, b] = getdebuginfo() * the following information: [nikola-rtai:02282] Signal: Segmentation fault (11) [nikola-rtai:02282] Signal code: Address not mapped (1) [nikola-rtai:02282] Failing at address: 0x302e320c Call stack: 1: 0x5e22c3 < > (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 2: 0x5e6488 (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 3: 0x5e21e4 < > (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 4: 0x40c <__kernel_rt_sigreturn> () 5: 0x2747f < > (/usr/lib/libX11.so.6) 6: 0x3e144 (/usr/lib/libX11.so.6) 7: 0x1d7fb (/usr/lib/libX11.so.6) 8: 0x44f98 < > (/usr/lib/libcairo.so.2) 9: 0x45296 < > (/usr/lib/libcairo.so.2) 10: 0x45a9c < > (/usr/lib/libcairo.so.2) 11: 0x4622f (/usr/lib/libcairo.so.2) 12: 0x501e6 < > (/usr/lib/libgdk-x11-2.0.so.0) 13: 0x50e0c < > (/usr/lib/libgdk-x11-2.0.so.0) 14: 0x1a241 < > (/usr/lib/libgdk-x11-2.0.so.0) 15: 0x286e0 < > (/usr/lib/libgdk-x11-2.0.so.0) 16: 0x1a241 < > (/usr/lib/libgdk-x11-2.0.so.0) 17: 0x17638 (/usr/lib/libgdk-x11-2.0.so.0) 18: 0xa768 < > (/usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so) 19: 0xee31 < > (/usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so) 20: 0x1bf1fe (/usr/lib/libgtk-x11-2.0.so.0) 21: 0x39a09 < > (/usr/local/scilab-5.4.1/thirdparty/java/lib/i386/xawt/libmawt.so) 22: 0x3b7ed (/usr/local/scilab-5.4.1/thirdparty/java/lib/i386/xawt/libmawt.so) 23: ? ? (?) 24: ? ? (?) 25: ? ? (?) 26: ? ? (?) 27: ? ? (?) 28: ? ? (?) 29: ? ? (?) 30: ? ? (?) 31: ? ? (?) 32: ? ? (?) 33: ? ? (?) 34: ? ? (?) 35: ? ? (?) 36: ? ? (?) 37: ? ? (?) 38: ? ? (?) 39: ? ? (?) 40: ? ? (?) 41: ? ? (?) 42: ? ? (?) 43: ? ? (?) 44: ? ? (?) 45: 0x3e1d61 < > (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 46: 0x5e3558 < > (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 47: 0x3e1b8f < > (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 48: 0x447ade (/usr/local/scilab-5.4.1/thirdparty/java//lib/i386/server/libjvm.so) 49: 0xa9dc References: <1370142241103-4026755.post@n3.nabble.com> Message-ID: <51ABA523.5070201@inria.fr> The problem may be due to the discontinuities introduced by the switches. The DAE solver assumes the system to be at least continuuos. It should be better to control the swith, with a discrete time signal instead of the step blocks with are continuous time. Using discret time control insures the solver is stopped when the event arises and restart just after. You can generate a discrete command for the switch using a selector block and an "event at time" block. Serge Steer Le 02/06/2013 05:04, dragaoerrante a ?crit : > Hi people. I started using Scilab just some moths ago, so I'm not well > experienced on it. I'm trying to simulate a PID control system to be used on > a DC-DC buck converter. The controller and the converter models seems to be > ok, but when I run a simulation to increase or decrease load on the fly the > simulations crashes even before any load has beend added or removed. > > The error message says: IDA_ERR_FAIL: Error test failures occured too many > times (= MXTEF = 10) during one step or occured with |h| = h_min > > I also noticed that it popped up on a PWM block that is as simple as a > sawtooth generator and a comparator. This block have beeing used several > times without any issue. > > Another thing I have to say is that this problem stops occuring if a > simulate the system with a steady load value. > Before running the XCOS simulation file it is necessary to run the sce file. > I would appeciate so much if someone could help me with this. > > Best regards, > Leo > Buck_5V_01.zcos > > Modelo_Buck_PID_5V_SL_02.sce > > > > > -- > View this message in context: http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From antoine.monmayrant at laas.fr Mon Jun 3 07:17:22 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 03 Jun 2013 07:17:22 +0200 Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <1370192137619-4026756.post@n3.nabble.com> References: <1370192137619-4026756.post@n3.nabble.com> Message-ID: <51AC26E2.8090907@laas.fr> Le 02/06/13 18:55, Nikola a ?crit : > x=0:0.1:10; > plot(sin(x)) Can you try the following: x=0:0.1:10; plot(sin(x),'-') ? Does it still crash? Antoine From njalzabetic.fsb at gmail.com Mon Jun 3 09:56:11 2013 From: njalzabetic.fsb at gmail.com (Nikola) Date: Mon, 3 Jun 2013 00:56:11 -0700 (PDT) Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <51AC26E2.8090907@laas.fr> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> Message-ID: <1370246171610-4026759.post@n3.nabble.com> Thx for reply Antoine. Still crashes. Could this be problems with java or maybe problems with graphics card driver? -- View this message in context: http://mailinglists.scilab.org/Scilab-5-4-1-Segmentation-fault-tp4026756p4026759.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Mon Jun 3 10:01:11 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 03 Jun 2013 10:01:11 +0200 Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <1370246171610-4026759.post@n3.nabble.com> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> <1370246171610-4026759.post@n3.nabble.com> Message-ID: <51AC4D47.6070105@scilab-enterprises.com> Le 03/06/2013 09:56, Nikola a ?crit : > Thx for reply Antoine. > > Still crashes. Could this be problems with java or maybe problems with > graphics card driver? > Indeed, this is likely coming from your driver: 5: 0x2747f < > (/usr/lib/libX11.so.6) 6: 0x3e144 (/usr/lib/libX11.so.6) 7: 0x1d7fb (/usr/lib/libX11.so.6) Try to update your drivers... or run software acceleration (mesa). Sylvestre From chris at matzitek.com Mon Jun 3 11:32:03 2013 From: chris at matzitek.com (Chris de Villiers) Date: Mon, 03 Jun 2013 11:32:03 +0200 Subject: [Scilab-users] graphics issues with Scilab 5.4.1 Message-ID: <51AC6293.6070605@matzitek.com> Hello, I installed Scilab 5.4.1 on three different platforms. I mention the first for reference only. Case 1: 64-bit Ubuntu Studio 12.04 LTS. Everything works and there are no problems with graphics. Case 2: 32-bit Linux Mint 14. When I try to plot some data, a graphic window opens, but no graph is plotted--the window is blank. I have tried this with both Cinnamon and Xfce, but the result is the same. Case 3: 64-bit Mac OS X 10.8.3. Here I can plot data, but when I try to edit the Axes properties, I get this message: "WARNING: Tcl/Tk interface not installed." I have installed the latest Community edition of ActiveTcl (8.6) but this does not solve the problem. Please could someone help with the above problems. I need to have Scilab running on all three platforms. Thank you. Regards, Chris de Villiers From a.dgraaf at krohne.com Mon Jun 3 12:58:00 2013 From: a.dgraaf at krohne.com (Ariel) Date: Mon, 3 Jun 2013 03:58:00 -0700 (PDT) Subject: [Scilab-users] 4D gridding and interpolation of scattered data points Message-ID: <1370257080772-4026762.post@n3.nabble.com> I have a 4D dataset consisting of an irregular grid of X, Y, Z coordinates, and value V at each position. What interpolation scheme could I use to map V onto a regular grid (evenly spaced X, Y and Z)? -- View this message in context: http://mailinglists.scilab.org/4D-gridding-and-interpolation-of-scattered-data-points-tp4026762.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Mon Jun 3 14:59:48 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 3 Jun 2013 14:59:48 +0200 Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: <1370257080772-4026762.post@n3.nabble.com> References: <1370257080772-4026762.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F108FAC2DC@301EX00100.sidel.com> Hello, De la part de Ariel Envoy? : lundi 3 juin 2013 12:58 > I have a 4D dataset consisting of an irregular grid of X, Y, Z > coordinates, and value V at each position. What interpolation scheme > could I use to map V onto a regular grid (evenly spaced X, Y and Z)? I guess that splin3d might be what you're looking for http://help.scilab.org/docs/5.4.1/en_US/splin3d.html Hope this helps -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From a.dgraaf at krohne.com Mon Jun 3 15:26:28 2013 From: a.dgraaf at krohne.com (Ariel) Date: Mon, 3 Jun 2013 06:26:28 -0700 (PDT) Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F108FAC2DC@301EX00100.sidel.com> References: <1370257080772-4026762.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F108FAC2DC@301EX00100.sidel.com> Message-ID: Dear Christophe, Thank you very much for your suggestion. I already had a look at the splin3d functionality, but I believe it will only work for V=f(X,Y,Z) and not for random values of V (i.e. without a pre-defined function of the X, Y and Z coordinates). Kind regards Ari?l de Graaf ************************** Dr. Ari?l de Graaf Krohne New Technologies B.V. Veerplaat 102, 3313 LJ Dordrecht Postbus 110, 3300 AC Dordrecht Tel: +31 (0)78 3030 056 Fax: +31 (0)78 6306 390 a.dgraaf at krohne.com www.krohne.com ************************** Van: Dang, Christophe [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n4026763h52 at n3.nabble.com] Verzonden: maandag 3 juni 2013 15:01 Aan: Graaf, Ariel de Onderwerp: Re: 4D gridding and interpolation of scattered data points Hello, De la part de Ariel Envoy? : lundi 3 juin 2013 12:58 > I have a 4D dataset consisting of an irregular grid of X, Y, Z > coordinates, and value V at each position. What interpolation scheme > could I use to map V onto a regular grid (evenly spaced X, Y and Z)? I guess that splin3d might be what you're looking for http://help.scilab.org/docs/5.4.1/en_US/splin3d.html Hope this helps -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ users mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/users ________________________________ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/4D-gridding-and-interpolation-of-scattered-data-points-tp4026762p4026763.html To unsubscribe from 4D gridding and interpolation of scattered data points, click here. NAML Click here to report this email as spam. ====================================== DISCLAIMER =================================== NOTE: The information transmitted in this email is for the person or entity to which it is addressed: it may contain information that is confidential and/or legally privileged. If you are not the intended recipient, please do not read, use, retransmit or disseminate this information. Although this email and any attachments are believed to be free of any virus, it is the responsibility of the recipient to ensure that they are virus free. No responsibility is accepted by the KROHNE Company for any loss or damage arising from receipt of this message. Furthermore, unless explicitly stated, this email is in no way a legally binding agreement. The views represented in this email do not necessarily represent those of the corporation. -- View this message in context: http://mailinglists.scilab.org/4D-gridding-and-interpolation-of-scattered-data-points-tp4026762p4026764.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Mon Jun 3 16:09:05 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 3 Jun 2013 16:09:05 +0200 Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: References: <1370257080772-4026762.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F108FAC2DC@301EX00100.sidel.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F108FAC4D7@301EX00100.sidel.com> Hello, De la part de Ariel Envoy? : lundi 3 juin 2013 15:26 > I believe it will only work for V=f(X,Y,Z) > and not for random values of V > (i.e. without a pre-defined function of the X, Y and Z coordinates). I'm afraid I don't get your point. Do you mean that he V values you have are not placed on a 3d grid, but on randomly scattered (x, y, z) points? -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From a.dgraaf at krohne.com Mon Jun 3 16:21:51 2013 From: a.dgraaf at krohne.com (Ariel) Date: Mon, 3 Jun 2013 07:21:51 -0700 (PDT) Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F108FAC4D7@301EX00100.sidel.com> References: <1370257080772-4026762.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F108FAC2DC@301EX00100.sidel.com> <3B5FFC67498DFF49AE7271A584867D16F108FAC4D7@301EX00100.sidel.com> Message-ID: > Do you mean that he V values you have are not placed on a 3d grid, > but on randomly scattered (x, y, z) points? Exactly. I have randomly scattered (x,y,z) points with corresponding value V and I want to map those points onto a regular grid with the interpolated (or averaged) value V. Kind regards Ari?l de Graaf ====================================== DISCLAIMER =================================== NOTE: The information transmitted in this email is for the person or entity to which it is addressed: it may contain information that is confidential and/or legally privileged. If you are not the intended recipient, please do not read, use, retransmit or disseminate this information. Although this email and any attachments are believed to be free of any virus, it is the responsibility of the recipient to ensure that they are virus free. No responsibility is accepted by the KROHNE Company for any loss or damage arising from receipt of this message. Furthermore, unless explicitly stated, this email is in no way a legally binding agreement. The views represented in this email do not necessarily represent those of the corporation. -- View this message in context: http://mailinglists.scilab.org/4D-gridding-and-interpolation-of-scattered-data-points-tp4026762p4026766.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Mon Jun 3 16:39:30 2013 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Mon, 03 Jun 2013 16:39:30 +0200 Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: References: <1370257080772-4026762.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F108FAC2DC@301EX00100.sidel.com> <3B5FFC67498DFF49AE7271A584867D16F108FAC4D7@301EX00100.sidel.com> Message-ID: <51ACAAA2.7030005@utc.fr> Hello, try splin3d or linear_interpn. S. Le 03/06/13 16:21, Ariel a ?crit : > > > Do you mean that he V values you have are not placed on a 3d grid, > > but on randomly scattered (x, y, z) points? > > Exactly.I have randomly scattered (x,y,z) points with corresponding > value V and I want to map those points onto a regular grid with the > interpolated (or averaged) value V. > > Kind regards > > Ari?l de Graaf > > > > ====================================== DISCLAIMER > =================================== > > NOTE: The information transmitted in this email is for the person or > entity to which it is addressed: > > it may contain information that is confidential and/or legally > privileged. > > If you are not the intended recipient, please do not read, use, > retransmit or disseminate this information. > > Although this email and any attachments are believed to be free of any > virus, it is the responsibility > > of the recipient to ensure that they are virus free. No responsibility > is accepted by the KROHNE Company > > for any loss or damage arising from receipt of this message. > > Furthermore, unless explicitly stated, this email is in no way a > legally binding agreement. > > The views represented in this email do not necessarily represent those > of the corporation. > > > ------------------------------------------------------------------------ > View this message in context: RE: 4D gridding and interpolation of > scattered data points > > Sent from the Scilab users - Mailing Lists Archives mailing list > archive > > at Nabble.com. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From shorne at energetiq.com Mon Jun 3 17:51:54 2013 From: shorne at energetiq.com (shorne at energetiq.com) Date: Mon, 3 Jun 2013 11:51:54 -0400 Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: Message-ID: This is in general a nontrivial problem. One approach is here - - http://www.netlib.org/toms/905 ref: TOMS 37,3 (Sep 2010) Article: 34 for: {SHEPPACK}: Modified {Shepard} Algorithm for Interpolation of Scattered Multivariate Data by: William I. Thacker, Jingwei Zhang, Layne T. Watson, Jeffrey B. Birch, Manjula A. Iyer and Michael W. Berry If this is what you need, it's not hard to hook the fortran code into scilab. If you expect that your data can be fit with a global polynomial, you can do that "by hand "in a straightforward way, since each basis function is continuous and spans your space. It's much harder when your basis functions are piecewise. Ariel Sent by: users-bounces at lists.scilab.org 06/03/2013 10:22 AM Please respond to "International users mailing list for Scilab." To users at lists.scilab.org cc Subject Re: [Scilab-users] 4D gridding and interpolation of scattered data points > Do you mean that he V values you have are not placed on a 3d grid, > but on randomly scattered (x, y, z) points? Exactly. I have randomly scattered (x,y,z) points with corresponding value V and I want to map those points onto a regular grid with the interpolated (or averaged) value V. Kind regards Ari??l de Graaf ====================================== DISCLAIMER =================================== NOTE: The information transmitted in this email is for the person or entity to which it is addressed: it may contain information that is confidential and/or legally privileged. If you are not the intended recipient, please do not read, use, retransmit or disseminate this information. Although this email and any attachments are believed to be free of any virus, it is the responsibility of the recipient to ensure that they are virus free. No responsibility is accepted by the KROHNE Company for any loss or damage arising from receipt of this message. Furthermore, unless explicitly stated, this email is in no way a legally binding agreement. The views represented in this email do not necessarily represent those of the corporation. View this message in context: RE: 4D gridding and interpolation of scattered data points Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com._______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Jun 3 23:19:39 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 03 Jun 2013 23:19:39 +0200 Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: <1370257080772-4026762.post@n3.nabble.com> References: <1370257080772-4026762.post@n3.nabble.com> Message-ID: <51AD086B.7040602@free.fr> Hello, Le 03/06/2013 12:58, Ariel a ?crit : > I have a 4D dataset consisting of an irregular grid of X, Y, Z coordinates, > and value V at each position. What interpolation scheme could I use to map V > onto a regular grid (evenly spaced X, Y and Z)? This topic has been dealt on http://mailinglists.scilab.org/quot-griddata-quot-functuion-tt2618079.html#a2618094 HTH Samuel From njalzabetic.fsb at gmail.com Tue Jun 4 10:41:08 2013 From: njalzabetic.fsb at gmail.com (Nikola) Date: Tue, 4 Jun 2013 01:41:08 -0700 (PDT) Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <51AC4D47.6070105@scilab-enterprises.com> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> <1370246171610-4026759.post@n3.nabble.com> <51AC4D47.6070105@scilab-enterprises.com> Message-ID: <1370335268165-4026770.post@n3.nabble.com> You were right. It was a problem with graphics card driver an after upgrading Scilab works fine. In my opinion it seems that there was a problem with mesa drivers. Thx. -- View this message in context: http://mailinglists.scilab.org/Scilab-5-4-1-Segmentation-fault-tp4026756p4026770.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Tue Jun 4 10:57:00 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 04 Jun 2013 10:57:00 +0200 Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <51AC4D47.6070105@scilab-enterprises.com> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> <1370246171610-4026759.post@n3.nabble.com> <51AC4D47.6070105@scilab-enterprises.com> Message-ID: <51ADABDC.6000009@laas.fr> On 03/06/2013 10:01, Sylvestre Ledru wrote: > Le 03/06/2013 09:56, Nikola a ?crit : >> Thx for reply Antoine. >> >> Still crashes. Could this be problems with java or maybe problems with >> graphics card driver? >> > Indeed, this is likely coming from your driver: > > 5: 0x2747f < > (/usr/lib/libX11.so.6) > 6: 0x3e144 (/usr/lib/libX11.so.6) > 7: 0x1d7fb (/usr/lib/libX11.so.6) > > Try to update your drivers... or run software acceleration (mesa). > > Sylvestre > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > Hi Sylvestre, It seems to me that graphic drivers are still the #1 cause of segfault for Scilab. Do you think it's possible to add a hint about drivers issue in the segfault error message? When Scilab is segfaulting, is it possible to infer whether graphic drivers might be the culprit to get this hint only when it seems plausible? Antoine From sylvestre.ledru at scilab-enterprises.com Tue Jun 4 11:00:53 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 04 Jun 2013 11:00:53 +0200 Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <51ADABDC.6000009@laas.fr> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> <1370246171610-4026759.post@n3.nabble.com> <51AC4D47.6070105@scilab-enterprises.com> <51ADABDC.6000009@laas.fr> Message-ID: <51ADACC5.8090803@scilab-enterprises.com> Le 04/06/2013 10:57, Antoine Monmayrant a ?crit : > On 03/06/2013 10:01, Sylvestre Ledru wrote: >> Le 03/06/2013 09:56, Nikola a ?crit : >>> Thx for reply Antoine. >>> >>> Still crashes. Could this be problems with java or maybe problems with >>> graphics card driver? >>> >> Indeed, this is likely coming from your driver: >> >> 5: 0x2747f < > (/usr/lib/libX11.so.6) >> 6: 0x3e144 (/usr/lib/libX11.so.6) >> 7: 0x1d7fb (/usr/lib/libX11.so.6) >> >> Try to update your drivers... or run software acceleration (mesa). > It seems to me that graphic drivers are still the #1 cause of segfault > for Scilab. Right. :( > Do you think it's possible to add a hint about drivers issue in the > segfault error message? Instead of " !--error 42 Oups. A fatal error has been detected by Scilab. Your instance will probably crash soon. Please report a bug on http://bugzilla.scilab.org/ with: * a sample code which reproduces the issue " You would like something like: " !--error 42 Oups. A fatal error has been detected by Scilab. If you are using a graphic feature, this might be caused by your system graphic drivers. Please try to update them and try again. Your instance will probably crash soon. Please report a bug on http://bugzilla.scilab.org/ with: * a sample code which reproduces the issue " ? Sylvestre From a.dgraaf at krohne.com Tue Jun 4 11:12:44 2013 From: a.dgraaf at krohne.com (Ariel) Date: Tue, 4 Jun 2013 02:12:44 -0700 (PDT) Subject: [Scilab-users] 4D gridding and interpolation of scattered data points In-Reply-To: <51AD086B.7040602@free.fr> References: <1370257080772-4026762.post@n3.nabble.com> <51AD086B.7040602@free.fr> Message-ID: <1370337164435-4026773.post@n3.nabble.com> idw4D.sce > This topic has been dealt on > http://mailinglists.scilab.org/quot-griddata-quot-functuion-tt2618079.html#a2618094 HTH Samuel _______________________________________________ Hi Samuel, In this old topic you conclude that there is no solution available in Scilab, and that one should look for an external package. The inverse distance weighting technique described by Openeering ( http://www.scribd.com/doc/124782851/Metamodeling-Scilab ) seems to work quite nicely. I have attached an example of this algorithm, adapted for 4D scatter data. Thanks, Ariel -- View this message in context: http://mailinglists.scilab.org/4D-gridding-and-interpolation-of-scattered-data-points-tp4026762p4026773.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Tue Jun 4 11:39:49 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 04 Jun 2013 11:39:49 +0200 Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <51ADACC5.8090803@scilab-enterprises.com> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> <1370246171610-4026759.post@n3.nabble.com> <51AC4D47.6070105@scilab-enterprises.com> <51ADABDC.6000009@laas.fr> <51ADACC5.8090803@scilab-enterprises.com> Message-ID: <51ADB5E5.8000405@laas.fr> On 04/06/2013 11:00, Sylvestre Ledru wrote: > Le 04/06/2013 10:57, Antoine Monmayrant a ?crit : >> On 03/06/2013 10:01, Sylvestre Ledru wrote: >>> Le 03/06/2013 09:56, Nikola a ?crit : >>>> Thx for reply Antoine. >>>> >>>> Still crashes. Could this be problems with java or maybe problems with >>>> graphics card driver? >>>> >>> Indeed, this is likely coming from your driver: >>> >>> 5: 0x2747f < > (/usr/lib/libX11.so.6) >>> 6: 0x3e144 (/usr/lib/libX11.so.6) >>> 7: 0x1d7fb (/usr/lib/libX11.so.6) >>> >>> Try to update your drivers... or run software acceleration (mesa). >> It seems to me that graphic drivers are still the #1 cause of segfault >> for Scilab. > Right. :( > >> Do you think it's possible to add a hint about drivers issue in the >> segfault error message? > Instead of > > " !--error 42 > Oups. A fatal error has been detected by Scilab. > Your instance will probably crash soon. > Please report a bug on http://bugzilla.scilab.org/ with: > * a sample code which reproduces the issue > " > > You would like something like: > " !--error 42 > Oups. A fatal error has been detected by Scilab. > If you are using a graphic feature, this might be caused by your system graphic drivers. > Please try to update them and try again. > Your instance will probably crash soon. > Please report a bug on http://bugzilla.scilab.org/ with: > * a sample code which reproduces the issue > > " > > ? Yes! It might make it easier for the new users to find what's wrong. Antoine > > Sylvestre > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From paul.carrico at esterline.com Wed Jun 5 10:58:28 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Wed, 5 Jun 2013 10:58:28 +0200 Subject: [Scilab-users] How to mix strings and doubles in a matrix ? Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD2E@exchsrv.auxitrol.ad> Dear All How can I mix strings and doubles in a matrix ? Example : string_matrix = [ 'a' ; 'b' ; 'c'] double_matrix = [ 1 ; 2 ; 3] mixed_matrix = [string_matrix double_matrix] NB : how to initialize a matrix of string ? equivalent to "zeros(n)" .... Thanks 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 Wed Jun 5 11:10:31 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 05 Jun 2013 11:10:31 +0200 Subject: [Scilab-users] How to mix strings and doubles in a matrix ? In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD2E@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD2E@exchsrv.auxitrol.ad> Message-ID: <51AF0087.3050601@centre-cired.fr> On 05/06/2013 10:58, Carrico, Paul wrote: > Dear All > How can I mix strings and doubles in a matrix ? > Example : > string_matrix = [ 'a' ; 'b' ; 'c'] > double_matrix = [ 1 ; 2 ; 3] > > mixed_matrix = [string_matrix double_matrix] hi mixed_matrix = [string_matrix string(double_matrix)] i generally "configure" scila to do this automatically, and other useful stuff with these functions: Exported from Notepad++ //2*"hey " = "hey hey " functionstr=stringmult(nb,str0)str=emptystr(str0);ifsize(nb)==size(str0)thenfori=1:size(nb,1)forj=1:size(nb,2)fork=1:nb(i,j)str(i,j)=str(i,j)+str0(i,j);endendendelsemkalert("error");error("stringmult: sizes don''t match");endendfunction//defines 2*"hey"="heyhey" functionx=%s_m_c(a,b)x=stringmult(a,b)endfunction//defines"hey "*2="hey hey " functionx=%c_m_s(a,b)x=stringmult(b,a)endfunction//defines "string"+5 ="string5" functionx=%c_a_s(a,b)x=a+string(b)endfunction//defines 5+" string" ="5 string" functionx=%s_a_c(a,b)x=string(a)+bendfunction//defines"string"+%t ="stringT" functionx=%c_a_b(a,b)x=a+string(b)endfunction//defines %f+" string" ="F string" functionx=%b_a_c(a,b)x=string(a)+bendfunction//defines ["hi" %t] = ["hi""T"] functionx=%c_c_b(a,b)x=[astring(b)]endfunctionfunctionx=%b_c_c(a,b)x=[string(a)b]endfunction//defines ["hi" 5] = ["hi""5"] functionx=%c_c_s(a,b)x=[astringE(b)]endfunctionfunctionx=%s_c_c(a,b)x=[stringE(a)b]endfunctionfunctionx=%c_f_s(a,b)x=[a;stringE(b)]endfunctionfunctionx=%s_f_c(a,b)x=[stringE(a);b]endfunction Exported from Notepad++ > > > /_NB_/ : how to initialize a matrix of string ? equivalent to "zeros(n)" .... M = emptystr(3,2) (by the way, zeros(n) creates a 1x1 matrix) > Thanks > 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. > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Wed Jun 5 12:49:33 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 5 Jun 2013 12:49:33 +0200 Subject: [Scilab-users] How to mix strings and doubles in a matrix ? In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD2E@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD2E@exchsrv.auxitrol.ad> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10906C698@301EX00100.sidel.com> Hello, De la part de Carrico, Paul Envoy? : mercredi 5 juin 2013 10:58 > How can I mix strings and doubles in a matrix ? Did you try cell()? http://help.scilab.org/docs/5.4.1/en_US/cell.html HTH -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From dragaoerrante at gmail.com Wed Jun 5 17:04:56 2013 From: dragaoerrante at gmail.com (dragaoerrante) Date: Wed, 5 Jun 2013 08:04:56 -0700 (PDT) Subject: [Scilab-users] Xcos simulation IDA_ERR_FAIL In-Reply-To: <51ABA523.5070201@inria.fr> References: <1370142241103-4026755.post@n3.nabble.com> <51ABA523.5070201@inria.fr> Message-ID: Dear Serger, Your hint was quite precise! After replacing ths step driving the switches things got better. Now I'm attempting to change also the pwm control to be event driven. Thanks so much. Leo On Sun, Jun 2, 2013 at 5:04 PM, Serge Steer [via Scilab / Xcos - Mailing Lists Archives] wrote: > The problem may be due to the discontinuities introduced by the > switches. The DAE solver assumes the system to be at least continuuos. > It should be better to control the swith, with a discrete time signal > instead of the step blocks with are continuous time. > Using discret time control insures the solver is stopped when the event > arises and restart just after. > > You can generate a discrete command for the switch using a selector > block and an "event at time" block. > > Serge Steer > Le 02/06/2013 05:04, dragaoerrante a ?crit : > > > Hi people. I started using Scilab just some moths ago, so I'm not well > > experienced on it. I'm trying to simulate a PID control system to be > used on > > a DC-DC buck converter. The controller and the converter models seems to > be > > ok, but when I run a simulation to increase or decrease load on the fly > the > > simulations crashes even before any load has beend added or removed. > > > > The error message says: IDA_ERR_FAIL: Error test failures occured too > many > > times (= MXTEF = 10) during one step or occured with |h| = h_min > > > > I also noticed that it popped up on a PWM block that is as simple as a > > sawtooth generator and a comparator. This block have beeing used several > > times without any issue. > > > > Another thing I have to say is that this problem stops occuring if a > > simulate the system with a steady load value. > > Before running the XCOS simulation file it is necessary to run the sce > file. > > I would appeciate so much if someone could help me with this. > > > > Best regards, > > Leo > > Buck_5V_01.zcos > > > > Modelo_Buck_PID_5V_SL_02.sce > > < > http://mailinglists.scilab.org/file/n4026755/Modelo_Buck_PID_5V_SL_02.sce> > > > > > > > > > -- > > View this message in context: > http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755.html > > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > _______________________________________________ > > users mailing list > > [hidden email] > > http://lists.scilab.org/mailman/listinfo/users > > > > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755p4026757.html > To unsubscribe from Xcos simulation IDA_ERR_FAIL, click here > . > NAML > -- View this message in context: http://mailinglists.scilab.org/Xcos-simulation-IDA-ERR-FAIL-tp4026755p4026778.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt_bruensteiner at yahoo.com Wed Jun 5 19:37:43 2013 From: matt_bruensteiner at yahoo.com (Matt Bruensteiner) Date: Wed, 5 Jun 2013 10:37:43 -0700 (PDT) Subject: [Scilab-users] iir() generates unstable filters Message-ID: <1370453863118-4026779.post@n3.nabble.com> I've seen similar issues brought up in the archives, but I don't find any resolution. I'm using iir() to generate a butterworth lpf. The resulting filter has poles outside the unit circle. I am by no means a DSP expert, but from what I understand, this indicates a non-stable filter. When I apply this filter to a measured waveform using flts(), the result blows up, with the output increasing exponenntially over time. I tried both even and odd filter orders: -->lpfilt = iir(4, 'lp', 'butt', [.0875 0], [0 0]) lpfilt = 2 3 4 0.0030512 + 0.0122049z + 0.0183073z + 0.0122049z + 0.0030512z ------------------------------------------------------------- 2 3 4 0.2139357 - 1.3042473z + 2.6500338z - 2.5712226z + z -->roots(denom(lpfilt)) ans = 1.0361719 0.6177887 + 0.5547720i 0.6177887 - 0.5547720i 0.2994733 -->lpfilt5 = iir(5, 'lp', 'butt', [0.0875 0], [0 0]) lpfilt5 = 2 3 4 5 0.0007227 + 0.0036136z + 0.0072273z + 0.0072273z + 0.0036136z + 0.0007227z -------------------------------------------------------------------------- 2 3 4 5 - 0.1155084 + 1.2115289z - 3.1061603z + 4.3810649z - 3.226861z + z -->roots(denom(lpfilt5)) ans = 1.1204851 + 0.4583414i 1.1204851 - 0.4583414i 0.4264616 + 0.6409903i 0.4264616 - 0.6409903i 0.1329677 When I do the equivalent thing in Octave, I get the same zeros but different poles: octave:2> [b, a] = butter(5, 0.0875 * 2) b = 7.2273e-004 3.6136e-003 7.2273e-003 7.2273e-003 3.6136e-003 7.2273e-004 a = 1.00000 -3.22686 4.38106 -3.07823 1.11122 -0.16406 (Note octave gives the coefficients in the reverse order from SciLab). When I plug Octave's denominator back in to SciLab, the filter has the expected features (LPF with -3 dB at f/Fs = 0.0875). I am currently using SciLab 5.3.3 64-bit on Win 7. I know that SciLab 5.4 is available, but the updater doesn't play nice with the network setup (proxies?) at my office.---I'll certainly upgrade if this is a known bug that has been fixed in 5.4. My question is: * Is this a bug or do I simply not know what I'm doing with either SciLab or DSP? * If it's not a bug, how should I use SciLab to generate a stable filter? Thanks, Matt -- View this message in context: http://mailinglists.scilab.org/iir-generates-unstable-filters-tp4026779.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From matt_bruensteiner at yahoo.com Thu Jun 6 00:21:41 2013 From: matt_bruensteiner at yahoo.com (Matt Bruensteiner) Date: Wed, 5 Jun 2013 15:21:41 -0700 (PDT) Subject: [Scilab-users] iir() generates unstable filters In-Reply-To: <1370453863118-4026779.post@n3.nabble.com> References: <1370453863118-4026779.post@n3.nabble.com> Message-ID: <1370470901654-4026780.post@n3.nabble.com> > I've seen similar issues brought up in the archives, but I don't find any resolution. > ... > I am currently using SciLab 5.3.3 64-bit on Win 7. After I decided to stop being lazy and install Scilab 5.4.1, this turned out to be the problem. iir() seems to be generating stable filters (at least for order 4 and 5) in Scilab 5.4.1. -Matt -- View this message in context: http://mailinglists.scilab.org/iir-generates-unstable-filters-tp4026779p4026780.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From julien_pleinert at hotmail.com Thu Jun 6 11:23:55 2013 From: julien_pleinert at hotmail.com (HathB) Date: Thu, 6 Jun 2013 02:23:55 -0700 (PDT) Subject: [Scilab-users] Indirect function call In-Reply-To: <51233FC2.8080802@laas.fr> References: <1361217130352-4025965.post@n3.nabble.com> <51233FC2.8080802@laas.fr> Message-ID: <1370510635234-4026781.post@n3.nabble.com> Hello, I have the same problem and the solution which is given doesn't work. function_handle (@) doesn't exist in scilab ? -- View this message in context: http://mailinglists.scilab.org/Indirect-function-call-tp4025965p4026781.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Thu Jun 6 13:20:51 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 6 Jun 2013 13:20:51 +0200 Subject: [Scilab-users] Indirect function call In-Reply-To: <1370510635234-4026781.post@n3.nabble.com> References: <1361217130352-4025965.post@n3.nabble.com> <51233FC2.8080802@laas.fr> <1370510635234-4026781.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1090B0EF4@301EX00100.sidel.com> Hello, De la part de HathB Envoy? : jeudi 6 juin 2013 11:24 > function_handle (@) doesn't exist in scilab ? I don't use Matlab, but from a quick search in the Mathworks website, it seems to me that it is used to make the execution faster, am I right? If so, I guess that this is strongly software dependant, maybe you should ask: "how can I have a faster execution for my script" and give an example of script. Sorry not to be more precise. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From antoine.monmayrant at laas.fr Thu Jun 6 15:46:46 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 06 Jun 2013 15:46:46 +0200 Subject: [Scilab-users] Indirect function call In-Reply-To: <1370510635234-4026781.post@n3.nabble.com> References: <1361217130352-4025965.post@n3.nabble.com> <51233FC2.8080802@laas.fr> <1370510635234-4026781.post@n3.nabble.com> Message-ID: <51B092C6.8000609@laas.fr> On 06/06/2013 11:23, HathB wrote: > Hello, > > I have the same problem and the solution which is given doesn't work. > > function_handle (@) doesn't exist in scilab ? > > > > -- > View this message in context: http://mailinglists.scilab.org/Indirect-function-call-tp4025965p4026781.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Maybe I am wrong but I think you can achieve the same in Scilab without using @ as you can use function names like any other variables (which is not the case in Matlab): tmp=sin; disp(tmp(%pi/2)); tmp=cos; disp(tmp(%pi/2)); Hope it helps, Antoine From paul.carrico at esterline.com Thu Jun 6 16:57:47 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 6 Jun 2013 16:57:47 +0200 Subject: [Scilab-users] Nightly build release ? Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD41@exchsrv.auxitrol.ad> All, A bug on the call_scilab function were highlighted and it has been corrected, asking for installing a nightly build release, but between the Master one and the YaSp one, which is the right one ? Another (non negligible) step will be the compilation ..... Thanks 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 paul.carrico at esterline.com Thu Jun 6 17:39:16 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 6 Jun 2013 17:39:16 +0200 Subject: [Scilab-users] scilab nightly build : installation problems Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD42@exchsrv.auxitrol.ad> Scilab team, Connection refused when I try to download the prerequirements (I checked to proxy and no problem with it) .... NB: when I launch scilab from the master binary, I've a lack of "libquadmath.so.5" libraries ...... that's why I'm thinking in compilling scilab (with pain) Paul Some packages are missing when I compile Scilab console module. Where can I find them ? All needed packages to compile Scilab under Linux can be found in Scilab SVN pre-requirements directory: mkdir Prerequirements cd Prerequirements svn co --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux/ So, to download scilab and the prerequirements packages : git clone git://git.scilab.org/scilab scilab.sources svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux/bin scilab.sources/scilab/bin svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux/thi rdparty scilab.sources/scilab/thirdparty -------------------------------------------------------------------------------- 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 david.cheze at cea.fr Thu Jun 6 17:41:37 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 6 Jun 2013 08:41:37 -0700 (PDT) Subject: [Scilab-users] read 16bit tiff gray scale image in Scilab Message-ID: <1370533297897-4026786.post@n3.nabble.com> Hi, does anybody know if there is a scilab resource that can deals with 16bit tiff image (high resolution camera) ? I tested SIVP but it is limited to 8bit image and IPD looks the same (not tested yet). Thanks for your help, David -- View this message in context: http://mailinglists.scilab.org/read-16bit-tiff-gray-scale-image-in-Scilab-tp4026786.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From david.cheze at cea.fr Thu Jun 6 17:51:27 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 6 Jun 2013 08:51:27 -0700 (PDT) Subject: [Scilab-users] Nightly build release ? In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD41@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD41@exchsrv.auxitrol.ad> Message-ID: <1370533887417-4026787.post@n3.nabble.com> Hi Paul, maybe i don't understand your request but you may just wait tomorrow to get the compiled version (not marked as source) for your plateform either from http://www.scilab.org/fr/development/nightly_builds/master or from http://www.scilab.org/fr/development/nightly_builds/branch_YaSp ? David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Nightly-build-release-tp4026784p4026787.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Thu Jun 6 17:51:54 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 06 Jun 2013 17:51:54 +0200 Subject: [Scilab-users] read 16bit tiff gray scale image in Scilab In-Reply-To: <1370533297897-4026786.post@n3.nabble.com> References: <1370533297897-4026786.post@n3.nabble.com> Message-ID: <51B0B01A.6060700@laas.fr> On 06/06/2013 17:41, David Ch?ze wrote: > Hi, > > does anybody know if there is a scilab resource that can deals with 16bit > tiff image (high resolution camera) ? > I tested SIVP but it is limited to 8bit image and IPD looks the same (not > tested yet). > > Thanks for your help, > > David Been there, done it! Do you have a test image to send me? Antoine > > > > -- > View this message in context: http://mailinglists.scilab.org/read-16bit-tiff-gray-scale-image-in-Scilab-tp4026786.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From david.cheze at cea.fr Thu Jun 6 18:05:56 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 6 Jun 2013 09:05:56 -0700 (PDT) Subject: [Scilab-users] read 16bit tiff gray scale image in Scilab In-Reply-To: <51B0B01A.6060700@laas.fr> References: <1370533297897-4026786.post@n3.nabble.com> <51B0B01A.6060700@laas.fr> Message-ID: <1370534756468-4026789.post@n3.nabble.com> Hi Antoine, thanks for your enthousiastic reply ! here's attached a sample image, with pixel coded in 16bits resolution. http://partage.mescontenus.orange.fr/n/664-2/share/LNKWH1wMaj0aXVf00O4aZEAMriPL/ Thanks, David -- View this message in context: http://mailinglists.scilab.org/read-16bit-tiff-gray-scale-image-in-Scilab-tp4026786p4026789.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From paul.carrico at free.fr Thu Jun 6 19:13:34 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Thu, 6 Jun 2013 19:13:34 +0200 Subject: [Scilab-users] Nightly build release ? In-Reply-To: <1370533887417-4026787.post@n3.nabble.com> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD41@exchsrv.auxitrol.ad> <1370533887417-4026787.post@n3.nabble.com> Message-ID: <004201ce62d9$2dd126b0$89737410$@carrico@free.fr> Hi David, I made 2 different trials : - I downloaded the *master* binary release ... but I've a "libquadmath.so.5" libraries error after running it - I tried to download all the prerequirements but I cannot connect to the server I'll try again tomorrow NB : what's the best release for the call_scilab trouble : master or YaSP ? Paul -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de David Ch?ze Envoy??: jeudi 6 juin 2013 17:51 ??: users at lists.scilab.org Objet?: Re: [Scilab-users] Nightly build release ? Hi Paul, maybe i don't understand your request but you may just wait tomorrow to get the compiled version (not marked as source) for your plateform either from http://www.scilab.org/fr/development/nightly_builds/master or from http://www.scilab.org/fr/development/nightly_builds/branch_YaSp ? David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Nightly-build-release-tp4026784p 4026787.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From porpoiseseeker at gmail.com Thu Jun 6 19:16:08 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Thu, 6 Jun 2013 10:16:08 -0700 Subject: [Scilab-users] iir() generates unstable filters In-Reply-To: <1370470901654-4026780.post@n3.nabble.com> References: <1370453863118-4026779.post@n3.nabble.com> <1370470901654-4026780.post@n3.nabble.com> Message-ID: FIR filters can be linear phase and are unconditionally stable. Sent from my iPhone On Jun 5, 2013, at 3:21 PM, Matt Bruensteiner wrote: >> I've seen similar issues brought up in the archives, but I don't find any > resolution. >> ... >> I am currently using SciLab 5.3.3 64-bit on Win 7. > > After I decided to stop being lazy and install Scilab 5.4.1, this turned out > to be the problem. > iir() seems to be generating stable filters (at least for order 4 and 5) in > Scilab 5.4.1. > > -Matt > > > > -- > View this message in context: http://mailinglists.scilab.org/iir-generates-unstable-filters-tp4026779p4026780.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From paul.carrico at free.fr Thu Jun 6 22:56:07 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Thu, 6 Jun 2013 22:56:07 +0200 Subject: [Scilab-users] scilab nightly build : installation problems In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD42@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD42@exchsrv.auxitrol.ad> Message-ID: <000001ce62f8$450f5fd0$cf2e1f70$@carrico@free.fr> After spending a lot of time on the net : ?libquadmath.so.0? (and not libquadmath.so.5 as written previously) comes from libquadmath package On my CentOS release, it?s ever installed devtoolset package including libquadmath 4.7.2 ; nevertheless it has generated libquadmath.so library and not libquadmath.so.0 How to solve the problem (a rename doesn?t work) ? is the requested package too recent ? NB: the current stable release of Scilab works on centos Paul De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Carrico, Paul Envoy? : jeudi 6 juin 2013 17:39 ? : International users mailing list for Scilab. Objet : [Scilab-users] scilab nightly build : installation problems Scilab team, Connection refused when I try to download the prerequirements (I checked to proxy and no problem with it) .... NB: when I launch scilab from the master binary, I've a lack of "libquadmath.so.5" libraries ...... that's why I'm thinking in compilling scilab (with pain) Paul Some packages are missing when I compile Scilab console module. Where can I find them ? All needed packages to compile Scilab under Linux can be found in Scilab SVN pre-requirements directory: mkdir Prerequirements cd Prerequirements svn co --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux/ So, to download scilab and the prerequirements packages : git clone git://git.scilab.org/scilab scilab.sources svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux/bin scilab.sources/scilab/bin svn export --force --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux/thirdpa rty scilab.sources/scilab/thirdparty ---------------------------------------------------------------------------- ---- 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 sgougeon at free.fr Thu Jun 6 23:03:38 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 06 Jun 2013 23:03:38 +0200 Subject: [Scilab-users] Indirect function call In-Reply-To: <1361217130352-4025965.post@n3.nabble.com> References: <1361217130352-4025965.post@n3.nabble.com> Message-ID: <51B0F92A.8010605@free.fr> Le 18/02/2013 20:52, fitzyfish a ?crit : > Is there a Scilab equivalent for the MATLAB function handle @ to call a > function indirectly e.g. > sqr = @(x) x.^2; deff('y = sqr(x)','y = x.^2') Then -->sqr(2) ans = 4. HTH Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From gcdiwan at gmail.com Fri Jun 7 00:50:46 2013 From: gcdiwan at gmail.com (Ganesh Diwan) Date: Thu, 6 Jun 2013 23:50:46 +0100 Subject: [Scilab-users] 2D contour for a non-rectangular region. Message-ID: How does one go about plotting a 2D contour for a non-rectangular region? I have a data file that contains XY data and the potential values at the points. The region of interest is not rectangular. Is there a way to generate a contour plot of such a data with Scilab? Many thanks in advance for help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Fri Jun 7 08:31:59 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 6 Jun 2013 23:31:59 -0700 (PDT) Subject: [Scilab-users] read 16bit tiff gray scale image in Scilab In-Reply-To: <1370534756468-4026789.post@n3.nabble.com> References: <1370533297897-4026786.post@n3.nabble.com> <51B0B01A.6060700@laas.fr> <1370534756468-4026789.post@n3.nabble.com> Message-ID: <1370586719084-4026795.post@n3.nabble.com> Hi I was punished for my lazyness : IPD module is reading 16bits TIFF image :) ! nb:for windows machine Thanks to all, David -- View this message in context: http://mailinglists.scilab.org/read-16bit-tiff-gray-scale-image-in-Scilab-tp4026786p4026795.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Fri Jun 7 09:19:32 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Fri, 7 Jun 2013 09:19:32 +0200 Subject: [Scilab-users] 2D contour for a non-rectangular region. In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1090B184E@301EX00100.sidel.com> Hello, De la part de Ganesh Diwan Envoy? : vendredi 7 juin 2013 00:51 > I have a data file that contains XY data and the potential values at > the points. The region of interest is not rectangular. > > Is there a way to generate a contour plot of such a data with Scilab? You have several image processing toolboxes that perform contour detection, see http://atoms.scilab.org/categories/image_processing By "contour plot", do you mean that you want a polyline (closed polygon), or is a scatter plot enough? Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From Serge.Steer at inria.fr Fri Jun 7 12:02:15 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 07 Jun 2013 12:02:15 +0200 Subject: [Scilab-users] 2D contour for a non-rectangular region. In-Reply-To: References: Message-ID: <51B1AFA7.8050001@inria.fr> Le 07/06/2013 00:50, Ganesh Diwan a ?crit : > How does one go about plotting a 2D contour for a non-rectangular region? > I have a data file that contains XY data and the potential values at > the points. The region of interest is not rectangular. > Is there a way to generate a contour plot of such a data with Scilab? Yes, just enter your data in a matrix and set the undefined values to %nan function z=my_surface(x, y),z=x*sin(x)^2*cos(y),endfunction t=linspace(-%pi,%pi,30); z=feval(t,t,my_surface); z(1:15,1:15)=%nan; clf;contour(t,t,z,20); Serge Steer INRIA > Many thanks in advance for help. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From biracruz at cemig.com.br Fri Jun 7 22:46:37 2013 From: biracruz at cemig.com.br (Ubirajara Marques da Cruz) Date: Fri, 7 Jun 2013 20:46:37 +0000 Subject: [Scilab-users] Problems with plot 3d. Function fplot3d Message-ID: <92E9CC19835EFD4DA26E4603342545826F4A80E0@SA-CORP-EMCL5.cemig.ad.corp> To user support, Recently I was studing a function that i wanted to plot it. This function is a 3d equation that I wrote above: [cid:image004.png at 01CE63A6.F58C59E0] I try to use fplot3d to plot following interval x=0:0.01:1 and y=0:0.01:3. When I analise the results this function has positive and negative numbers to plot but when i plot it it only show positive numbers. I look for the answers about square root of negative numbers and i found help tips that show into this case the answer is a complex number. Then I see that matrix z is a vector that has real numbers and complex numbers(they are mixed) and fplot3d shows a result very diferente of I was expecting. If point is a real number fplot3d plot right surface and if the point is a complex number it shows a wrong surface. What must i do to solve this problem? Follow, I send code that I?ve been use into scilab 4.1.2 (scipad) x=0:0.01:1 ;y=0:0.01:3 deff('z=f(x,y)','z=( (1-exp(-5*x))-y)^(1/3)') clf() fplot3d(x,y,f,alpha=60,theta=60) [cid:image007.jpg at 01CE63A6.F58C59E0] Down part of this graphic is mirrored to up side and values are wrong. The right result that i was expecting is the surface to be drawnt to negative side. Thank you for yours helps. Ubirajara Marques da Cruz Engenheiro de Projetos El?tricos Ger?ncia de Engenharia Eletromec?nica de Expans?o da Gera??o e de Fontes Alternativas Diretoria de Gera??o e Transmiss?o Companhia Energ?tica de Minas Gerais - Cemig Telefone: 55 (31) 3506-4602 Email: biracruz at cemig.com.br www.cemig.com.br [Descri??o: cid:image002.jpg at 01CD973D.26DD29C0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 7672 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 775 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.jpg Type: image/jpeg Size: 18823 bytes Desc: image007.jpg URL: From iitdhruv at gmail.com Sat Jun 8 10:25:07 2013 From: iitdhruv at gmail.com (iitdhruv) Date: Sat, 8 Jun 2013 01:25:07 -0700 (PDT) Subject: [Scilab-users] time delay with syslin? In-Reply-To: <0EB61683CBEE411191E9757FD43C7C00@optiplex745> References: <096BBEB9266F4186B50C57B8C840899B@optiplex745> <4CBFF754.5040900@univ-lemans.fr> <0EB61683CBEE411191E9757FD43C7C00@optiplex745> Message-ID: <1370679907740-4026798.post@n3.nabble.com> Hello I am trying to implement exactly what has been discussed on this thread: Time delays with syslin or csim. The iodelay toolbox as pointed out earlier by Dean does not work with syslin or csim because its a different data type. For input-output delays one could manually introduce them by shifting data in time domain however when it comes to internal time delays, ie exp(-theta*s) terms in denominators of transfer functions then we need some computational implementation. Please refer to this link about internal delay from MATLAB. This is exactly what I want to implement in Scilab. Has there been any development on this front since Oct 2010? http://www.mathworks.in/help/control/ug/models-with-time-delays.html#bq5_i8g-1 Thanks a lot Dhruv Gupta IIT-Bombay -- View this message in context: http://mailinglists.scilab.org/time-delay-with-syslin-tp2618126p4026798.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From serge.steer at inria.fr Sun Jun 9 10:20:38 2013 From: serge.steer at inria.fr (Serge Steer) Date: Sun, 9 Jun 2013 10:20:38 +0200 (CEST) Subject: [Scilab-users] Problems with plot 3d. Function fplot3d In-Reply-To: <92E9CC19835EFD4DA26E4603342545826F4A80E0@SA-CORP-EMCL5.cemig.ad.corp> Message-ID: <1226239172.4166086.1370766038674.JavaMail.root@inria.fr> The question is: how do you want to represent complex numbers in your 3D plot? plot3d function only represent the real part... Serge Steer ----- Mail original ----- > De: "Ubirajara Marques da Cruz" > ?: users at lists.scilab.org > Envoy?: Vendredi 7 Juin 2013 22:46:37 > Objet: [Scilab-users] Problems with plot 3d. Function fplot3d > To user support, > Recently I was studing a function that i wanted to plot it. This > function is a 3d equation that I wrote above: > I try to use fplot3d to plot following interval x=0:0.01:1 and > y=0:0.01:3. > When I analise the results this function has positive and negative > numbers to plot but when i plot it it only show positive numbers. > I look for the answers about square root of negative numbers and i > found help tips that show into this case the answer is a complex > number. Then I see that matrix z is a vector that has real numbers > and complex numbers(they are mixed) and fplot3d shows a result very > diferente of I was expecting. > If point is a real number fplot3d plot right surface and if the point > is a complex number it shows a wrong surface. What must i do to > solve this problem? > Follow, I send code that I?ve been use into scilab 4.1.2 (scipad) > x=0:0.01:1 ;y=0:0.01:3 > deff(?z=f(x,y)?,?z=( (1-exp(-5*x))-y)^(1/3)?) > clf() > fplot3d(x,y,f,alpha=60,theta=60) > Down part of this graphic is mirrored to up side and values are > wrong. The right result that i was expecting is the surface to be > drawnt to negative side. > Thank you for yours helps. > Ubirajara Marques da Cruz > Engenheiro de Projetos El?tricos > Ger?ncia de Engenharia Eletromec?nica de Expans?o da Gera??o e de > Fontes Alternativas > Diretoria de Gera??o e Transmiss?o > Companhia Energ?tica de Minas Gerais ? Cemig > Telefone: 55 (31) 3506-4602 > Email: biracruz at cemig.com.br > www.cemig.com.br > Descri??o: cid:image002.jpg at 01CD973D.26DD29C0 > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 775 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.jpg Type: image/jpeg Size: 18823 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 7672 bytes Desc: not available URL: From klaus-rohe at t-online.de Sun Jun 9 15:34:06 2013 From: klaus-rohe at t-online.de (Klaus Rohe) Date: Sun, 9 Jun 2013 15:34:06 +0200 Subject: [Scilab-users] Scidb 0.1.1-1 does not work for Sqlite Message-ID: <000001ce6516$03964a30$0ac2de90$@t-online.de> Hi all, I have installed Scidb 0.1.1-1. For Scilab 5.4.1 on Windows 7 32 bit. It does not work. The Dbconnect function returns null pointer and no error message is generated. Are there any hints how to fix this problem? Kind regards Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: From rei.listas at yahoo.com Sun Jun 9 17:51:18 2013 From: rei.listas at yahoo.com (Reinaldo) Date: Sun, 9 Jun 2013 08:51:18 -0700 (PDT) Subject: [Scilab-users] Scilab 5.4.1 for MAC OX 10.8.4 and XCode 4.6.2 In-Reply-To: <000001ce6516$03964a30$0ac2de90$@t-online.de> References: <000001ce6516$03964a30$0ac2de90$@t-online.de> Message-ID: <1370793078.50575.YahooMailNeo@web121603.mail.ne1.yahoo.com> Hi all Scilab users, I have a problem in Scilab 5.4.1 when I want to run "Scilab demonstration examples", in particular, Xcos -> Electrical System -> RCL circuit. Seems the problem refers to C++ compile. When I run this RCL circuit file, the error message shows: << Initiating ...: ? loading the environment ... ?--------------------------------------------\ ?Main Modelica : /private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_im.mo ?Flat Modelica : /private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_imf.mo ?Simulation C code :/private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_im.c ? ?Generating a load file ? ?Generating a Makefile ? ?ilib_gen_Make: Configurar: Generating Makefile. Detection of C/C++/Fortran Compilers? checking for a BSD-compatible install... /usr/bin/install -c? checking whether build environment is sane... yes? checking for a thread-safe mkdir -p... ./install-sh -c -d? checking for gawk... no? checking for mawk... no? checking for nawk... no? checking for awk... awk? checking whether make sets $(MAKE)... no? checking whether to enable maintainer-specific portions of Makefiles... no? checking for gcc... no? checking for cc... no? checking for cl.exe... no? ? !sorry compiling problem ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?! ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! !ilib_gen_Make: happened an error to detect the compilers. Define ilib_verbose(2) for more information. ?! c_pass1: build the modelica meta-block failed? ? ?xcos_simulate: error during the actualization of parameters block. ?? >> So, I do not know if the problem is my Xcode (this is the newest version) or this Scilab version under MAC OX 10.8.4. Before I had MAC OX 10.7.x and Xcode 4.6.1 and I installed MinGW and everything was alright. No problem.? I do not know if MAC OX 10.8.x?changed some operational files structure and this failed the C++ Scilab demonstration files to run.? It is interesting to know that I could not install MinGW in this Scilab version. I tried to install it, but it failed. Thank you in advance. All best, Reinaldo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Mon Jun 10 09:15:24 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 10 Jun 2013 09:15:24 +0200 Subject: [Scilab-users] Problems with plot 3d. Function fplot3d In-Reply-To: <92E9CC19835EFD4DA26E4603342545826F4A80E0@SA-CORP-EMCL5.cemig.ad.corp> References: <92E9CC19835EFD4DA26E4603342545826F4A80E0@SA-CORP-EMCL5.cemig.ad.corp> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31D8C53D6@301EX00100.sidel.com> Hello, De la part de Ubirajara Marques da Cruz Envoy? : vendredi 7 juin 2013 22:47 > deff('z=f(x,y)','z=( (1-exp(-5*x))-y)^(1/3)') If you want the real 3rd roots , you should use nthroot() // ********** deff("z=f(x,y)","z= nthroot((1-exp(-5*x))-y, 3)") // ********** But the calculation is much longer... Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From bruno.jofret at scilab-enterprises.com Mon Jun 10 12:03:07 2013 From: bruno.jofret at scilab-enterprises.com (Bruno JOFRET) Date: Mon, 10 Jun 2013 12:03:07 +0200 Subject: [Scilab-users] Scilab 5.4.1 for MAC OX 10.8.4 and XCode 4.6.2 In-Reply-To: <1370793078.50575.YahooMailNeo@web121603.mail.ne1.yahoo.com> References: <000001ce6516$03964a30$0ac2de90$@t-online.de> <1370793078.50575.YahooMailNeo@web121603.mail.ne1.yahoo.com> Message-ID: <51B5A45B.8040105@scilab-enterprises.com> Hi, It works fine on my MacBook Pro (same config as yours). It seems Scilab is unable to find gcc compiler. There is an additionnal "Component" to install in XCode > 4.6 to allow command line compilation. Open XCode then go to Preferences. Select "Downloads" then "Components", and install "Commande Line Tools" This may fix your troubble. Let me know if not. Regards, On 06/09/2013 05:51 PM, Reinaldo wrote: > > Hi all Scilab users, > > I have a problem in Scilab 5.4.1 when I want to run "Scilab > demonstration examples", in particular, > Xcos -> Electrical System -> RCL circuit. > > Seems the problem refers to C++ compile. > > When I run this RCL circuit file, the error message shows: > > << > Initiating ...: > loading the environment ... > --------------------------------------------\ > Main Modelica : > /private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_im.mo > > Flat Modelica : > /private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_imf.mo > Simulation C code > :/private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_im.c > Generating a load file > Generating a Makefile > ilib_gen_Make: Configurar: Generating Makefile. > Detection of C/C++/Fortran Compilers > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... ./install-sh -c -d > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... no > checking whether to enable maintainer-specific portions of > Makefiles... no > checking for gcc... no > checking for cc... no > checking for cl.exe... no > !sorry compiling problem ! > ! ! > !ilib_gen_Make: happened an error to detect the compilers. Define > ilib_verbose(2) for more information. ! > c_pass1: build the modelica meta-block failed > xcos_simulate: error during the actualization of parameters block. > > >> > > So, I do not know if the problem is my Xcode (this is the newest > version) or this Scilab version under MAC OX 10.8.4. > > Before I had MAC OX 10.7.x and Xcode 4.6.1 and I installed MinGW and > everything was alright. No problem. > > I do not know if MAC OX 10.8.x changed some operational files > structure and this failed the C++ Scilab demonstration files to run. > It is interesting to know that I could not install MinGW in this > Scilab version. I tried to install it, but it failed. > > Thank you in advance. > > All best, > Reinaldo. > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Bruno JOFRET Software Architect Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Mon Jun 10 15:06:07 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Mon, 10 Jun 2013 15:06:07 +0200 Subject: [Scilab-users] Several problems with mfile2sci Message-ID: <9378_1370869679_51B5CFAF_9378_18219_1_8F1D40232A0E68409E3FC23A30C32662016790B349CF@THSONEA01CMS04P.one.grp> Hello, I list here several problems I have met during conversion of M-files with mfile2sci: - Matlab functions reshape and speye are non converted, and generate errors. - The handle for functions @(MyFunctionName) is not recognized: the @( MyFunctionName is surrounded by quotes and causes error 276 - sprintf(Whatever) should convert into the same line. Instead a % is inserted in front of sprintf and the resulting code is not executable. - Structures are not converted. - Several functions defined in a single M-file are not accepted. - For array initialisation, TABs are not accepted to separate values in a row (only spaces and/or comma are recognized as valid separators; TABs generate errors). This is a nice feature of Matlab, as it allows one to obtain a clear layout of the array with respect of column presentation. I suggest to include it also in Scilab. I did not yet prepare a piece of code to reproduce each one of the problems above; I'll be happy to do it when necessary. Thank you for your comments, etc. Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Mon Jun 10 15:48:50 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 10 Jun 2013 15:48:50 +0200 Subject: [Scilab-users] Scilab 5.4.1 - Segmentation fault In-Reply-To: <51ADB5E5.8000405@laas.fr> References: <1370192137619-4026756.post@n3.nabble.com> <51AC26E2.8090907@laas.fr> <1370246171610-4026759.post@n3.nabble.com> <51AC4D47.6070105@scilab-enterprises.com> <51ADABDC.6000009@laas.fr> <51ADACC5.8090803@scilab-enterprises.com> <51ADB5E5.8000405@laas.fr> Message-ID: <51B5D942.5000900@scilab-enterprises.com> >> You would like something like: >> " !--error 42 >> Oups. A fatal error has been detected by Scilab. >> If you are using a graphic feature, this might be caused by your >> system graphic drivers. >> Please try to update them and try again. >> Your instance will probably crash soon. >> Please report a bug on http://bugzilla.scilab.org/ with: >> * a sample code which reproduces the issue >> >> " >> >> ? > Yes! > It might make it easier for the new users to find what's wrong. It has been implemented and merged: https://codereview.scilab.org/#/c/11648/ It will be available in 5.5.0. Thanks again for the suggestion, Sylvestre From rfabbri at gmail.com Tue Jun 11 12:59:42 2013 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Tue, 11 Jun 2013 07:59:42 -0300 Subject: [Scilab-users] OS X Nightly build In-Reply-To: References: <516A5DE4.7050201@scilab-enterprises.com> Message-ID: Hello, I was able to build Scilab master branch successfully in Moutain Lion 10.8.3. However, it does not launch, just like the nightly builds. When I'm at the src/scilab/scilab directory and type "bin/scilab" I get the message on the console: rfabbri at Ricardos-MacBook-Pro:~/src/scilab/scilab$ ./bin/scilab /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home Error checking symlink for the target jvm. And Scilab just keeps bouncing. At least we now know this is not an issue with your packaging system, as it happens with a fresh compile as well. This is blocking me from using scilab in my OS X. Best. -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Tue, May 21, 2013 at 2:04 PM, Ricardo Fabbri wrote: > Hi, > > still having issues here. Both Scilab 5.4.1 and nightly build 5-1.4.1.dmg > (master) fail to run on my computer with the latest Mountain Lion. > > Best, > > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Thu, Apr 25, 2013 at 12:32 AM, Ricardo Fabbri wrote: > >> Same thing happens with the official 5.4.1 dmg >> >> Running OSX 10.8.3, jdk 6 >> >> best, >> >> >> -- >> Dr Ricardo Fabbri >> Professor of Computer Engineering >> GNU/Linux registered user #175401 >> www.lems.brown.edu/~rfabbri >> pt.wikipedia.org/wiki/IPRJ >> labmacambira.sf.net >> >> >> On Sun, Apr 14, 2013 at 4:42 AM, Sylvestre Ledru < >> sylvestre.ledru at scilab-enterprises.com> wrote: >> >>> On 14/04/2013 01:45, Michael Dunn wrote: >>> > I just DL'd the latest OS X nightly build, dated April 5: >>> > >>> > scilab-master-1365151558.app >>> > >>> > >>> > When I try to start it, the dock icon bounces once, then, nothing. I >>> > also tried running from the .dmg. Nothing. I was hoping it contained >>> the >>> > fix for my CSV read problem? >>> Yes, we started a new development cycle (Scilab 5.5), we took the >>> liberty to change some elements in the packaging of the application, >>> causing the compilation chain to fail. It is why the nightly builds have >>> not been published recently. >>> >>> They should be back soon (maybe next week). >>> >>> Sylvestre >>> >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Tue Jun 11 13:05:37 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 11 Jun 2013 13:05:37 +0200 Subject: [Scilab-users] OS X Nightly build In-Reply-To: References: <516A5DE4.7050201@scilab-enterprises.com> Message-ID: <51B70481.5080802@scilab-enterprises.com> Ricardo, This question would be better on the dev mailing list. Thanks, Sylvestre On 11/06/2013 12:59, Ricardo Fabbri wrote: > Hello, > > I was able to build Scilab master branch successfully in Moutain Lion > 10.8.3. However, it does not launch, just like the nightly builds. When > I'm at the src/scilab/scilab directory and type "bin/scilab" I get the > message on the console: > > rfabbri at Ricardos-MacBook-Pro:~/src/scilab/scilab$ ./bin/scilab > /Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home > Error checking symlink for the target jvm. > > And Scilab just keeps bouncing. > > At least we now know this is not an issue with your packaging system, as > it happens with a fresh compile as well. > > This is blocking me from using scilab in my OS X. > > > Best. > > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Tue, May 21, 2013 at 2:04 PM, Ricardo Fabbri > wrote: > > Hi, > > still having issues here. Both Scilab 5.4.1 and nightly build > 5-1.4.1.dmg (master) fail to run on my computer with the latest > Mountain Lion. > > Best, > > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Thu, Apr 25, 2013 at 12:32 AM, Ricardo Fabbri > wrote: > > Same thing happens with the official 5.4.1 dmg > > Running OSX 10.8.3, jdk 6 > > best, > > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Sun, Apr 14, 2013 at 4:42 AM, Sylvestre Ledru > > wrote: > > On 14/04/2013 01:45, Michael Dunn wrote: > > I just DL'd the latest OS X nightly build, dated April 5: > > > > scilab-master-1365151558.app > > > > > > When I try to start it, the dock icon bounces once, then, > nothing. I > > also tried running from the .dmg. Nothing. I was hoping it > contained the > > fix for my CSV read problem? > Yes, we started a new development cycle (Scilab 5.5), we > took the > liberty to change some elements in the packaging of the > application, > causing the compilation chain to fail. It is why the nightly > builds have > not been published recently. > > They should be back soon (maybe next week). > > Sylvestre > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From surenderkumar1987 at gmail.com Tue Jun 11 23:02:12 2013 From: surenderkumar1987 at gmail.com (surender_kumar) Date: Tue, 11 Jun 2013 14:02:12 -0700 (PDT) Subject: [Scilab-users] Needs help with surface plot & colormap Message-ID: <1370984532246-4026829.post@n3.nabble.com> Dear Scilab Users, I have three MxN matrices A,B and C. A and B together form a 2D grid over which C is plotted. First I want to a surface plot and then the colormap (very specific colormap). I can get a surface plot very easily (using scilab documentation) by surf(A,B,C) For the second part, I look up the scilab documentation and found many colormap related functions but I am not able to figure out which one to choose, so please help me. This is what I want to do with these A,B and C The values/elements of C are either very large or very small and I would like to do a colormap in such a way that the highest C value is most intense (say deep blue) while the lower values become more and more weaker..... finally the lowest C value having no color at all. Sample Data (Just to illustrate) A B C Value Color Intensity (%) (Blue Color) 0.5 0.5 10 100 0.4 0.4 9 90 0.3 0.3 8 80 0.2 0.2 7 70 0.1 0.1 6 60 0.0 0.0 5 50 -0.1 -0.1 4 40 -0.2 -0.2 3 30 -0.3 -0.3 2 20 -0.3 -0.3 1 10 -0.4 -0.4 0 5 -0.5 -0.5 -1 0 One more thing is there a way to join all the C values corresponding to 100% intensity? Thanks Surender -- View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sdr at durietz.se Wed Jun 12 11:29:57 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Wed, 12 Jun 2013 11:29:57 +0200 Subject: [Scilab-users] Vector from tlist? Message-ID: <51B83F95.4010806@durietz.se> Hello, is it possible to extract elements (of the same type) from a list into a vector without use of a loop? Regards Stefan From paul.carrico at esterline.com Wed Jun 12 11:33:34 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Wed, 12 Jun 2013 11:33:34 +0200 Subject: [Scilab-users] Vector from tlist? In-Reply-To: <51B83F95.4010806@durietz.se> References: <51B83F95.4010806@durietz.se> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD69@exchsrv.auxitrol.ad> The example hereafter is what you are expecting ? ############################## A = rand(10,1) index=find(A >= 0.5) C=A(index) Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Stefan Du Rietz Envoy? : mercredi 12 juin 2013 11:30 ? : [scilab-Users] Objet : [Scilab-users] Vector from tlist? Hello, is it possible to extract elements (of the same type) from a list into a vector without use of a loop? Regards Stefan _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- 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 sdr at durietz.se Wed Jun 12 11:45:45 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Wed, 12 Jun 2013 11:45:45 +0200 Subject: [Scilab-users] Vector from tlist? In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD69@exchsrv.auxitrol.ad> References: <51B83F95.4010806@durietz.se> <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD69@exchsrv.auxitrol.ad> Message-ID: <51B84349.5080600@durietz.se> No, I have a tlist with elements 2:$ of the same type (graphic handles) and I want them in a vector. Stefan On 2013-06-12 11:33, Carrico, Paul wrote: -------------------- > The example hereafter is what you are expecting ? > > ############################## > A = rand(10,1) > index=find(A >= 0.5) > C=A(index) > > > Paul > > -----Message d'origine----- > De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Stefan Du Rietz > Envoy? : mercredi 12 juin 2013 11:30 > ? : [scilab-Users] > Objet : [Scilab-users] Vector from tlist? > > Hello, > is it possible to extract elements (of the same type) from a list into > a vector without use of a loop? > > Regards > Stefan > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------------------------------------------------------------------------- > > > 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. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From Serge.Steer at inria.fr Wed Jun 12 13:55:20 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 12 Jun 2013 13:55:20 +0200 Subject: [Scilab-users] Vector from tlist? In-Reply-To: <51B84349.5080600@durietz.se> References: <51B83F95.4010806@durietz.se> <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD69@exchsrv.auxitrol.ad> <51B84349.5080600@durietz.se> Message-ID: <51B861A8.5010907@inria.fr> You can look at list2vec, but it only work with list not tlist Serge Le 12/06/2013 11:45, Stefan Du Rietz a ?crit : > No, I have a tlist with elements 2:$ of the same type (graphic > handles) and I want them in a vector. > > Stefan > > On 2013-06-12 11:33, Carrico, Paul wrote: > -------------------- >> The example hereafter is what you are expecting ? >> >> ############################## >> A = rand(10,1) >> index=find(A >= 0.5) >> C=A(index) >> >> >> Paul >> >> -----Message d'origine----- >> De : users-bounces at lists.scilab.org >> [mailto:users-bounces at lists.scilab.org] De la part de Stefan Du Rietz >> Envoy? : mercredi 12 juin 2013 11:30 >> ? : [scilab-Users] >> Objet : [Scilab-users] Vector from tlist? >> >> Hello, >> is it possible to extract elements (of the same type) from a list into >> a vector without use of a loop? >> >> Regards >> Stefan >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> -------------------------------------------------------------------------------- >> >> >> >> 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. >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From simon.mayr at gmail.com Wed Jun 12 15:09:44 2013 From: simon.mayr at gmail.com (simi99) Date: Wed, 12 Jun 2013 06:09:44 -0700 (PDT) Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot Message-ID: <1371042584322-4026837.post@n3.nabble.com> Hello, I have a question concerning figure plotting in scilab. I want to create a figure with two subplots. Every subplot should contain two y-axes (left and right). So far so good. My code generates the first subplot with the two y-axes. The problem occurs adding the second subplot. Executing "subplot(2,1,2) deletes the second y-axis from subplot(2,1,1). Any idea? Thanks in advance! Kind regards, Simon ---------------------- Code without the second subplot: // Test-Syntax // Plot t = 0:0.001:0.1; x = sin(2*%pi*50*t); y = cos(2*%pi*50*t); clf() subplot(2,1,1) plot(t,x,"b") grid on hold on xlabel("time") ylabel("Sinus") title("tstSyntax - Plotting Styles","fontsize",5) // Titel-Beschriftung mit Schriftgr??e 5 a = gca(); // Get Current Axes (gca) a.y_location = "left"; // y-Achse links a.filled = "on"; // Axes Background = Off a.axes_visible = ["on","on","on"]; //Axes sichtbar a.font_size = 3; // Schriftgr??e Achsenbeschriftung b = newaxes(); // zus?tzliche Achse erstellen b.y_location = "right"; // y-Achse rechts b.filled = "off"; b.axes_visible = ["off","on","on"]; b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot begrenzen b.y_label.text = "Cosinus"; // Achsenbeschriftung (nur bei Achsen die mit newaxes() erstellt wurden) b.font_size = a.font_size; hold on; plot(t,y,"g") //subplot(2,1,2) //plot(t,x.*y,"b") //grid on //hold on //xlabel("time") //ylabel("x*y") //a = gca(); // Get Current Axes (gca) //a.y_location = "left"; // y-Achse links //a.filled = "on"; // Axes Background = Off //a.axes_visible = ["on","on","on"]; //Axes sichtbar //a.font_size = 3; // Schriftgr??e Achsenbeschriftung //b = newaxes(); // zus?tzliche Achse erstellen //b.y_location = "right"; // y-Achse rechts //b.filled = "off"; //b.axes_visible = ["off","on","on"]; //b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot begrenzen //b.y_label.text = "x+y"; // Achsenbeschriftung (nur bei Achsen die mit newaxes() erstellt wurden) //b.font_size = a.font_size; //hold on; //plot(t,x+y,"g") ---------------------- Code with the second subplot: // Test-Syntax // Plot t = 0:0.001:0.1; x = sin(2*%pi*50*t); y = cos(2*%pi*50*t); clf() subplot(2,1,1) plot(t,x,"b") grid on hold on xlabel("time") ylabel("Sinus") title("tstSyntax - Plotting Styles","fontsize",5) // Titel-Beschriftung mit Schriftgr??e 5 a = gca(); // Get Current Axes (gca) a.y_location = "left"; // y-Achse links a.filled = "on"; // Axes Background = Off a.axes_visible = ["on","on","on"]; //Axes sichtbar a.font_size = 3; // Schriftgr??e Achsenbeschriftung b = newaxes(); // zus?tzliche Achse erstellen b.y_location = "right"; // y-Achse rechts b.filled = "off"; b.axes_visible = ["off","on","on"]; b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot begrenzen b.y_label.text = "Cosinus"; // Achsenbeschriftung (nur bei Achsen die mit newaxes() erstellt wurden) b.font_size = a.font_size; hold on; plot(t,y,"g") subplot(2,1,2) plot(t,x.*y,"b") grid on hold on xlabel("time") ylabel("x*y") a = gca(); // Get Current Axes (gca) a.y_location = "left"; // y-Achse links a.filled = "on"; // Axes Background = Off a.axes_visible = ["on","on","on"]; //Axes sichtbar a.font_size = 3; // Schriftgr??e Achsenbeschriftung b = newaxes(); // zus?tzliche Achse erstellen b.y_location = "right"; // y-Achse rechts b.filled = "off"; b.axes_visible = ["off","on","on"]; b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot begrenzen b.y_label.text = "x+y"; // Achsenbeschriftung (nur bei Achsen die mit newaxes() erstellt wurden) b.font_size = a.font_size; hold on; plot(t,x+y,"g") -- View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sdr at durietz.se Wed Jun 12 15:19:57 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Wed, 12 Jun 2013 15:19:57 +0200 Subject: [Scilab-users] Vector from tlist? In-Reply-To: <51B861A8.5010907@inria.fr> References: <51B83F95.4010806@durietz.se> <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD69@exchsrv.auxitrol.ad> <51B84349.5080600@durietz.se> <51B861A8.5010907@inria.fr> Message-ID: <51B8757D.1020009@durietz.se> Thank you Serge, but list2vec uses a loop. In my simple case, this is perhaps better: // get an ordinary list by removing the first element: handles_list = handles_tlist; handles_list(1) = null(); handles_vec = []; // put one handle at a time in the vector for h = handles_list handles_vec = [handles_vec; h]; end // If I want to delete all handles in the list, I can then do: delete(handles_vec) But if I anyhow have to use a loop (and don't need the list any more), I can do it like this (where handles_list is the tlist): handles_list(1) = null(); for h = handles_list delete(h) end Which solution is faster? Stefan On 2013-06-12 13:55, Serge Steer wrote: -------------------- > You can look at list2vec, but it only work with list not tlist > > Serge > Le 12/06/2013 11:45, Stefan Du Rietz a ?crit : >> No, I have a tlist with elements 2:$ of the same type (graphic >> handles) and I want them in a vector. >> >> Stefan >> >> On 2013-06-12 11:33, Carrico, Paul wrote: >> -------------------- >>> The example hereafter is what you are expecting ? >>> >>> ############################## >>> A = rand(10,1) >>> index=find(A >= 0.5) >>> C=A(index) >>> >>> >>> Paul >>> >>> -----Message d'origine----- >>> De : users-bounces at lists.scilab.org >>> [mailto:users-bounces at lists.scilab.org] De la part de Stefan Du Rietz >>> Envoy? : mercredi 12 juin 2013 11:30 >>> ? : [scilab-Users] >>> Objet : [Scilab-users] Vector from tlist? >>> >>> Hello, >>> is it possible to extract elements (of the same type) from a list into >>> a vector without use of a loop? >>> >>> Regards >>> Stefan >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> -------------------------------------------------------------------------------- >>> >>> >>> >>> 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. >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > From Christophe.Dang at sidel.com Wed Jun 12 17:26:51 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 12 Jun 2013 17:26:51 +0200 Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <1370984532246-4026829.post@n3.nabble.com> References: <1370984532246-4026829.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> Hello, De la part de surender_kumar Envoy? : mardi 11 juin 2013 23:02 > I would like to do a > colormap in such a way that the highest C value is most intense > (say deep blue) while the lower values become more and more > weaker..... finally the lowest C value having no color at all. Well, the colormap is just a RGB matrix, the R, G and B components ranging from 0 to 1. So, deep blue is [0 0 1], what is "colorless" for you? White -> [1 1 1] Black -> [0 0 0] The *colormap (autumncolormap, coolcolormap, etc) instructions just create matrices. You can build your own colormap. The simplest way for you is to start from a graycolormap, and force the last column to 1 for blue->white: // ********** grayplot() cmap = graycolormap(32); cmap(:, 3) = 1; xset("colormap", cmap) // ********** or force the two first columns to 0 for blue->black // ********** grayplot() cmap = graycolormap(32); cmap(:, 1:2) = 0; xset("colormap", cmap) // ********** "grayplot()" is just here to generate en example picture. "32" is the number of levels, you can set any value. Hope this helps -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From serge.steer at inria.fr Wed Jun 12 20:50:25 2013 From: serge.steer at inria.fr (Serge Steer) Date: Wed, 12 Jun 2013 20:50:25 +0200 (CEST) Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <1371042584322-4026837.post@n3.nabble.com> Message-ID: <412999708.6642311.1371063025692.JavaMail.root@inria.fr> pease find below a simplified script which behave as expected t = 0:0.001:0.1; x = sin(2*%pi*50*t); y = cos(2*%pi*50*t); clf() subplot(2,1,1) plot(t,x,"b") a=gca(); b = newaxes(); b.y_location = "right"; b.filled = "off"; b.axes_visible = ["off","on","on"]; b.axes_bounds = a.axes_bounds; b.font_size = a.font_size; plot(t,y,"g") subplot(2,1,2) plot(t,x.*y,"b") a=gca(); b = newaxes(); b.y_location = "right"; b.filled = "off"; b.axes_visible = ["off","on","on"]; b.axes_bounds = a.axes_bounds; plot(t,x+y,"g") ----- Mail original ----- > De: "simi99" > ?: users at lists.scilab.org > Envoy?: Mercredi 12 Juin 2013 15:09:44 > Objet: [Scilab-users] figure with several subplots and two y-axes for each subplot > > Hello, > I have a question concerning figure plotting in scilab. I want to > create a > figure with two subplots. Every subplot should contain two y-axes > (left and > right). > So far so good. My code generates the first subplot with the two > y-axes. The > problem occurs adding the second subplot. Executing "subplot(2,1,2) > deletes > the second y-axis from subplot(2,1,1). Any idea? Thanks in advance! > Kind regards, > Simon > > ---------------------- > Code without the second subplot: > // Test-Syntax > // Plot > > t = 0:0.001:0.1; > x = sin(2*%pi*50*t); > y = cos(2*%pi*50*t); > > clf() > > subplot(2,1,1) > plot(t,x,"b") > grid on > hold on > xlabel("time") > ylabel("Sinus") > title("tstSyntax - Plotting Styles","fontsize",5) // > Titel-Beschriftung mit > Schriftgr??e 5 > a = gca(); // Get Current Axes (gca) > a.y_location = "left"; // y-Achse links > a.filled = "on"; // Axes Background = Off > a.axes_visible = ["on","on","on"]; //Axes sichtbar > a.font_size = 3; // Schriftgr??e Achsenbeschriftung > b = newaxes(); // zus?tzliche Achse erstellen > b.y_location = "right"; // y-Achse rechts > b.filled = "off"; > b.axes_visible = ["off","on","on"]; > b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot > begrenzen > b.y_label.text = "Cosinus"; // Achsenbeschriftung (nur bei Achsen die > mit > newaxes() erstellt wurden) > b.font_size = a.font_size; > hold on; > plot(t,y,"g") > > //subplot(2,1,2) > //plot(t,x.*y,"b") > //grid on > //hold on > //xlabel("time") > //ylabel("x*y") > //a = gca(); // Get Current Axes (gca) > //a.y_location = "left"; // y-Achse links > //a.filled = "on"; // Axes Background = Off > //a.axes_visible = ["on","on","on"]; //Axes sichtbar > //a.font_size = 3; // Schriftgr??e Achsenbeschriftung > //b = newaxes(); // zus?tzliche Achse erstellen > //b.y_location = "right"; // y-Achse rechts > //b.filled = "off"; > //b.axes_visible = ["off","on","on"]; > //b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot > begrenzen > //b.y_label.text = "x+y"; // Achsenbeschriftung (nur bei Achsen die > mit > newaxes() erstellt wurden) > //b.font_size = a.font_size; > //hold on; > //plot(t,x+y,"g") > > > ---------------------- > Code with the second subplot: > > // Test-Syntax > // Plot > > t = 0:0.001:0.1; > x = sin(2*%pi*50*t); > y = cos(2*%pi*50*t); > > clf() > > subplot(2,1,1) > plot(t,x,"b") > grid on > hold on > xlabel("time") > ylabel("Sinus") > title("tstSyntax - Plotting Styles","fontsize",5) // > Titel-Beschriftung mit > Schriftgr??e 5 > a = gca(); // Get Current Axes (gca) > a.y_location = "left"; // y-Achse links > a.filled = "on"; // Axes Background = Off > a.axes_visible = ["on","on","on"]; //Axes sichtbar > a.font_size = 3; // Schriftgr??e Achsenbeschriftung > b = newaxes(); // zus?tzliche Achse erstellen > b.y_location = "right"; // y-Achse rechts > b.filled = "off"; > b.axes_visible = ["off","on","on"]; > b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot > begrenzen > b.y_label.text = "Cosinus"; // Achsenbeschriftung (nur bei Achsen die > mit > newaxes() erstellt wurden) > b.font_size = a.font_size; > hold on; > plot(t,y,"g") > > subplot(2,1,2) > plot(t,x.*y,"b") > grid on > hold on > xlabel("time") > ylabel("x*y") > a = gca(); // Get Current Axes (gca) > a.y_location = "left"; // y-Achse links > a.filled = "on"; // Axes Background = Off > a.axes_visible = ["on","on","on"]; //Axes sichtbar > a.font_size = 3; // Schriftgr??e Achsenbeschriftung > b = newaxes(); // zus?tzliche Achse erstellen > b.y_location = "right"; // y-Achse rechts > b.filled = "off"; > b.axes_visible = ["off","on","on"]; > b.axes_bounds = a.axes_bounds; // neue Achse auf ersten Subplot > begrenzen > b.y_label.text = "x+y"; // Achsenbeschriftung (nur bei Achsen die mit > newaxes() erstellt wurden) > b.font_size = a.font_size; > hold on; > plot(t,x+y,"g") > > > > > -- > View this message in context: > http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From simon.mayr at gmail.com Thu Jun 13 09:53:57 2013 From: simon.mayr at gmail.com (simi99) Date: Thu, 13 Jun 2013 00:53:57 -0700 (PDT) Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <412999708.6642311.1371063025692.JavaMail.root@inria.fr> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> Message-ID: <1371110037321-4026843.post@n3.nabble.com> Executing the simplified code ("hold on" added to see both curves) leads to the malfunction as mentioned above. As you can see, there is no second y-axis (right-side) in the upper subplot. For clarity, see picture in appendix! -- View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026843.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From denis.crete at thalesgroup.com Thu Jun 13 10:01:56 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Thu, 13 Jun 2013 10:01:56 +0200 Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <1371110037321-4026843.post@n3.nabble.com> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> Message-ID: <7829_1371110518_51B97C76_7829_9145_1_8F1D40232A0E68409E3FC23A30C32662016790C9F5C2@THSONEA01CMS04P.one.grp> I get two y-axes on both subplots (on Scilab 5.4.1, Windows XP; with plot function AND with plot2d function...) Denis -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de simi99 Envoy??: jeudi 13 juin 2013 09:54 ??: users at lists.scilab.org Objet?: Re: [Scilab-users] figure with several subplots and two y-axes for each subplot Executing the simplified code ("hold on" added to see both curves) leads to the malfunction as mentioned above. As you can see, there is no second y-axis (right-side) in the upper subplot. For clarity, see picture in appendix! -- View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026843.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From Serge.Steer at inria.fr Thu Jun 13 15:20:21 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Thu, 13 Jun 2013 15:20:21 +0200 Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <1371110037321-4026843.post@n3.nabble.com> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> Message-ID: <51B9C715.8020406@inria.fr> Le 13/06/2013 09:53, simi99 a ?crit : > Executing the simplified code ("hold on" added to see both curves) There is hold function with Scilab, by defaut the curves superimpose automatically The bad result is probably due to the error send by the calll to hold which abort execution of the current isntruction > leads to > the malfunction as mentioned above. As you can see, there is no second > y-axis (right-side) in the upper subplot. For clarity, see picture in > appendix! > > > > > -- > View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026843.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From sdr at durietz.se Thu Jun 13 15:51:50 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Thu, 13 Jun 2013 15:51:50 +0200 Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <51B9C715.8020406@inria.fr> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> <51B9C715.8020406@inria.fr> Message-ID: <51B9CE76.1020500@durietz.se> Besides, you can see in the lower subplot that the tick-marks on the right axis are longer due to (a bug in?) newaxis(). Stefan On 2013-06-13 15:20, Serge Steer wrote: -------------------- > Le 13/06/2013 09:53, simi99 a ?crit : >> Executing the simplified code ("hold on" added to see both curves) > There is hold function with Scilab, by defaut the curves superimpose > automatically > The bad result is probably due to the error send by the calll to hold > which abort execution of the current isntruction > > > >> leads to >> the malfunction as mentioned above. As you can see, there is no second >> y-axis (right-side) in the upper subplot. For clarity, see picture in >> appendix! >> >> >> >> >> -- >> View this message in context: >> http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026843.html >> >> Sent from the Scilab users - Mailing Lists Archives mailing list >> archive at Nabble.com. >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From Jonathan.Schwehm at etogas.com Thu Jun 13 17:00:02 2013 From: Jonathan.Schwehm at etogas.com (Jonathan Schwehm) Date: Thu, 13 Jun 2013 15:00:02 +0000 Subject: [Scilab-users] dassl Errors Message-ID: <028e8e8b67f6497a8f077c4c91b61122@AMXPR07MB039.eurprd07.prod.outlook.com> Hello, I am currently trying to program a dynamic model of an electrolyzer ( lots of physical equations), by using the dassl solver. I implemented a lot of euqations in my res function and now I am stuck on the Error -8 -->Singularity. Is there a common way to further debug that problem and find a fix around that? Mit freundlichen Gr??en / Kind regards, ________________________________ Jonathan Schwehm B.Eng Fon: +49 711 229645 51 Fax: +49 711 229645 99 Email: jonathan.schwehm at etogas.com [ETOGAS Image] http://www.etogas.com ETOGAS GmbH Achtung: SolarFuel GmbH hei?t jetzt ETOGAS GmbH. Bitte beachten Sie unsere neuen e-mail-Adressen und unsere neue Internetadresse. Dar?ber hinaus ?ndern sich keine Kontaktdaten. Industriestra?e 6, D-70565 Stuttgart Gesch?ftsf?hrung: Dipl.-Ing. Gregor Waldstein, MBA | Dipl.-Ing. Dr. oec. HSG Karl Maria Gr?nauer Registergericht: Amtsgericht Stuttgart Handelsregister Nr.: HRB 733792 Steuernummer: 99065/08453 ________________________________ USt-IdNr.: DE 27 216 66 37 Commerzbank AG, BLZ 600 800 00, KontoNr. 0902 1048 00 BIC: DRES DE FF 600, IBAN: DE78 6008 0000 0902 1048 00 ________________________________ D-U-N-S? Nummer: 341629227 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.jofret at scilab-enterprises.com Fri Jun 14 08:35:44 2013 From: bruno.jofret at scilab-enterprises.com (Bruno JOFRET) Date: Fri, 14 Jun 2013 08:35:44 +0200 Subject: [Scilab-users] Scilab 5.4.1 for MAC OX 10.8.4 and XCode 4.6.2 In-Reply-To: <1371174473.24772.YahooMailNeo@web121603.mail.ne1.yahoo.com> References: <000001ce6516$03964a30$0ac2de90$@t-online.de> <1370793078.50575.YahooMailNeo@web121603.mail.ne1.yahoo.com> <51B5A45B.8040105@scilab-enterprises.com> <1371174473.24772.YahooMailNeo@web121603.mail.ne1.yahoo.com> Message-ID: <51BAB9C0.5000201@scilab-enterprises.com> Hi, Scilab just remember the layout you work with through the docking system (ability to put windows side by side). If you want the default layout back you can change it through preferences : Edit -> Preferences -> General -> Desktop Layout then choose Integrated Regards, On 06/14/2013 03:47 AM, Reinaldo wrote: > Hi Bruno, > > I downloaded "Command Line Tools" and it worked ! Thank you very much. > > Other doubt: I don't know what I did that I changed the display of > Scilab windows. I mean when I installed the > Scilab at first time and opened it the Scilab console appeared a lot > of windows on both sides of Scilab console: variables, paths > etc. However, I didn't know what I clicked that all of those windows > disappeared ! Now only the Scilab console appears. > > I tried to uninstall it and installed again but I kept the last > modification of visual Scilab console. > > Do you know how I could reestablish the Scilab console as the first > time within all the windows at side bar ? > > I don't know if you could understand me. > > Thank you in advance. > > All best, > Reinaldo. > > ------------------------------------------------------------------------ > *De:* Bruno JOFRET > *Para:* Reinaldo ; International users mailing > list for Scilab. > *Cc:* Scilab Developer List ; Sylvestre Ledru > > *Enviadas:* Segunda-feira, 10 de Junho de 2013 7:03 > *Assunto:* Re: [Scilab-users] Scilab 5.4.1 for MAC OX 10.8.4 and XCode > 4.6.2 > > Hi, > > It works fine on my MacBook Pro (same config as yours). > > It seems Scilab is unable to find gcc compiler. > There is an additionnal "Component" to install in XCode > 4.6 to allow > command line compilation. > > Open XCode then go to Preferences. > Select "Downloads" then "Components", and install "Commande Line Tools" > This may fix your troubble. > > Let me know if not. > > Regards, > > On 06/09/2013 05:51 PM, Reinaldo wrote: >> >> Hi all Scilab users, >> >> I have a problem in Scilab 5.4.1 when I want to run "Scilab >> demonstration examples", in particular, >> Xcos -> Electrical System -> RCL circuit. >> >> Seems the problem refers to C++ compile. >> >> When I run this RCL circuit file, the error message shows: >> >> << >> Initiating ...: >> loading the environment ... >> --------------------------------------------\ >> Main Modelica : >> /private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_im.mo >> >> Flat Modelica : >> /private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_imf.mo >> Simulation C code >> :/private/var/folders/2f/h_gm23n545z04r1nxczf1jq80000gn/T/SCI_TMP_2452_qs2CE1/RLC_Modelica_im.c >> Generating a load file >> Generating a Makefile >> ilib_gen_Make: Configurar: Generating Makefile. >> Detection of C/C++/Fortran Compilers >> checking for a BSD-compatible install... /usr/bin/install -c >> checking whether build environment is sane... yes >> checking for a thread-safe mkdir -p... ./install-sh -c -d >> checking for gawk... no >> checking for mawk... no >> checking for nawk... no >> checking for awk... awk >> checking whether make sets $(MAKE)... no >> checking whether to enable maintainer-specific portions of >> Makefiles... no >> checking for gcc... no >> checking for cc... no >> checking for cl.exe... no >> !sorry compiling problem ! >> ! ! >> !ilib_gen_Make: happened an error to detect the compilers. Define >> ilib_verbose(2) for more information. ! >> c_pass1: build the modelica meta-block failed >> xcos_simulate: error during the actualization of parameters block. >> >> >> >> >> So, I do not know if the problem is my Xcode (this is the newest >> version) or this Scilab version under MAC OX 10.8.4. >> >> Before I had MAC OX 10.7.x and Xcode 4.6.1 and I installed MinGW and >> everything was alright. No problem. >> >> I do not know if MAC OX 10.8.x changed some operational files >> structure and this failed the C++ Scilab demonstration files to run. >> It is interesting to know that I could not install MinGW in this >> Scilab version. I tried to install it, but it failed. >> >> Thank you in advance. >> >> All best, >> Reinaldo. >> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > -- > Bruno JOFRET > Software Architect > > Scilab Enterprises > 143bis rue Yves Le Coz - 78000 Versailles, France > Phone: +33.1.80.77.04.70 > http://www.scilab-enterprises.com > > -- Bruno JOFRET Software Architect Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.mayr at gmail.com Fri Jun 14 09:30:17 2013 From: simon.mayr at gmail.com (simi99) Date: Fri, 14 Jun 2013 00:30:17 -0700 (PDT) Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <51B9C715.8020406@inria.fr> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> <51B9C715.8020406@inria.fr> Message-ID: <1371195017218-4026852.post@n3.nabble.com> that's weird. if I run your script (without any change), I get the following result: -- View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026852.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Fri Jun 14 09:55:36 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 14 Jun 2013 09:55:36 +0200 Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <1371195017218-4026852.post@n3.nabble.com> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> <51B9C715.8020406@inria.fr> <1371195017218-4026852.post@n3.nabble.com> Message-ID: <51BACC78.2040402@inria.fr> Strange, look at the figure I get... What version of Scilab are you using? Serge Steer Le 14/06/2013 09:30, simi99 a ?crit : > that's weird. if I run your script (without any change), I get the following > result: > > > > -- > View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026852.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- A non-text attachment was scrubbed... Name: figure.png Type: image/png Size: 9851 bytes Desc: not available URL: From paul.bignier at scilab-enterprises.com Fri Jun 14 10:56:27 2013 From: paul.bignier at scilab-enterprises.com (Paul BIGNIER) Date: Fri, 14 Jun 2013 10:56:27 +0200 Subject: [Scilab-users] dassl Errors In-Reply-To: <028e8e8b67f6497a8f077c4c91b61122@AMXPR07MB039.eurprd07.prod.outlook.com> References: <028e8e8b67f6497a8f077c4c91b61122@AMXPR07MB039.eurprd07.prod.outlook.com> Message-ID: <51BADABB.5010209@scilab-enterprises.com> On 06/13/2013 05:00 PM, Jonathan Schwehm wrote: > > Hello, > > I am currently trying to program a dynamic model of an electrolyzer ( > lots of physical equations), by using the dassl solver. I implemented > a lot of euqations in my res function and now I am stuck on the Error > -8 -->Singularity. > > Is there a common way to further debug that problem and find a fix > around that? > > Mit freundlichen Gr??en / Kind regards, > > ------------------------------------------------------------------------ > > *Jonathan Schwehm* > > B.Eng > > Fon: +49 711 229645 51 > > Fax: +49 711 229645 99 > > Email: jonathan.schwehm at etogas.com > > ETOGAS Image > > http://www.etogas.com > > *ETOGAS GmbH* > > Achtung: SolarFuel GmbH hei?t jetzt ETOGAS GmbH. Bitte beachten Sie > unsere neuen e-mail-Adressen und unsere neue Internetadresse. Dar?ber > hinaus ?ndern sich keine Kontaktdaten. > > Industriestra?e 6, D-70565 Stuttgart > Gesch?ftsf?hrung: Dipl.-Ing. Gregor Waldstein, MBA | Dipl.-Ing. Dr. > oec. HSG Karl Maria Gr?nauer > Registergericht: Amtsgericht Stuttgart > Handelsregister Nr.: HRB 733792 > Steuernummer: 99065/08453 > ------------------------------------------------------------------------ > USt-IdNr.: DE 27 216 66 37 Commerzbank AG, BLZ 600 800 00, KontoNr. > 0902 1048 00 > BIC: DRES DE FF 600, IBAN: DE78 6008 0000 0902 1048 00 > ------------------------------------------------------------------------ > D-U-N-S? Nummer: 341629227 > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Hello Jonathan, have you double-checked your equations ? Or are you certain that there exists a unique solution to your problem ? Error = -8, The matrix of partial derivatives is singular. Some of your equations may be redundant. DDASSL cannot solve the problem as stated. It is possible that the redundant equations could be removed, and then DDASSL could solve the problem. It is also possible that a solution to your problem either does not exist or is not unique. Hope this help, Paul. -- Paul BIGNIER Xcos Developer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.68 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.mayr at gmail.com Fri Jun 14 10:59:05 2013 From: simon.mayr at gmail.com (simi99) Date: Fri, 14 Jun 2013 01:59:05 -0700 (PDT) Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <51BACC78.2040402@inria.fr> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> <51B9C715.8020406@inria.fr> <1371195017218-4026852.post@n3.nabble.com> <51BACC78.2040402@inria.fr> Message-ID: <1371200345183-4026855.post@n3.nabble.com> OS: Windows 7 64bit Scilab: 5.4.1 64bit -- View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026855.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From simon.mayr at gmail.com Fri Jun 14 16:01:17 2013 From: simon.mayr at gmail.com (simi99) Date: Fri, 14 Jun 2013 07:01:17 -0700 (PDT) Subject: [Scilab-users] figure with several subplots and two y-axes for each subplot In-Reply-To: <51B9C715.8020406@inria.fr> References: <1371042584322-4026837.post@n3.nabble.com> <412999708.6642311.1371063025692.JavaMail.root@inria.fr> <1371110037321-4026843.post@n3.nabble.com> <51B9C715.8020406@inria.fr> Message-ID: <1371218477673-4026858.post@n3.nabble.com> executing the same code in scilab using ubuntu 13.04 as OS (virtual machine) does work! -- View this message in context: http://mailinglists.scilab.org/figure-with-several-subplots-and-two-y-axes-for-each-subplot-tp4026837p4026858.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Tangi.Leguennic at zodiacaerospace.com Tue Jun 18 09:50:25 2013 From: Tangi.Leguennic at zodiacaerospace.com (Tangi.Leguennic at zodiacaerospace.com) Date: Tue, 18 Jun 2013 09:50:25 +0200 Subject: [Scilab-users] .txt question Message-ID: Hi, I am an engineer in the aeronautic sector. I use frequently your opensource software. I would like to make a .txt document where I could add some information. I use the print/write_csv/write scilab funtion but I would like to add some text ligne at the top of the document and modify the disposition of my matrix in the .txt. (add some [ ] or { } ) in order to use this file in a C/C++ programm. I don't find some information about this online. Could you help me please? Best Regards, INTERTECHNIQUE logo AIRCRAFT SYSTEMS Tangi Le Guennic R&T - Opto?lectronique 61 Rue Pierre Curie - 78373 PLAISIR - FRANCE Tel: 01 61 34 20 89 Tangi.Leguennic at zodiacaerospace.com http://www.zodiacaerospace.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 1A722495.jpg Type: image/jpeg Size: 4067 bytes Desc: not available URL: From vogt at centre-cired.fr Tue Jun 18 10:56:29 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 18 Jun 2013 10:56:29 +0200 Subject: [Scilab-users] .txt question In-Reply-To: References: Message-ID: <51C020BD.70003@centre-cired.fr> Hi you can use csvWrite(M, filename, separator, decimal, precision, comments) (you can give empty arguments [] if you only want to provide M and filename) more info by typing help csvWrite in the console PS: the output should be easy readable by C, regardless of the numbers of digits actually written for each number On 18/06/2013 09:50, Tangi.Leguennic at zodiacaerospace.com wrote: > > Hi, > > I am an engineer in the aeronautic sector. > I use frequently your opensource software. > I would like to make a .txt document where I could add some information. > I use the print/write_csv/write scilab funtion but I would like to add > some text ligne at the top of the document and modify the disposition > of my matrix in the .txt. (add some [ ] or { } ) in order to use this > file in a C/C++ programm. > I don't find some information about this online. > Could you help me please? > > > *Best Regards,* > > _INTERTECHNIQUE_ > AIRCRAFT SYSTEMS > > > > logo > > *Tangi Le Guennic* > R&T - Opto?lectronique > > 61 Rue Pierre Curie - 78373 PLAISIR - FRANCE > Tel: 01 61 34 20 89 > Tangi.Leguennic at zodiacaerospace.com > > http://www.zodiacaerospace.com > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 4067 bytes Desc: not available URL: From antoine.monmayrant at laas.fr Tue Jun 18 10:59:46 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 18 Jun 2013 10:59:46 +0200 Subject: [Scilab-users] .txt question In-Reply-To: References: Message-ID: <51C02182.9090404@laas.fr> On 18/06/2013 09:50, Tangi.Leguennic at zodiacaerospace.com wrote: > > Hi, > Hi Tangi, You might want to look at: mopen mput mputl mclose to open a file, add text, add lines, and then close. Hope it helps, Antoine > > I am an engineer in the aeronautic sector. > I use frequently your opensource software. > I would like to make a .txt document where I could add some information. > I use the print/write_csv/write scilab funtion but I would like to add > some text ligne at the top of the document and modify the disposition > of my matrix in the .txt. (add some [ ] or { } ) in order to use this > file in a C/C++ programm. > I don't find some information about this online. > Could you help me please? > > > *Best Regards,* > > _INTERTECHNIQUE_ > AIRCRAFT SYSTEMS > > > > logo > > *Tangi Le Guennic* > R&T - Opto?lectronique > > 61 Rue Pierre Curie - 78373 PLAISIR - FRANCE > Tel: 01 61 34 20 89 > Tangi.Leguennic at zodiacaerospace.com > > http://www.zodiacaerospace.com > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 4067 bytes Desc: not available URL: From communication at scilab-enterprises.com Wed Jun 19 08:35:49 2013 From: communication at scilab-enterprises.com (Communication) Date: Wed, 19 Jun 2013 08:35:49 +0200 Subject: [Scilab-users] D-7: ScilabTEC 2013, Wednesday 26 June Message-ID: <51C15145.7080102@scilab-enterprises.com> ScilabTEC 2013 It is still time to register for ScilabTEC, the annual Scilab users day! It is on Wednesday 26 June from 9 A.M. to 5 P.M. at the ?cole Polytechnique in Palaiseau (91), organized within Teratec Forum.* * *With the participation of DGA, ArcelorMittal, Openeering, EDF, SDI, Cnes, CAPS Entreprise, CETE and Sanofi.* * *Open invitation, online registration required: http://www.teratec.eu/gb/forum/inscription.php Complete program online: http://www.scilab.org/en/community/scilabtec/2013 -- SE Communications and Public Relations Department, Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles (France)- http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 34642 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 8210 bytes Desc: not available URL: From nomiya at galaxy.dti.ne.jp Fri Jun 21 09:27:48 2013 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Fri, 21 Jun 2013 16:27:48 +0900 Subject: [Scilab-users] 5.4.1 java error Message-ID: <87txkrhqiz.wl%nomiya@galaxy.dti.ne.jp> Hello, I upgraded openSUSE 12.1 to opwnSUSE 12.3. (Both x86_64) I compiled scilab 5.4.1. I inputted a simple equation with graphic, I got error; [...] Caused by: java.lang.NullPointerException at org.scilab.modules.gui.SwingView$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) What wrong with me, I wonder? Could you inform me of the problem? Thanks, in advance. --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From nomiya at galaxy.dti.ne.jp Fri Jun 21 10:55:30 2013 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Fri, 21 Jun 2013 17:55:30 +0900 Subject: [Scilab-users] 5.4.1 java error In-Reply-To: <87txkrhqiz.wl%nomiya@galaxy.dti.ne.jp> References: <87txkrhqiz.wl%nomiya@galaxy.dti.ne.jp> Message-ID: <87sj0bhmgt.wl%nomiya@galaxy.dti.ne.jp> Hello, In the Message; Subject : [Scilab-users] 5.4.1 java error Message-ID : <87txkrhqiz.wl%nomiya at galaxy.dti.ne.jp> Date & Time: Fri, 21 Jun 2013 16:27:48 +0900 Masaru Nomiya has written: > [...] > Caused by: java.lang.NullPointerException > at org.scilab.modules.gui.SwingView$2.run(Unknown Source) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) > at java.awt.EventQueue.access$200(EventQueue.java:103) > at java.awt.EventQueue$3.run(EventQueue.java:688) > at java.awt.EventQueue$3.run(EventQueue.java:686) > at java.security.AccessController.doPrivileged(Native Method) > at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:697) > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) > What wrong with me, I wonder? gdb taught me that java libraries (libjava.so, libverify.so, and libjvm.so) were not linked. But why? configure script show me; JAVA_JNI_LIBS ....... = -L/usr/lib64/jvm/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/jvm/java/jre/lib/amd64/server -ljvm This doesn't work at all. Ant hint? Thanks in advance. --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From sylvestre.ledru at scilab-enterprises.com Fri Jun 21 10:59:13 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 21 Jun 2013 10:59:13 +0200 Subject: [Scilab-users] 5.4.1 java error In-Reply-To: <87sj0bhmgt.wl%nomiya@galaxy.dti.ne.jp> References: <87txkrhqiz.wl%nomiya@galaxy.dti.ne.jp> <87sj0bhmgt.wl%nomiya@galaxy.dti.ne.jp> Message-ID: <51C415E1.8050407@scilab-enterprises.com> Hello, Le 21/06/2013 10:55, Masaru Nomiya a ?crit : > Hello, > >> What wrong with me, I wonder? > gdb taught me that java libraries (libjava.so, libverify.so, and > libjvm.so) were not linked. But why? > > configure script show me; > > JAVA_JNI_LIBS ....... = -L/usr/lib64/jvm/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/jvm/java/jre/lib/amd64/server -ljvm > > This doesn't work at all. > > Ant hint? > First, I think we should switch the discussion to the dev at lists.scilab.org mailing list. Your problem with gdb is likely because you are running gdb on the Scilab binary (scilab-bin or scilab-cli-bin). However, Scilab needs a correct environment to run (the path to the Java library is an example). You should have a look to this documentation: http://wiki.scilab.org/Debugging%20and%20Profiling%20Scilab%205 Hope this helps, Regards, Sylvestre From larikerstin at gmx.de Tue Jun 25 09:52:14 2013 From: larikerstin at gmx.de (Larissa) Date: Tue, 25 Jun 2013 00:52:14 -0700 (PDT) Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Message-ID: <1372146734000-4026897.post@n3.nabble.com> Hi everyone, I conducted an experiment and thus my results are composed ofx,y,z data, whereas: x= time (0-25days) y= light intensity (9 different light intensities, ranging from 25 to 1000 ?mol*m^-2*s^-1) z= biomass increase acording to time and light intensity I was able to generate a 3D graph out of this information (using both plot3d and surf), but I can't figure out how to get an equation "z=f(x,y)" out of it. It should be possible though, shouldn't it? If so, how? I would be very very grateful if somebody could help me on that - I am very new in Scilab and I am nothing close to an engineer, so you can imagine that it is quite a challenge for me... 'Till yesterday I was happy of being able to plot such nice graphs - now i want MORE!!!;-P Thanks a lot, Larissa -- View this message in context: http://mailinglists.scilab.org/Convert-x-y-z-data-into-a-z-f-x-y-function-tp4026897.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Tue Jun 25 10:19:33 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 25 Jun 2013 10:19:33 +0200 Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: <1372146734000-4026897.post@n3.nabble.com> References: <1372146734000-4026897.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com> Hello, De la part de Larissa Envoy? : mardi 25 juin 2013 09:52 > I conducted an experiment and thus my results are composed of > x,y,z data, [...] > but I can't figure out how to get an equation "z=f(x,y)" out of it. This is more a math problem than a Scilab problem. You must have a mathematical model, i.e. a parametric formula, then you can adjust the parameters by regression (or maximum likehood). You may have theoretical models that derive from elementary assumptions -- you usually find such model in the bibliography --, or use a "nice model that fit the global shape" -- you may ask the math laboratory in your neighbourhood, this is usually polynomials, exponentials, statistical laws... So if you come to us with a parametric model, we will be able to help you. best regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From denis.crete at thalesgroup.com Tue Jun 25 11:09:24 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Tue, 25 Jun 2013 11:09:24 +0200 Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com> References: <1372146734000-4026897.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com> Message-ID: <7779_1372155395_51C96E02_7779_11603_3_8F1D40232A0E68409E3FC23A30C326620168CD67730F@THSONEA01CMS04P.one.grp> Hello, The general procedure for fitting data in the case of 2 variables is the following: // First define your mathematical model by changing the following line deff('z=MyFunction(x,y)', 'z=p(1)*x + p(2)*y + p(3)*x.*y'); // Store all experimental data in a single array ExD; X, Y, Z assumed to be 1 x NZ vectors ExD=[X;Y;Z]; // Define the error function (to be minimized with respect to the parameters p) deff('erro=G(p,ExD)','x=ExD(1),y=ExD(2), z=ExD(3), erro=z-MyFunction(x,y)') // Fit experimental data contained in W // The column vector p0 is an initial guess of the values for the parameters of your Model [p,err]=datafit(G,ExD,p0) // you can check values generated with MyFunction(X,Y) HTH Denis -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Dang, Christophe Envoy??: mardi 25 juin 2013 10:20 ??: International users mailing list for Scilab. Objet?: Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Hello, De la part de Larissa Envoy? : mardi 25 juin 2013 09:52 > I conducted an experiment and thus my results are composed of x,y,z > data, [...] > but I can't figure out how to get an equation "z=f(x,y)" out of it. This is more a math problem than a Scilab problem. You must have a mathematical model, i.e. a parametric formula, then you can adjust the parameters by regression (or maximum likehood). You may have theoretical models that derive from elementary assumptions -- you usually find such model in the bibliography --, or use a "nice model that fit the global shape" -- you may ask the math laboratory in your neighbourhood, this is usually polynomials, exponentials, statistical laws... So if you come to us with a parametric model, we will be able to help you. best regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From ocwing at verizon.net Thu Jun 27 17:01:54 2013 From: ocwing at verizon.net (OMAR WING) Date: Thu, 27 Jun 2013 08:01:54 -0700 (PDT) Subject: [Scilab-users] opening the scinotes window Message-ID: <1372345314.59010.YahooMailNeo@web84505.mail.ne1.yahoo.com> Hello: ? Did anyone have trouble opening the SciNotes editor window? I recently installed SciLab 5.4.1 (64 bit) on my Windows & PC. I could not open the editor window. Help please. ? owsigplc -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandro.hardy at kom.tu-darmstadt.de Fri Jun 28 10:26:10 2013 From: sandro.hardy at kom.tu-darmstadt.de (Sandro Hardy) Date: Fri, 28 Jun 2013 10:26:10 +0200 Subject: [Scilab-users] Increase Computing Precision beyon Double // Big Integers? Message-ID: <51CD48A2.8090909@kom.tu-darmstadt.de> Hello everyone, is it there a way to increase the computing precision in Scilab beyond the regular "double precision"? In Scilab this example gives me a wrong result: -->290017/10000 ans = 29.001699999999999590727 R is more accurate (Matlab also): > 290017/10000 [1] 29.0017 In R I can even increase the precison: > options(digits=10) Is this also possible with Scilab? Similar question for big numbers, is there a "standard" solution for this (BigIntegers)? In Scilab: -->a=635037699992127443 a = 635037699992127488. -->b=635037699992127444 b = 635037699992127488. -->a-b ans = 0. I would expect a warning, but I get get a wrong result. At least the output gives me the hint, that the variable was not set accurately. The solution is called bigz in R (VPI in Matlab) and work like this: > a=as.bigz('635037699992127443'); > b=as.bigz('635037699992127444'); > a-b Big Integer ('bigz') : [1] -1 Thanks in advance for any hints. Sandro -- Sandro Hardy, M.Sc. Multimedia Communications Lab (KOM) http://www.kom.tu-darmstadt.de Technische Universitaet Darmstadt Dept. of Electrical Engineering & Information Technology tel: +49 6151 16 75164 fax: +49 6151 16 6152 E-Mail: Sandro.Hardy at kom.tu-darmstadt.de postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 D-64283 Darmstadt, Germany From krotersv at gmail.com Fri Jun 28 10:57:33 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Fri, 28 Jun 2013 14:57:33 +0600 Subject: [Scilab-users] Increase Computing Precision beyon Double // Big Integers? In-Reply-To: <51CD48A2.8090909@kom.tu-darmstadt.de> References: <51CD48A2.8090909@kom.tu-darmstadt.de> Message-ID: <51CD4FFD.2040101@gmail.com> 28.06.2013 14:26, Sandro Hardy ?????: > Hello everyone, > > is it there a way to increase the computing precision in Scilab beyond > the regular "double precision"? > > In Scilab this example gives me a wrong result: > -->290017/10000 > ans = > > 29.001699999999999590727 > > R is more accurate (Matlab also): > > 290017/10000 > [1] 29.0017 > > In R I can even increase the precison: > > options(digits=10) > > Is this also possible with Scilab? > > Similar question for big numbers, is there a "standard" solution for > this (BigIntegers)? > > In Scilab: > -->a=635037699992127443 > a = > > 635037699992127488. > > -->b=635037699992127444 > b = > > 635037699992127488. > > -->a-b > ans = > > 0. > > I would expect a warning, but I get get a wrong result. At least the > output gives me the hint, that the variable was not set accurately. > > The solution is called bigz in R (VPI in Matlab) and work like this: > > > a=as.bigz('635037699992127443'); > > b=as.bigz('635037699992127444'); > > a-b > Big Integer ('bigz') : > [1] -1 > > Thanks in advance for any hints. > > Sandro > > Hi. I suppose it is common problem of representation of floating point numbers. Actually, I don't think that Matlab is more accurate. There is an interest document http://www.scilab.org/content/download/395/2850/file/ScilabTec_Keynote.pdf . Stanislav From mathieu.dubois at limsi.fr Fri Jun 28 11:05:02 2013 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 28 Jun 2013 11:05:02 +0200 Subject: [Scilab-users] =?utf-8?q?Increase_Computing_Precision_beyon_Doubl?= =?utf-8?q?e_//_Big_Integers=3F?= In-Reply-To: <51CD48A2.8090909@kom.tu-darmstadt.de> References: <51CD48A2.8090909@kom.tu-darmstadt.de> Message-ID: On 2013-06-28 10:26, Sandro Hardy wrote: > Hello everyone, > > is it there a way to increase the computing precision in Scilab > beyond the regular "double precision"? > > In Scilab this example gives me a wrong result: > -->290017/10000 > ans = > > 29.001699999999999590727 > > R is more accurate (Matlab also): >> 290017/10000 > [1] 29.0017 > > In R I can even increase the precison: >> options(digits=10) > > Is this also possible with Scilab? > On my computer (scilab 5.3.3, ubuntu 12.04) -->290017/10000 ans = 29.0017 The R "digits" option only change the number of digits that are displayed not the precision of the computation. So under R: > options(digits=22) > 290017/10000 [1] 29.00169999999999959073 The scilab equivalent of option(digit = ...) is format (I guess that youhave changed that in your example). -->format(24) -->290017/10000 ans = 29.00169999999999959073 Similarly in Matlab: >> format LONG >> 290017/10000 ans = 29.001700000000000 I think that R and Matlab use the native double type (as scilab) so precision is the same. The fact that your operation is wrong is a fundamental limit of floating point representation. There is a scilab toolbox for multiprecision computing (http://forge.scilab.org/index.php/p/mpscilab/) but I don't know the state of it. It probably solves the big integers problem. > Similar question for big numbers, is there a "standard" solution for > this (BigIntegers)? > > In Scilab: > -->a=635037699992127443 > a = > > 635037699992127488. > > -->b=635037699992127444 > b = > > 635037699992127488. > > -->a-b > ans = > > 0. > > I would expect a warning, but I get get a wrong result. At least the > output gives me the hint, that the variable was not set accurately. > > The solution is called bigz in R (VPI in Matlab) and work like this: > >> a=as.bigz('635037699992127443'); >> b=as.bigz('635037699992127444'); >> a-b > Big Integer ('bigz') : > [1] -1 > > Thanks in advance for any hints. > > Sandro > > > -- > Sandro Hardy, M.Sc. > > Multimedia Communications Lab (KOM) > http://www.kom.tu-darmstadt.de > Technische Universitaet Darmstadt > Dept. of Electrical Engineering & Information Technology > tel: +49 6151 16 75164 fax: +49 6151 16 6152 > E-Mail: Sandro.Hardy at kom.tu-darmstadt.de > postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 > D-64283 Darmstadt, Germany > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sandro.hardy at kom.tu-darmstadt.de Fri Jun 28 11:21:19 2013 From: sandro.hardy at kom.tu-darmstadt.de (Sandro Hardy) Date: Fri, 28 Jun 2013 11:21:19 +0200 Subject: [Scilab-users] Increase Computing Precision beyon Double // Big Integers? In-Reply-To: <51CD4FFD.2040101@gmail.com> References: <51CD48A2.8090909@kom.tu-darmstadt.de> <51CD4FFD.2040101@gmail.com> Message-ID: <51CD558F.8030708@kom.tu-darmstadt.de> Hi, > Hi. > I suppose it is common problem of representation of floating point numbers. > Actually, I don't think that Matlab is more accurate. There is an > interest document It was not my intension to claim that Matlab is more precise in general. Just for the few operations I tested I need a better solution than the regular Scilab double precision. > http://www.scilab.org/content/download/395/2850/file/ScilabTec_Keynote.pdf This is a great document. Especially for motivting student to care about there computations... Best wishes Sandro -- Sandro Hardy, M.Sc. Multimedia Communications Lab (KOM) http://www.kom.tu-darmstadt.de Technische Universitaet Darmstadt Dept. of Electrical Engineering & Information Technology tel: +49 6151 16 75164 fax: +49 6151 16 6152 E-Mail: Sandro.Hardy at kom.tu-darmstadt.de postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 D-64283 Darmstadt, Germany From sandro.hardy at kom.tu-darmstadt.de Fri Jun 28 12:01:55 2013 From: sandro.hardy at kom.tu-darmstadt.de (Sandro Hardy) Date: Fri, 28 Jun 2013 12:01:55 +0200 Subject: [Scilab-users] Increase Computing Precision beyon Double // Big Integers? In-Reply-To: References: <51CD48A2.8090909@kom.tu-darmstadt.de> Message-ID: <51CD5F13.908@kom.tu-darmstadt.de> Hi Mathieu, thank you for your answer. I forgot to care about the truncation of the zeros although the output format is set to more digits. I fooled myself this way... so I assumed R and matlab would use different internal represantions to achieve higher precisions, but obviously they don't... Allowing increased precsion was started with http://forge.scilab.org/index.php/p/dbldbl/ but it seems they stopped the development. > There is a scilab toolbox for multiprecision computing > (http://forge.scilab.org/index.php/p/mpscilab/) but I don't know the > state of it. It probably solves the big integers problem. Thank you. I will try this. Best wishes Sandro -- Sandro Hardy, M.Sc. Multimedia Communications Lab (KOM) http://www.kom.tu-darmstadt.de Technische Universitaet Darmstadt Dept. of Electrical Engineering & Information Technology tel: +49 6151 16 75164 fax: +49 6151 16 6152 E-Mail: Sandro.Hardy at kom.tu-darmstadt.de postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 D-64283 Darmstadt, Germany From esteffgm at hotmail.com Fri Jun 28 20:59:27 2013 From: esteffgm at hotmail.com (tefamd) Date: Fri, 28 Jun 2013 11:59:27 -0700 (PDT) Subject: [Scilab-users] SIVP atomsLoad error in Windows XP Message-ID: <1372445967696-4026915.post@n3.nabble.com> Hi Scilab users, I am trying to use the SIVP toolbox on a Windows XP virtual machine (VMware workstation) and it shows the following message when I try to load it: SIVP - Scilab Image and Video Processing Toolbox Load macros Load gateways atomsLoad: An error occurred while loading 'SIVP-0.5.3-3': link: The shared archive was not loaded: No se pudo iniciar la aplicaci?n porque su configuraci?n es incorrecta. Reinstalar la aplicaci?n puede solucionar el problema. (This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.) I use scilab-5.3.3 and already reinstalled the application and also Scilab but it still doesn't work. I really need to use this toolbox as soon as possible so if someone could please help me I would be very grateful. Greetings. -- View this message in context: http://mailinglists.scilab.org/SIVP-atomsLoad-error-in-Windows-XP-tp4026915.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dtate at ida.org Fri Jun 28 18:09:18 2013 From: dtate at ida.org (David Tate) Date: Fri, 28 Jun 2013 09:09:18 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) Message-ID: <1372435758802-4026913.post@n3.nabble.com> I just installed SciLab for the first time. I'm using version 5.4.1 for Windows, 64-bit, under Windows 7 Pro. The application seems to run fine, and console actions work correctly. I can open the SciNotes editor, and enter text. I can execute the contents (e.g. "Execute file with echo"). But if I try any action involving File I/O (e.g. Save, Save As, or select a backup file) both SciNotes and SciLab instantly close, and I lose all of my work. I do not even get a file dialog -- the apps close instantly. "Save file and execute" gives the same behavior. I tried uninstalling and re-installing, making sure that I ran the install package as Administrator. No change. Help? David Tate -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From tom.egling at gmail.com Sun Jun 30 06:35:35 2013 From: tom.egling at gmail.com (tommish) Date: Sat, 29 Jun 2013 21:35:35 -0700 (PDT) Subject: [Scilab-users] ATOMS module In-Reply-To: <50D415D7.1060203@scilab-enterprises.com> References: <1355849867149-4025531.post@n3.nabble.com> <1355931987109-4025555.post@n3.nabble.com> <50D3079E.70109@scilab-enterprises.com> <1356019581179-4025563.post@n3.nabble.com> <50D415D7.1060203@scilab-enterprises.com> Message-ID: <1372566935148-4026917.post@n3.nabble.com> Hi, I am having what I feel is exactly the same problem installing metanet. I run : -->atomsInstall('metanet') atomsDownload: The following file hasn't been downloaded: - URL : 'http://atoms.scilab.org/5.4/TOOLBOXES/32/linux.gz' - Local location : '/tmp/SCI_TMP_7571_YzZwsC/.atoms/1_TOOLBOXES.gz' !--error 10000 --2013-06-30 12:21:12-- http://atoms.scilab.org/5.4/TOOLBOXES/32/linux.gz Resolving atoms.scilab.org... failed: Connection timed out. wget: unable to resolve host address `atoms.scilab.org' at line 202 of function atomsDownload called by : at line 155 of function atomsDESCRIPTIONget called by : at line 31 of function atomsIsPackage called by : at line 69 of function atomsInstallList called by : at line 233 of function atomsInstall called by : atomsInstall('metanet') but from the console I can happily run wget and fetch the .gz as mentioned above. Is there any workaround as I didnt see anything other than the mention of possible bug over wifi connection ? Any input would be greatly appreciated. Tom -- View this message in context: http://mailinglists.scilab.org/ATOMS-module-tp4025531p4026917.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Sun Jun 30 17:45:16 2013 From: calixte.denizet at scilab-enterprises.com (calixte.denizet at scilab-enterprises.com) Date: Sun, 30 Jun 2013 17:45:16 +0200 Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372435758802-4026913.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> Message-ID: Hi David, Could you start Scilab from a terminal (enter the command WScilex.exe in the good directory) ? Try an I/O action in Scinotes and check if you have a java exception or something else in the terminal which would help us to find the issue. Best regards, Calixte Le 2013-06-28 18:09, David Tate a ?crit?: > I just installed SciLab for the first time. I'm using version 5.4.1 > for > Windows, 64-bit, under Windows 7 Pro. > > The application seems to run fine, and console actions work > correctly. I > can open the SciNotes editor, and enter text. I can execute the > contents > (e.g. "Execute file with echo"). But if I try any action involving > File I/O > (e.g. Save, Save As, or select a backup file) both SciNotes and > SciLab > instantly close, and I lose all of my work. I do not even get a file > dialog > -- the apps close instantly. "Save file and execute" gives the same > behavior. > > I tried uninstalling and re-installing, making sure that I ran the > install > package as Administrator. No change. > > Help? > > David Tate > > > > -- > View this message in context: > > http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users