From serge.steer at inria.fr Mon Jan 2 11:01:37 2012 From: serge.steer at inria.fr (Serge Steer) Date: Mon, 2 Jan 2012 11:01:37 +0100 (CET) Subject: [scilab-Users] Unit Sample or Delat Dirac Matrix Creation In-Reply-To: <1325349529679-3623475.post@n3.nabble.com> Message-ID: <1717716124.186530.1325498497728.JavaMail.root@zmbs3.inria.fr> Please find attached two Scilab functions which are translation of the Matlab impseq and stepseq functons. ----- Mail original ----- > De: "shadders" > ?: users at lists.scilab.org > Envoy?: Samedi 31 D?cembre 2011 17:38:49 > Objet: [scilab-Users] Unit Sample or Delat Dirac Matrix Creation > Hi, > > I have scanned the Scilab help file, but i cannot locate an equivalent > command to the Matlab "impseq" > > The "impseq" creates an array which are of specified length, all > Zero's > except the single One at the specificied point. This may also be known > as > unit sample, delta dirac etc., but in the discrete time domain. > > Is there a Scilab equivalent ?. Thanks. > > This question also applies to "stepseq" which is a unit step input. > > Else -will i have to use a two sequence command - create an matrix of > Zero's, and then set a specific element to a One ?. > > Thanks and regards, > > Richard. > > -- > View this message in context: > http://mailinglists.scilab.org/Unit-Sample-or-Delat-Dirac-Matrix-Creation-tp3623475p3623475.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: stepseq.sci Type: text/x-matlab Size: 455 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: impseq.sci Type: text/x-matlab Size: 468 bytes Desc: not available URL: From allan.cornet at scilab.org Mon Jan 2 11:07:43 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Mon, 2 Jan 2012 11:07:43 +0100 Subject: [scilab-Users] Re: Continue .. Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: References: <262554.87178.qm@web45504.mail.sp1.yahoo.com> <1318714971237-3424826.post@n3.nabble.com> Message-ID: <004f01ccc936$5e245c80$1a6d1580$@scilab.org> Hi, An .a file is static library. You can only load a (shared) dynamic library (.so .dll, .dylib) in Scilab environment. Please convert your static library to shared library Allan CORNET -----Message d'origine----- De?: bk [mailto:beroeno at hotmail.com] Envoy??: dimanche 18 d?cembre 2011 18:22 ??: users at lists.scilab.org Objet?: [scilab-Users] Re: Continue .. Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations greg writes: > > Hi, > > I have the same problem on Windows seven 64 with the same softwares > > All of above libraries failed when I used Scilab 5.3.3 64 bits, and > gcc-4.5.2-64.exe and MinGW 0.8-1. > And this problem persists after removed directory SCIHOME/mingwlib_x64 > > Any solutions ? > > -- > View this message in context: > http://mailinglists.scilab.org/Continue-Problem- Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations- tp2892607p3424826.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > Hi all, I encountered the same problem. Apparently the .a files can't be converted. When opening an .a file I see these are empty?! bk From denis.crete at thalesgroup.com Mon Jan 2 11:08:27 2012 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Mon, 2 Jan 2012 11:08:27 +0100 Subject: [scilab-Users] Unit Sample or Delat Dirac Matrix Creation In-Reply-To: <1325349529679-3623475.post@n3.nabble.com> References: <1325349529679-3623475.post@n3.nabble.com> Message-ID: <26610_1325498912_4F018220_26610_11953_1_908CBC9017354841B2F32BBEC70A05A101C374EED073@THSONEA01CMS01P.one.grp> Hello, N=10; // size of the sequence j=7; // position of the impulse in the sequence bool2s((1:N)==j) HTH Denis -----Message d'origine----- De?: shadders [mailto:richard.shadbolt at btinternet.com] Envoy??: samedi 31 d?cembre 2011 17:39 ??: users at lists.scilab.org Objet?: [scilab-Users] Unit Sample or Delat Dirac Matrix Creation Hi, I have scanned the Scilab help file, but i cannot locate an equivalent command to the Matlab "impseq" The "impseq" creates an array which are of specified length, all Zero's except the single One at the specificied point. This may also be known as unit sample, delta dirac etc., but in the discrete time domain. Is there a Scilab equivalent ?. Thanks. This question also applies to "stepseq" which is a unit step input. Else -will i have to use a two sequence command - create an matrix of Zero's, and then set a specific element to a One ?. Thanks and regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Unit-Sample-or-Delat-Dirac-Matrix-Creation-tp3623475p3623475.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From Enza at gmx.net Mon Jan 2 15:03:54 2012 From: Enza at gmx.net (Enza) Date: Mon, 2 Jan 2012 06:03:54 -0800 (PST) Subject: Scilab Api Message-ID: <1325513034488-3626633.post@n3.nabble.com> Hi, I'm just starting to use Scilab and want to access it via Api from Visual Studio 2010 and C#. I downloaded the example ".NET component and COM server" (http://forge.scilab.org/index.php/p/NET-COMponent/source/tree/master/). Then I wrote a console application that should only execute a script that reads a matrix stored in a textfile: read_matrix.sce: A = fscanfMat('C:\...\matrix1.txt') console application: static void Main(string[] args) { Scilab_Component.Scilab_API sa = Scilab_Component.Scilab_API.Instance; sa.executeScript(@"C:\...\read_matrix.sce"); } But the executeScript-command always hangs in the "waitEmptyCommandQueue"-loop of the Scilab_API-class. Also a series of sendScilabJob-commands ends sometimes in this loop. Another problem is that Scilab is never closed at the end of the program. What do I have to do to properly close Scilab and how can I avoid hanging in the "waitEmptyCommandQueue"-loop? Thanks for your answers! Enza -- View this message in context: http://mailinglists.scilab.org/Scilab-Api-tp3626633p3626633.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From richard.shadbolt at btinternet.com Mon Jan 2 16:35:20 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Mon, 2 Jan 2012 07:35:20 -0800 (PST) Subject: Unit Sample or Delat Dirac Matrix Creation In-Reply-To: <1717716124.186530.1325498497728.JavaMail.root@zmbs3.inria.fr> References: <1325349529679-3623475.post@n3.nabble.com> <1717716124.186530.1325498497728.JavaMail.root@zmbs3.inria.fr> Message-ID: <1325518520971-3626831.post@n3.nabble.com> Hi, Thanks for this, much appreciated. Regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Unit-Sample-or-Delta-Dirac-Matrix-Creation-tp3623475p3626831.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From richard.shadbolt at btinternet.com Mon Jan 2 16:35:58 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Mon, 2 Jan 2012 07:35:58 -0800 (PST) Subject: Unit Sample or Delat Dirac Matrix Creation In-Reply-To: <26610_1325498912_4F018220_26610_11953_1_908CBC9017354841B2F32BBEC70A05A101C374EED073@THSONEA01CMS01P.one.grp> References: <1325349529679-3623475.post@n3.nabble.com> <26610_1325498912_4F018220_26610_11953_1_908CBC9017354841B2F32BBEC70A05A101C374EED073@THSONEA01CMS01P.one.grp> Message-ID: <1325518558381-3626834.post@n3.nabble.com> Hi, Thanks for this - much appreciated. Regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Unit-Sample-or-Delta-Dirac-Matrix-Creation-tp3623475p3626834.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From berns.buenaobra at gmail.com Wed Jan 4 04:04:39 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Wed, 4 Jan 2012 11:04:39 +0800 Subject: [scilab-Users] Re: Can't read and show image In-Reply-To: <1324965836.91805.YahooMailClassic@web162003.mail.bf1.yahoo.com> References: <1324400254532-3601717.post@n3.nabble.com> <1324537279.68122.YahooMailClassic@web162006.mail.bf1.yahoo.com> <1324965836.91805.YahooMailClassic@web162003.mail.bf1.yahoo.com> Message-ID: Hi Dina: I have been out for a Christmas holiday with my wife and my classes at USC (Cebu, Philippines) will not start until next week so I have not gotten back to you on some of the examples I gave in class for the elective course I teach there for physics majors. Will send them to you over the weekend for your exercise (and give me feedback if you think its too easy, challenging, difficult etc.). I would suggest work on PNG, BMP and JPG files - when I was part of developing optical tests systems in my former work we used PNGs for automotive vision work at the school were kind of used in lossless BMPs and compressed JPEGS. You can also try to check your output externally by a canned software like ImageJ (free) so to match the results of your code. Also, I work with both SIVP and IPD interchangeably because of the functions available in both of this programs - and also it depends on what level of machine vision your working on. Regards, Berns B. On Tue, Dec 27, 2011 at 2:04 PM, dina wrote: > Hi Berns B, > > I'm sorry, I missed out your e-mail.It goes to spam folder.Anyway, can I > try with the SCE file you said previously? Don't you mind about that? > > Another thing is, the Scilab that I have installed can't read the .gif > image? is it because that I'm using the SIVP instead of SIP? > > Regards, > Dina > > > > > > --- On *Thu, 22/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists > Archives] <[hidden email] > >* wrote: > > > From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden > email] > > Subject: Re: Can't read and show image > To: "dina" <[hidden email] > > > Date: Thursday, 22 December, 2011, 3:37 AM > > Hi Dina: > > Same problem I meet with my students in elective class for physics majors > - image file pointing is the first real thing one need to do before even > doing any image processing! I'll send you an SCE file later for you to try > out next. > > Regards, > > Berns B. > > > > On Thu, Dec 22, 2011 at 3:01 PM, dina <[hidden email]> wrote: > > Hi Berns B, > > Thank you. i already try it, and it success. > > Regards, > dina > > --- On *Tue, 20/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists > Archives] <[hidden email] > >* wrote: > > > From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden > email] > > Subject: Re: Can't read and show image > To: "dina" <[hidden email] > > > Date: Tuesday, 20 December, 2011, 11:44 AM > > Hi: > > Try this: > > RGB = imread(SCI + '/contrib/sivp/0.5.3-2/images/lena.png'); > > > Regards, > Berns B. > > > > On Wed, Dec 21, 2011 at 12:57 AM, dina <[hidden email]> wrote: > > Hello, > > This is my first time using Scilab. And I have no experience at all. I'm > interested to learn Scilab, especially for image processing. > > I had installed Scilab 5.3.3 and SIVP 0.5.3 on my Windows XP. My first > attempt is to read and display image of lena.png. And I followed steps > inside tutorial,but failed.Could anyone help me with this. Am I missing > something? How do I know that my installation is working well? > > 1st attempt: > -->im=imread('lena.png'); > !--error 999 > imread: Can not open file lena.png. > > > 2nd attempt: > -->im=imread('C:\Program > Files\scilab-5.3.3\contrib\SIVP_0.5.3\images\lena.png'); > -->imshow(im); > !--error 999 > Bad (1 th) index in hypermatrix extraction. > > Thank you. > > > -- > View this message in context: > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > > > > -- > ========================================== > Bernardino Jerez Buenaobra > Motion Control Engineer > FW/Motion Control Laboratory > Lexmark Research and Development Corporation (LRDC) > 6F Lexmark Plaza 2 > Samar Loop corner Panay Road, > Cebu Business Park, Cebu City, > 6000 Philippines > Direct number: target="_blank">+6332 234 8763 > Mobile: target="_blank">+639162911607 > [hidden email] > > Skype ID: poormanphysics > > "Res Imus Motus..."(We set things in motion) > ========================================== > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602117.html > To unsubscribe from Can't read and show image, click here. > NAML > > > ------------------------------ > View this message in context: Re: Can't read and show image > > Sent from the Scilab users - Mailing Lists Archives mailing list archiveat Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3606393.html > To unsubscribe from Can't read and show image, click here. > NAML > > > ------------------------------ > View this message in context: Re: Can't read and show image > Sent from the Scilab users - Mailing Lists Archives mailing list archiveat Nabble.com. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noormadinah at yahoo.com Wed Jan 4 09:30:00 2012 From: noormadinah at yahoo.com (dina) Date: Wed, 4 Jan 2012 00:30:00 -0800 (PST) Subject: Can't read and show image In-Reply-To: References: <1324400254532-3601717.post@n3.nabble.com> <1324537279.68122.YahooMailClassic@web162006.mail.bf1.yahoo.com> <1324965836.91805.YahooMailClassic@web162003.mail.bf1.yahoo.com> Message-ID: <1325665788.24577.YahooMailClassic@web162002.mail.bf1.yahoo.com> Hi Berns B, Thank you and enjoy your holiday. --- On Tue, 3/1/12, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] Subject: Re: Can't read and show image To: "dina" Date: Tuesday, 3 January, 2012, 7:05 PM Hi Dina: I have been out for a Christmas holiday with my wife and my classes at USC (Cebu, Philippines) will not start until next week so I have not gotten back to you on some of the examples I gave in class for the elective course I teach there for physics majors. Will send them to you over the weekend for your exercise (and give me feedback if you think its too easy, challenging, difficult etc.). I would suggest work on PNG, BMP and JPG files - when I was part of developing optical tests systems in my former work we used PNGs for automotive vision work at the school were kind of used in lossless BMPs and compressed JPEGS. You can also try to check your output externally by a canned software like ImageJ (free) so to match the results of your code. Also, I work with both SIVP and IPD interchangeably because of the functions available in both of this programs - and also it depends on what level of machine vision your working on. Regards, Berns B. On Tue, Dec 27, 2011 at 2:04 PM, dina <[hidden email]> wrote: Hi Berns B, I'm sorry, I missed out your e-mail.It goes to spam folder.Anyway, can I try with the SCE file you said previously? Don't you mind about that? Another thing is, the Scilab that I have installed can't read the .gif image? is it because that I'm using the SIVP instead of SIP? Regards, Dina ??????????????????????????????????????????????????????? --- On Thu, 22/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> Subject: Re: Can't read and show image To: "dina" <[hidden email]> Date: Thursday, 22 December, 2011, 3:37 AM Hi Dina: Same problem I meet with my students in elective class for physics majors - image file pointing is the first real thing one need to do before even doing any image processing! I'll send you an SCE file later for you to try out next. Regards, Berns B. On Thu, Dec 22, 2011 at 3:01 PM, dina <[hidden email]> wrote: Hi Berns B, Thank you. i already try it, and it success. Regards, dina --- On Tue, 20/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> Subject: Re: Can't read and show image To: "dina" <[hidden email]> Date: Tuesday, 20 December, 2011, 11:44 AM Hi: Try this: RGB = imread(SCI + '/contrib/sivp/0.5.3-2/images/lena.png'); Regards, Berns B. On Wed, Dec 21, 2011 at 12:57 AM, dina <[hidden email]> wrote: Hello, This is my first time using Scilab. And I have no experience at all. I'm interested to learn Scilab, especially for image processing. I had installed Scilab 5.3.3 and SIVP 0.5.3 on my Windows XP. My first attempt is to read and display image of lena.png. And I followed steps inside tutorial,but failed.Could anyone help me with this. Am I missing something? How do I know that my installation is working well? 1st attempt: -->im=imread('lena.png'); ? ? ? ? ? ? ? ? ? ? ?!--error 999 imread: Can not open file lena.png. 2nd attempt: -->im=imread('C:\Program Files\scilab-5.3.3\contrib\SIVP_0.5.3\images\lena.png'); -->imshow(im); ? ? ? ? ? !--error 999 Bad (1 th) index in hypermatrix extraction. Thank you. -- View this message in context: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- ========================================== Bernardino Jerez Buenaobra Motion Control Engineer FW/Motion Control Laboratory Lexmark Research and Development Corporation (LRDC) 6F Lexmark Plaza 2 Samar Loop corner Panay Road, Cebu Business Park, Cebu City, 6000 Philippines Direct number: +63322348763" target="_blank">+6332 234 8763 Mobile: +639162911607" target="_blank">+639162911607 [hidden email] Skype ID: poormanphysics "Res Imus Motus..."(We set things in motion) ========================================== If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602117.html To unsubscribe from Can't read and show image, click here. NAML View this message in context: Re: Can't read and show image Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3606393.html To unsubscribe from Can't read and show image, click here. NAML View this message in context: Re: Can't read and show image Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3630905.html To unsubscribe from Can't read and show image, click here. NAML -- View this message in context: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3631335.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cannonjunk at hotmail.co.uk Thu Jan 5 05:49:15 2012 From: cannonjunk at hotmail.co.uk (zugvogel) Date: Wed, 4 Jan 2012 20:49:15 -0800 (PST) Subject: Weighting data in datafit Message-ID: <1325738955228-3633921.post@n3.nabble.com> Hello, I'm having a lot of trouble figuring out how to weight data-points for fitting using "datafit". I have: [p,err]=datafit(G,ndata,W,p0) The function G is: function e=G(p, z), // output is "e", input "p" and "z" y=z(1),x=z(2); // y is the top row, x bottom e=y-FF(x,p), // optimise to zero, FF is my function endfunction ndata is 2 rows and 12 columns, the top row being y-axis values and the bottom row being x-axis values p0 is 4 rows and 1 column. W is my weighting matrix. I set this initially as just a 12x12 identity matrix. I just can't get this to work however. I keep getting: ------------------- -->[p,err]=datafit(G,ndata,W,p0) !--error 15 Submatrix incorrectly defined. at line 26 of function costf called by : at line 174 of function datafit called by : [p,err]=datafit(G,ndata,W,p0) ------------------- Can anyone help me? I have tried changing W in many ways but I can't get it to work. The help section on datafit says W should be of size ne x ne, where G is size ne x 1. I assume ne is the same as nz (ie, 12, the number of data points) but maybe this is wrong? In any case I tried make ne=1,2,3...12 (always a square matrix) but without success. If I do it without weighting, it works. I would really appreciate any help. I'm completely out of ideas. Thank you! Tom -- View this message in context: http://mailinglists.scilab.org/Weighting-data-in-datafit-tp3633921p3633921.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From richard.shadbolt at btinternet.com Wed Jan 4 18:50:24 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Wed, 4 Jan 2012 09:50:24 -0800 (PST) Subject: Module Creation - Basic Question In-Reply-To: <1325350031997-3623487.post@n3.nabble.com> References: <1325350031997-3623487.post@n3.nabble.com> Message-ID: <1325699424671-3632558.post@n3.nabble.com> Hi, To take this further - thanks to those who sent the Matlab equivalent and SciLab code for the impseq MatLab function. I have examped the examples in the scilab directory - but i am not certain how to approach this. I want to build the module so that i do not have to load the code manually every time i run SciLab. The impseq function accepts three integers, and passed back an array on integers. In Scilab this is easy when using the SciNotes and running the code, but the module implementation means that i can use the function - and run without the manual loading. I intend to implement many more MatLab functions. As such, which examples are the examples to copy to achieve this or progress ?. Thanks. The examples i have seen are in the scilab/modules/dynamic/link/example directory. Regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3632558.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From clement.ervefel at hotmail.fr Wed Jan 4 22:00:32 2012 From: clement.ervefel at hotmail.fr (clemride) Date: Wed, 4 Jan 2012 13:00:32 -0800 (PST) Subject: xcos not work In-Reply-To: <4DB6D5CB.8040606@scilab.org> References: <4DB6CBBA.1010105@fing.edu.uy> <4DB6D5CB.8040606@scilab.org> Message-ID: <1325710832082-3633053.post@n3.nabble.com> I also have the same problem. I have installed Scilab 5.3.0 in my laptop but Xcos not > work: the menu for the modification of blocks parameters do not open. In > the Scilab console a large message about Java is displayed but I have > updated Java. > Can you tell me what to do to make it works? thank you -- View this message in context: http://mailinglists.scilab.org/xcos-not-work-tp2865663p3633053.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From richard.shadbolt at btinternet.com Thu Jan 5 00:14:56 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Wed, 4 Jan 2012 15:14:56 -0800 (PST) Subject: Module Creation - Basic Question In-Reply-To: <1325699424671-3632558.post@n3.nabble.com> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> Message-ID: <1325718896773-3633347.post@n3.nabble.com> Hi, I have examined the web site on the Module creation - and there are a few more questions. 1. The Section 3 - stating "exec builder.sce" seems to be in error - the help file in SciLab indicates that you need to implement the full path. in doing so - the builder.sce fails - due to no compiler. How do i implement a compiler reference for the SciLab system to pick up - i am using the toolbox_skeleton 2. I think all i need to implement is a Macro - so how do i implement a set of Macro's in a toolbox/module ??? I do not need the run time performance of a binary - hence how is this accomplished - the Macro/Module notes do not indicate how this works specifically - and how this Module is loaded automatically at SciLab boot time - are there any initialisation or configuration files ? Thanks and regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3633347.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Thu Jan 5 11:02:32 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 05 Jan 2012 11:02:32 +0100 Subject: [scilab-Users] Re: Module Creation - Basic Question In-Reply-To: <1325718896773-3633347.post@n3.nabble.com> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> <1325718896773-3633347.post@n3.nabble.com> Message-ID: <4F057538.8080407@limsi.fr> Hello, On 01/05/2012 12:14 AM, shadders wrote: > Hi, > > I have examined the web site on the Module creation - and there are a few > more questions. > > 1. The Section 3 - stating "exec builder.sce" seems to be in error - the > help file in SciLab indicates that you need to implement the full path. in > doing so - the builder.sce fails - due to no compiler. > > How do i implement a compiler reference for the SciLab system to pick up - i > am using the toolbox_skeleton > > 2. I think all i need to implement is a Macro - so how do i implement a set > of Macro's in a toolbox/module ??? > > I do not need the run time performance of a binary - hence how is this > accomplished - the Macro/Module notes do not indicate how this works > specifically - and how this Module is loaded automatically at SciLab boot > time - are there any initialisation or configuration files ? I don't know about compiled modules but you can load functions at startup. There are 2 startup files (see the help page help("startup") for more details): - one for the user located somewhere in you home directory. - one for all the users located in a system directory. You can put any scilab code in those files for instance loading scilab functions. You probably need to use the full path of the sci file. In your case I would put them somewhere in your home directory (for instance in a directory named scilab). HTH, Mathieu > Thanks and regards, > > Richard. > > -- > View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3633347.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From mathieu.dubois at limsi.fr Thu Jan 5 12:02:43 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 05 Jan 2012 12:02:43 +0100 Subject: [scilab-Users] Weighting data in datafit In-Reply-To: <1325738955228-3633921.post@n3.nabble.com> References: <1325738955228-3633921.post@n3.nabble.com> Message-ID: <4F058353.2080609@limsi.fr> As far as I understand the help page, ne is the dimension of the output of G(p, z) (which I think is the error function). In the example provided on the help page ne=1 so you can modify it this way: W=rand(1); [p,err]=datafit(G,Z,p0,W); This runs but I'm not sure to understand what is the purpose of this parameter (I can't relate it to [1]). It is said that datafit minimize G(p,z_1)'WG(p,z_1)+G(p,z_2)'WG(p,z_2)+...+G(p,z_n)'WG(p,z_n) (where z_i is the I would think that the weighting matrix should have one entry per data (so n*ne or ne*n)... You could check the the leastsq function in which the weighting parameter makes more sense to me (the weights are arguments of the cost). Mathieu [1] http://en.wikipedia.org/wiki/Least_squares#Weighted_least_squares On 01/05/2012 05:49 AM, zugvogel wrote: > Hello, > I'm having a lot of trouble figuring out how to weight data-points for > fitting using "datafit". > > I have: > [p,err]=datafit(G,ndata,W,p0) > > The function G is: > function e=G(p, z), // output is "e", input "p" and "z" > y=z(1),x=z(2); // y is the top row, x bottom > e=y-FF(x,p), // optimise to zero, FF is my function > endfunction > > ndata is 2 rows and 12 columns, the top row being y-axis values and the > bottom row being x-axis values > > p0 is 4 rows and 1 column. > > W is my weighting matrix. I set this initially as just a 12x12 identity > matrix. > > I just can't get this to work however. I keep getting: > > ------------------- > -->[p,err]=datafit(G,ndata,W,p0) > !--error 15 > Submatrix incorrectly defined. > > at line 26 of function costf called by : > at line 174 of function datafit called by : > [p,err]=datafit(G,ndata,W,p0) > ------------------- > > Can anyone help me? I have tried changing W in many ways but I can't get it > to work. > The help section on datafit says W should be of size ne x ne, where G is > size ne x 1. I assume ne is the same as nz (ie, 12, the number of data > points) but maybe this is wrong? In any case I tried make ne=1,2,3...12 > (always a square matrix) but without success. If I do it without weighting, > it works. > > I would really appreciate any help. I'm completely out of ideas. > > Thank you! > > Tom > > -- > View this message in context: http://mailinglists.scilab.org/Weighting-data-in-datafit-tp3633921p3633921.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From jaundreventer at gmail.com Thu Jan 5 12:39:46 2012 From: jaundreventer at gmail.com (Jaundre Venter) Date: Thu, 5 Jan 2012 13:39:46 +0200 Subject: Stop Message-ID: Hi i please want to stop recieving emails from SCILAB users from now till further notice. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From berns.buenaobra at gmail.com Thu Jan 5 13:11:34 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Thu, 5 Jan 2012 20:11:34 +0800 Subject: [scilab-Users] Re: Can't read and show image In-Reply-To: <1325665788.24577.YahooMailClassic@web162002.mail.bf1.yahoo.com> References: <1324400254532-3601717.post@n3.nabble.com> <1324537279.68122.YahooMailClassic@web162006.mail.bf1.yahoo.com> <1324965836.91805.YahooMailClassic@web162003.mail.bf1.yahoo.com> <1325665788.24577.YahooMailClassic@web162002.mail.bf1.yahoo.com> Message-ID: Hi Dina: My notes and the .SCE exercises I did in SIVP and IPD are all there in the Google Document folder. I would'nt like to attached them here it will be unnecessary for others, so I sent out to your yahoo email the access to it but don't exactly know if that can work - I suggest you create a gmail account too. Regards, Berns B. On Wed, Jan 4, 2012 at 4:30 PM, dina wrote: > Hi Berns B, > Thank you and enjoy your holiday. > > > --- On *Tue, 3/1/12, Berns Buenaobra [via Scilab / Xcos - Mailing Lists > Archives] <[hidden email] > >* wrote: > > > From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden > email] > > Subject: Re: Can't read and show image > To: "dina" <[hidden email] > > > Date: Tuesday, 3 January, 2012, 7:05 PM > > Hi Dina: > > I have been out for a Christmas holiday with my wife and my classes at USC > (Cebu, Philippines) will not start until next week so I have not gotten > back to you on some of the examples I gave in class for the elective course > I teach there for physics majors. > > Will send them to you over the weekend for your exercise (and give me > feedback if you think its too easy, challenging, difficult etc.). > > I would suggest work on PNG, BMP and JPG files - when I was part of > developing optical tests systems in my former work we used PNGs for > automotive vision work at the school were kind of used in lossless BMPs and > compressed JPEGS. > > You can also try to check your output externally by a canned software like > ImageJ (free) so to match the results of your code. Also, I work with both > SIVP and IPD interchangeably because of the functions available in both of > this programs - and also it depends on what level of machine vision your > working on. > > Regards, > Berns B. > > > On Tue, Dec 27, 2011 at 2:04 PM, dina <[hidden email]> wrote: > > Hi Berns B, > > I'm sorry, I missed out your e-mail.It goes to spam folder.Anyway, can I > try with the SCE file you said previously? Don't you mind about that? > > Another thing is, the Scilab that I have installed can't read the .gif > image? is it because that I'm using the SIVP instead of SIP? > > Regards, > Dina > > > > > > --- On *Thu, 22/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists > Archives] <[hidden email] > >* wrote: > > > From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden > email] > > Subject: Re: Can't read and show image > To: "dina" <[hidden email] > > > Date: Thursday, 22 December, 2011, 3:37 AM > > Hi Dina: > > Same problem I meet with my students in elective class for physics majors > - image file pointing is the first real thing one need to do before even > doing any image processing! I'll send you an SCE file later for you to try > out next. > > Regards, > > Berns B. > > > > On Thu, Dec 22, 2011 at 3:01 PM, dina <[hidden email]> wrote: > > Hi Berns B, > > Thank you. i already try it, and it success. > > Regards, > dina > > --- On *Tue, 20/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists > Archives] <[hidden email] > >* wrote: > > > From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden > email] > > Subject: Re: Can't read and show image > To: "dina" <[hidden email] > > > Date: Tuesday, 20 December, 2011, 11:44 AM > > Hi: > > Try this: > > RGB = imread(SCI + '/contrib/sivp/0.5.3-2/images/lena.png'); > > > > > Regards, > Berns B. > > > > On Wed, Dec 21, 2011 at 12:57 AM, dina <[hidden email]> wrote: > > Hello, > > This is my first time using Scilab. And I have no experience at all. I'm > interested to learn Scilab, especially for image processing. > > I had installed Scilab 5.3.3 and SIVP 0.5.3 on my Windows XP. My first > attempt is to read and display image of lena.png. And I followed steps > inside tutorial,but failed.Could anyone help me with this. Am I missing > something? How do I know that my installation is working well? > > 1st attempt: > -->im=imread('lena.png'); > !--error 999 > imread: Can not open file lena.png. > > > 2nd attempt: > -->im=imread('C:\Program > Files\scilab-5.3.3\contrib\SIVP_0.5.3\images\lena.png'); > -->imshow(im); > !--error 999 > Bad (1 th) index in hypermatrix extraction. > > Thank you. > > > -- > View this message in context: > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > > > > -- > ========================================== > Bernardino Jerez Buenaobra > Motion Control Engineer > FW/Motion Control Laboratory > Lexmark Research and Development Corporation (LRDC) > 6F Lexmark Plaza 2 > Samar Loop corner Panay Road, > Cebu Business Park, Cebu City, > 6000 Philippines > Direct number: > +63322348763" target="_blank">+6332 234 8763 > Mobile: value="+639162911607" target="_blank">+639162911607" target="_blank"> href="tel:%2B639162911607" value="+639162911607" target="_blank"> > +639162911607 > [hidden email] > > Skype ID: poormanphysics > > "Res Imus Motus..."(We set things in motion) > ========================================== > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602117.html > To unsubscribe from Can't read and show image, click here. > NAML > > > ------------------------------ > View this message in context: Re: Can't read and show image > > Sent from the Scilab users - Mailing Lists Archives mailing list archiveat Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3606393.html > To unsubscribe from Can't read and show image, click here. > NAML > > > ------------------------------ > View this message in context: Re: Can't read and show image > Sent from the Scilab users - Mailing Lists Archives mailing list archiveat Nabble.com. > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3630905.html > To unsubscribe from Can't read and show image, click here. > NAML > > > ------------------------------ > View this message in context: Re: Can't read and show image > Sent from the Scilab users - Mailing Lists Archives mailing list archiveat Nabble.com. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julie.paul at scilab.org Thu Jan 5 13:04:40 2012 From: julie.paul at scilab.org (Julie PAUL) Date: Thu, 5 Jan 2012 13:04:40 +0100 Subject: [scilab-Users] Stop In-Reply-To: References: Message-ID: <20923683-A2CA-4E19-9661-965ED241D7E5@scilab.org> Dear Jaundre, To do so, please send an email to: users-fr-unsubscribe at lists.scilab.org Best Regards -- Julie PAUL Communication & Public Relations Scilab Consortium (Digiteo) Le 5 janv. 2012 ? 12:39, Jaundre Venter a ?crit : > Hi > > i please want to stop recieving emails from SCILAB users from now till further notice. > > Thanks > From julie.paul at scilab.org Thu Jan 5 13:46:58 2012 From: julie.paul at scilab.org (Julie PAUL) Date: Thu, 5 Jan 2012 13:46:58 +0100 Subject: [scilab-Users] Stop In-Reply-To: <20923683-A2CA-4E19-9661-965ED241D7E5@scilab.org> References: <20923683-A2CA-4E19-9661-965ED241D7E5@scilab.org> Message-ID: <772CB1A0-E634-4E88-82A5-97F6A9A95DE6@scilab.org> There is a mistake in the link I have just sent you. The correct link to unsubscribe from Scilab Users list is : users-unsubscribe at lists.scilab.org Best Regards -- Julie PAUL Communication & Public Relations Scilab Consortium (Digiteo) Le 5 janv. 2012 ? 13:04, Julie PAUL a ?crit : > Dear Jaundre, > > To do so, please send an email to: users-fr-unsubscribe at lists.scilab.org > Best Regards > > > -- > Julie PAUL > Communication & Public Relations > Scilab Consortium (Digiteo) > > > > Le 5 janv. 2012 ? 12:39, Jaundre Venter a ?crit : > >> Hi >> >> i please want to stop recieving emails from SCILAB users from now till further notice. >> >> Thanks >> > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From richard.shadbolt at btinternet.com Thu Jan 5 16:22:43 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Thu, 5 Jan 2012 07:22:43 -0800 (PST) Subject: Module Creation - Basic Question In-Reply-To: <4F057538.8080407@limsi.fr> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> <1325718896773-3633347.post@n3.nabble.com> <4F057538.8080407@limsi.fr> Message-ID: <1325776963707-3635181.post@n3.nabble.com> Hi Mathieu, Thanks - the startup file .scilab or scilab.ini is not present. Hence i assume i can create one and it will automatically be be loaded ?? I am using Windows 7 64bit - location is as per Vista instructions. Since the scilab.ini does not exist - can anyone provide the correct structure - unless it is the following : c:\users\richard\Appdata\Roaming\Scilab\scilab-5.3.3\impsec.sci As an example ?. Thanks and regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3635181.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Thu Jan 5 16:48:57 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 05 Jan 2012 16:48:57 +0100 Subject: [scilab-Users] Re: Module Creation - Basic Question In-Reply-To: <1325776963707-3635181.post@n3.nabble.com> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> <1325718896773-3633347.post@n3.nabble.com> <4F057538.8080407@limsi.fr> <1325776963707-3635181.post@n3.nabble.com> Message-ID: <4F05C669.4000406@limsi.fr> On 01/05/2012 04:22 PM, shadders wrote: > Hi Mathieu, > > Thanks - the startup file .scilab or scilab.ini is not present. > > Hence i assume i can create one and it will automatically be be loaded ?? Exactly. > I am using Windows 7 64bit - location is as per Vista instructions. > > Since the scilab.ini does not exist - can anyone provide the correct > structure - unless it is the following : > > c:\users\richard\Appdata\Roaming\Scilab\scilab-5.3.3\impsec.sci > > As an example ?. You can open scilab editor, write your instructions and save it in the right place. Besides, it is a simple text file that can be opened with any text editor. I don't have the file impsec.sci. I guess it the file Serge Steer sent in reply of your message about Delta matrix. If so you don't need to enclose your instruction in function ... endfunction blocks. The command to load a file is exec (see help page). > Thanks and regards, > > Richard. > > -- > View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3635181.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From richard.shadbolt at btinternet.com Thu Jan 5 16:59:51 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Thu, 5 Jan 2012 07:59:51 -0800 (PST) Subject: Module Creation - Basic Question In-Reply-To: <4F05C669.4000406@limsi.fr> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> <1325718896773-3633347.post@n3.nabble.com> <4F057538.8080407@limsi.fr> <1325776963707-3635181.post@n3.nabble.com> <4F05C669.4000406@limsi.fr> Message-ID: <1325779191790-3635336.post@n3.nabble.com> Hi Mathieu, Thanks - i have re-written the post above. I want the function impseq as a reusable fuction - if i remove the function and end function keywords - i assume that i cannot repeat the sequence - that is use impseq as a function in Scilab ?. Hence - for the solution provided - is there a way of implementing the function as a reusable function, or is the Modules the only way to achieve this ?. Thanks and regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3635336.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Thu Jan 5 17:25:02 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 05 Jan 2012 17:25:02 +0100 Subject: [scilab-Users] Re: Module Creation - Basic Question In-Reply-To: <1325779191790-3635336.post@n3.nabble.com> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> <1325718896773-3633347.post@n3.nabble.com> <4F057538.8080407@limsi.fr> <1325776963707-3635181.post@n3.nabble.com> <4F05C669.4000406@limsi.fr> <1325779191790-3635336.post@n3.nabble.com> Message-ID: <4F05CEDE.8070309@limsi.fr> Sorry if my post was confusing but you don't have to modify the impseq file. Leave it unchanged. What I meant was that you don't need to but function ... endfunction in your scilab startup file (of course you can). In your case the file would contain: exec('c:\users\richard\Appdata\Roaming\Scilab\scilab-5.3.3\impseq.sci', -1); Of course you should not move the impseq.sci without updating the startup file. On 01/05/2012 04:59 PM, shadders wrote: > Hi Mathieu, > > Thanks - i have re-written the post above. > > I want the function impseq as a reusable fuction - if i remove the function > and end function keywords - i assume that i cannot repeat the sequence - > that is use impseq as a function in Scilab ?. > > Hence - for the solution provided - is there a way of implementing the > function as a reusable function, or is the Modules the only way to achieve > this ?. > > Thanks and regards, > > Richard. > > -- > View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3635336.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From sgougeon at free.fr Thu Jan 5 23:44:41 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 05 Jan 2012 23:44:41 +0100 Subject: [scilab-Users] Weighting data in datafit In-Reply-To: <1325738955228-3633921.post@n3.nabble.com> References: <1325738955228-3633921.post@n3.nabble.com> Message-ID: <4F0627D9.103@free.fr> Hi, The W parameter of datafit() is not for weighting data but for weighting fitting criteria. Indeed, datafit can be used with several distances to be minimized, and the final criterium used is a weighted average of them. For instance, you can define the minimal vertical average distance between points and the model, or the horizontal distance, etc, and then state that the vertical average distance must count for 2/3, and the horizontal one for 1/3, etc. datafit() is unable to weight data. I have modified it ~one year ago to do so. I am attaching a modified release. After compiling datafit.sci with Scinotes, just type head_comments datafit to get help about the syntax with weighted data : The weighting matrix can be inserted just after the matrix of points. Several examples with weighted data are provided in the help. Using weighted data is much more standard than supporting weighted fitting multi-criteria. It is somewhat puzzling that implemented priorities have been inverted. HTH Samuel Le 05/01/2012 05:49, zugvogel a ?crit : > Hello, > I'm having a lot of trouble figuring out how to weight data-points for > fitting using "datafit". > > I have: > [p,err]=datafit(G,ndata,W,p0) > > The function G is: > function e=G(p, z), // output is "e", input "p" and "z" > y=z(1),x=z(2); // y is the top row, x bottom > e=y-FF(x,p), // optimise to zero, FF is my function > endfunction > > ndata is 2 rows and 12 columns, the top row being y-axis values and the > bottom row being x-axis values > > p0 is 4 rows and 1 column. > > W is my weighting matrix. I set this initially as just a 12x12 identity > matrix. > > I just can't get this to work however. I keep getting: > > ------------------- > -->[p,err]=datafit(G,ndata,W,p0) > !--error 15 > Submatrix incorrectly defined. > > at line 26 of function costf called by : > at line 174 of function datafit called by : > [p,err]=datafit(G,ndata,W,p0) > ------------------- > > Can anyone help me? I have tried changing W in many ways but I can't get it > to work. > The help section on datafit says W should be of size ne x ne, where G is > size ne x 1. I assume ne is the same as nz (ie, 12, the number of data > points) but maybe this is wrong? In any case I tried make ne=1,2,3...12 > (always a square matrix) but without success. If I do it without weighting, > it works. > > I would really appreciate any help. I'm completely out of ideas. > > Thank you! > > Tom > > -- > View this message in context: http://mailinglists.scilab.org/Weighting-data-in-datafit-tp3633921p3633921.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: datafit.sci URL: From richard.shadbolt at btinternet.com Thu Jan 5 17:36:04 2012 From: richard.shadbolt at btinternet.com (shadders) Date: Thu, 5 Jan 2012 08:36:04 -0800 (PST) Subject: Module Creation - Basic Question In-Reply-To: <4F05CEDE.8070309@limsi.fr> References: <1325350031997-3623487.post@n3.nabble.com> <1325699424671-3632558.post@n3.nabble.com> <1325718896773-3633347.post@n3.nabble.com> <4F057538.8080407@limsi.fr> <1325776963707-3635181.post@n3.nabble.com> <4F05C669.4000406@limsi.fr> <1325779191790-3635336.post@n3.nabble.com> <4F05CEDE.8070309@limsi.fr> Message-ID: <1325781364425-3635454.post@n3.nabble.com> Hi Mathieu, Superb - thanks - i have changed the exec function and it runs ok, without appearing on the screen. Thanks again for your help on this - much appreciated. Regards, Richard. -- View this message in context: http://mailinglists.scilab.org/Module-Creation-Basic-Question-tp3623487p3635454.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From noormadinah at yahoo.com Fri Jan 6 09:57:31 2012 From: noormadinah at yahoo.com (dina) Date: Fri, 6 Jan 2012 00:57:31 -0800 (PST) Subject: Can't read and show image In-Reply-To: References: <1324400254532-3601717.post@n3.nabble.com> <1324537279.68122.YahooMailClassic@web162006.mail.bf1.yahoo.com> <1324965836.91805.YahooMailClassic@web162003.mail.bf1.yahoo.com> <1325665788.24577.YahooMailClassic@web162002.mail.bf1.yahoo.com> Message-ID: <1325840243.38362.YahooMailClassic@web162005.mail.bf1.yahoo.com> Hi Berns B, Thank you. --- On Thu, 5/1/12, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] Subject: Re: Can't read and show image To: "dina" Date: Thursday, 5 January, 2012, 4:12 AM Hi Dina: My notes and the .SCE exercises I did in SIVP and IPD are all there in the Google Document folder. I would'nt like to attached them here it will be unnecessary for others, so I sent out to your yahoo email the access to it but don't exactly know if that can work - I suggest you create a gmail account too. Regards, Berns B. On Wed, Jan 4, 2012 at 4:30 PM, dina <[hidden email]> wrote: Hi Berns B, Thank you and enjoy your holiday. --- On Tue, 3/1/12, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> Subject: Re: Can't read and show image To: "dina" <[hidden email]> Date: Tuesday, 3 January, 2012, 7:05 PM Hi Dina: I have been out for a Christmas holiday with my wife and my classes at USC (Cebu, Philippines) will not start until next week so I have not gotten back to you on some of the examples I gave in class for the elective course I teach there for physics majors. Will send them to you over the weekend for your exercise (and give me feedback if you think its too easy, challenging, difficult etc.). I would suggest work on PNG, BMP and JPG files - when I was part of developing optical tests systems in my former work we used PNGs for automotive vision work at the school were kind of used in lossless BMPs and compressed JPEGS. You can also try to check your output externally by a canned software like ImageJ (free) so to match the results of your code. Also, I work with both SIVP and IPD interchangeably because of the functions available in both of this programs - and also it depends on what level of machine vision your working on. Regards, Berns B. On Tue, Dec 27, 2011 at 2:04 PM, dina <[hidden email]> wrote: Hi Berns B, I'm sorry, I missed out your e-mail.It goes to spam folder.Anyway, can I try with the SCE file you said previously? Don't you mind about that? Another thing is, the Scilab that I have installed can't read the .gif image? is it because that I'm using the SIVP instead of SIP? Regards, Dina ??????????????????????????????????????????????????????? --- On Thu, 22/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> Subject: Re: Can't read and show image To: "dina" <[hidden email]> Date: Thursday, 22 December, 2011, 3:37 AM Hi Dina: Same problem I meet with my students in elective class for physics majors - image file pointing is the first real thing one need to do before even doing any image processing! I'll send you an SCE file later for you to try out next. Regards, Berns B. On Thu, Dec 22, 2011 at 3:01 PM, dina <[hidden email]> wrote: Hi Berns B, Thank you. i already try it, and it success. Regards, dina --- On Tue, 20/12/11, Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> wrote: From: Berns Buenaobra [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> Subject: Re: Can't read and show image To: "dina" <[hidden email]> Date: Tuesday, 20 December, 2011, 11:44 AM Hi: Try this: RGB = imread(SCI + '/contrib/sivp/0.5.3-2/images/lena.png'); Regards, Berns B. On Wed, Dec 21, 2011 at 12:57 AM, dina <[hidden email]> wrote: Hello, This is my first time using Scilab. And I have no experience at all. I'm interested to learn Scilab, especially for image processing. I had installed Scilab 5.3.3 and SIVP 0.5.3 on my Windows XP. My first attempt is to read and display image of lena.png. And I followed steps inside tutorial,but failed.Could anyone help me with this. Am I missing something? How do I know that my installation is working well? 1st attempt: -->im=imread('lena.png'); ? ? ? ? ? ? ? ? ? ? ?!--error 999 imread: Can not open file lena.png. 2nd attempt: -->im=imread('C:\Program Files\scilab-5.3.3\contrib\SIVP_0.5.3\images\lena.png'); -->imshow(im); ? ? ? ? ? !--error 999 Bad (1 th) index in hypermatrix extraction. Thank you. -- View this message in context: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3601717.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- ========================================== Bernardino Jerez Buenaobra Motion Control Engineer FW/Motion Control Laboratory Lexmark Research and Development Corporation (LRDC) 6F Lexmark Plaza 2 Samar Loop corner Panay Road, Cebu Business Park, Cebu City, 6000 Philippines Direct number: +63322348763" target="_blank">+63322348763" target="_blank">+63322348763" target="_blank">+6332 234 8763 Mobile: +639162911607" target="_blank">+639162911607" target="_blank">+639162911607" target="_blank">+639162911607 [hidden email] Skype ID: poormanphysics "Res Imus Motus..."(We set things in motion) ========================================== If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3602117.html To unsubscribe from Can't read and show image, click here. NAML View this message in context: Re: Can't read and show image Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3606393.html To unsubscribe from Can't read and show image, click here. NAML View this message in context: Re: Can't read and show image Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3630905.html To unsubscribe from Can't read and show image, click here. NAML View this message in context: Re: Can't read and show image Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3634596.html To unsubscribe from Can't read and show image, click here. NAML -- View this message in context: http://mailinglists.scilab.org/Can-t-read-and-show-image-tp3601717p3637375.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri Jan 6 15:08:04 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 06 Jan 2012 15:08:04 +0100 Subject: [SPAM] Sci 5.3.3.exe Message-ID: <4F070044.8000906@centre-cired.fr> I installed Scialb 5.3.3 a while ago In the installation folder/bin, there are two executables: Sci 5.3.3.exe and WScilex.exe Can anyone explain the difference? I did not notice any Sci x.x.x executable in previous versions -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Fri Jan 6 16:44:36 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 6 Jan 2012 16:44:36 +0100 Subject: [scilab-Users] Sci 5.3.3.exe Message-ID: <000f01cccc8a$17dd1620$47974260$@scilab.org> Hi, What is the result of : -->ls('SCI/bin/*.exe') ans = !C:\Program Files (x86)\scilab-5.3.3\bin\xml2modelica.exe ! ! ! !C:\Program Files (x86)\scilab-5.3.3\bin\WScilex.exe ! ! ! !C:\Program Files (x86)\scilab-5.3.3\bin\Scilex.exe ! ! ! !C:\Program Files (x86)\scilab-5.3.3\bin\modelicat.exe ! ! ! !C:\Program Files (x86)\scilab-5.3.3\bin\modelicac.exe ! ! ! !C:\Program Files (x86)\scilab-5.3.3\bin\f2c.exe ! ! ! !C:\Program Files (x86)\scilab-5.3.3\bin\Dumpexts.exe ! What is your result ? I did not know ?: Sci 5.3.3.exe? Allan De : Adrien Vogt-Schilb [mailto:vogt at centre-cired.fr] Envoy? : vendredi 6 janvier 2012 15:08 ? : users at lists.scilab.org Objet : [scilab-Users] [SPAM] Sci 5.3.3.exe I installed Scialb 5.3.3 a while ago In the installation folder/bin, there are two executables: Sci 5.3.3.exe and WScilex.exe Can anyone explain the difference? I did not notice any Sci x.x.x executable in previous versions -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 73 77 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rei.listas at yahoo.com Sat Jan 7 01:44:07 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Fri, 6 Jan 2012 16:44:07 -0800 (PST) Subject: Scilab 5.3.3 and Mac OS Lion Message-ID: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> Hi, ? Do you know if Scilab 5.3.3 is available for Mac OS Lion ? ? Moreover, do you know if Mac OS Lion needs to have gcc or C(++) compiler installed to run Scilab (and its Scilab demos) or it comes as default (like Linux) ? ? Tnx. Reinaldo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.ervefel at hotmail.fr Sun Jan 8 17:48:00 2012 From: clement.ervefel at hotmail.fr (clemride) Date: Sun, 8 Jan 2012 08:48:00 -0800 (PST) Subject: xcos function Message-ID: <1326041280837-3642303.post@n3.nabble.com> Hello, I'm working on a simulation with xcos and I have a problem. I have a graphic function, I don't know the equation of this non linear fonction. I d like to create a block with in entry the value g, value of the X axis and extract the value f (on the Y axis of my plot) associated to the g value in entry. Can you help me please? What is th efunction to use on xcos ? Thank you -- View this message in context: http://mailinglists.scilab.org/xcos-function-tp3642303p3642303.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Sun Jan 8 22:24:06 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sun, 08 Jan 2012 22:24:06 +0100 Subject: [scilab-Users] Scilab 5.3.3 and Mac OS Lion In-Reply-To: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> References: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> Message-ID: <4F0A0976.5070207@limsi.fr> Hello, Le 07/01/2012 01:44, Reinaldo a ?crit : > Hi, > Do you know if Scilab 5.3.3 is available for Mac OS Lion ? I'm not a mac user but there was a lot of messages related to recent Mac OS X updates preventing scilab to work. If I understand correctly 5.3.3 doesn't work on Lion. you can try scilab 5.4 beta. > Moreover, do you know if Mac OS Lion needs to have gcc or C(++) compiler > installed to run Scilab (and its Scilab demos) or it comes as /default/ > (like Linux) ? You don't need gcc to run scilab (except if you want to compile modules of course). > Tnx. > Reinaldo. From sylvestre.ledru at scilab-enterprises.com Mon Jan 9 03:53:36 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 09 Jan 2012 03:53:36 +0100 Subject: [scilab-Users] Scilab 5.3.3 and Mac OS Lion In-Reply-To: <4F0A0976.5070207@limsi.fr> References: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> <4F0A0976.5070207@limsi.fr> Message-ID: <1326077616.21814.1.camel@pomegues.inria.fr> Le dimanche 08 janvier 2012 ? 22:24 +0100, Mathieu Dubois a ?crit : > Hello, > > Le 07/01/2012 01:44, Reinaldo a ?crit : > > Hi, > > Do you know if Scilab 5.3.3 is available for Mac OS Lion ? > I'm not a mac user but there was a lot of messages related to recent Mac > OS X updates preventing scilab to work. If I understand correctly 5.3.3 > doesn't work on Lion. you can try scilab 5.4 beta. Mathieu is right (beside the fact that it be working with the alpha 1 ;) > > Moreover, do you know if Mac OS Lion needs to have gcc or C(++) compiler > > installed to run Scilab (and its Scilab demos) or it comes as /default/ > > (like Linux) ? > You don't need gcc to run scilab (except if you want to compile modules > of course). Or some Xcos features. Anyway, Xcos is providing this for Mac OS X (and clang, the future Apple default C/C++ compiler, works well with Scilab too). Cheers, S -- ----------------------------- Sylvestre Ledru Projects manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From slamberger980 at gmail.com Mon Jan 9 00:32:39 2012 From: slamberger980 at gmail.com (=?ISO-8859-2?Q?marko_=B9lamberger?=) Date: Mon, 9 Jan 2012 00:32:39 +0100 Subject: Integration Message-ID: Hello, i have a one question about integrals in Scilab. Can I in Scilab work with indenfinited integrals or only with definited? Best regards Marko -------------- next part -------------- An HTML attachment was scrubbed... URL: From rei.listas at yahoo.com Mon Jan 9 12:42:15 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Mon, 9 Jan 2012 03:42:15 -0800 (PST) Subject: [scilab-Users] Scilab 5.3.3 and Mac OS Lion In-Reply-To: <1326077616.21814.1.camel@pomegues.inria.fr> References: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> <4F0A0976.5070207@limsi.fr> <1326077616.21814.1.camel@pomegues.inria.fr> Message-ID: <1326109335.22259.YahooMailNeo@web122502.mail.ne1.yahoo.com> Sorry, I just do not understand "the future Apple default C/C++ compiler, works well with Scilab too)". ? I read some news about this issue and seems that??Mac OS X Lion has not C/C++ compiler unfortunately, but I think it could be installed. ? It is important to have C/C++ compiler working well for simulate some modules and Xcos ! ? So, do you think that the Scilab version 5.3.4 and upper can run over Mac OS X Lion ? That's a good news. ? Thank you for your answers. ? All best, R.? ________________________________ De: Sylvestre Ledru Para: users at lists.scilab.org Enviadas: Segunda-feira, 9 de Janeiro de 2012 0:53 Assunto: Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion Le dimanche 08 janvier 2012 ? 22:24 +0100, Mathieu Dubois a ?crit : > Hello, > > Le 07/01/2012 01:44, Reinaldo a ?crit : > > Hi, > > Do you know if Scilab 5.3.3 is available for Mac OS Lion ? > I'm not a mac user but there was a lot of messages related to recent Mac > OS X updates preventing scilab to work. If I understand correctly 5.3.3 > doesn't work on Lion. you can try scilab 5.4 beta. Mathieu is right (beside the fact that it? be working with the alpha 1 ;) > > Moreover, do you know if Mac OS Lion needs to have gcc or C(++) compiler > > installed to run Scilab (and its Scilab demos) or it comes as /default/ > > (like Linux) ? > You don't need gcc to run scilab (except if you want to compile modules > of course). Or some Xcos features. Anyway, Xcos is providing this for Mac OS X (and clang, the future Apple default C/C++ compiler, works well with Scilab too). ? Cheers, S -- ----------------------------- Sylvestre Ledru Projects manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Mon Jan 9 15:18:41 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Mon, 09 Jan 2012 15:18:41 +0100 Subject: [scilab-Users] Scilab 5.3.3 and Mac OS Lion In-Reply-To: <1326109335.22259.YahooMailNeo@web122502.mail.ne1.yahoo.com> References: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> <4F0A0976.5070207@limsi.fr> <1326077616.21814.1.camel@pomegues.inria.fr> <1326109335.22259.YahooMailNeo@web122502.mail.ne1.yahoo.com> Message-ID: <4F0AF741.7030406@limsi.fr> On 01/09/2012 12:42 PM, Reinaldo wrote: > Sorry, I just do not understand "the future Apple default C/C++ > compiler, works well with Scilab too)". > I read some news about this issue and seems that Mac OS X Lion has > not C/C++ compiler unfortunately, but I think it could be installed. > It is important to have C/C++ compiler working well for simulate some > modules and Xcos ! > So, do you think that the Scilab version 5.3.4 and upper can run over > Mac OS X Lion ? That's a good news. If I understand correctly, scilab 5.4 will work on Lion (and provide gcc). > Thank you for your answers. > All best, > R. > *De:* Sylvestre Ledru > *Para:* users at lists.scilab.org > *Enviadas:* Segunda-feira, 9 de Janeiro de 2012 0:53 > *Assunto:* Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion > > Le dimanche 08 janvier 2012 ? 22:24 +0100, Mathieu Dubois a ?crit : > > Hello, > > > > Le 07/01/2012 01:44, Reinaldo a ?crit : > > > Hi, > > > Do you know if Scilab 5.3.3 is available for Mac OS Lion ? > > I'm not a mac user but there was a lot of messages related to recent > Mac > > OS X updates preventing scilab to work. If I understand correctly 5.3.3 > > doesn't work on Lion. you can try scilab 5.4 beta. > Mathieu is right (beside the fact that it be working with the alpha 1 ;) > > > > Moreover, do you know if Mac OS Lion needs to have gcc or C(++) > compiler > > > installed to run Scilab (and its Scilab demos) or it comes as > /default/ > > > (like Linux) ? > > You don't need gcc to run scilab (except if you want to compile modules > > of course). > Or some Xcos features. > > Anyway, Xcos is providing this for Mac OS X (and clang, the future Apple > default C/C++ compiler, works well with Scilab too). > > Cheers, > S > > > -- > ----------------------------- > Sylvestre Ledru > Projects manager > Community manager > ----------------------------- > Scilab Enterprises > http://www.scilab-enterprises.com/ > http://www.scilab.org/ > ----------------------------- > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shreesha2008 at gmail.com Mon Jan 9 16:00:33 2012 From: shreesha2008 at gmail.com (=?UTF-8?B?4Lij0ZLQs2Vl?=) Date: Mon, 9 Jan 2012 20:30:33 +0530 Subject: hi need help. In-Reply-To: References: Message-ID: Hi i.m using sci lab and need to know the instructions to plot a circle of unit radius. The commands and their meanings. Also commands to plot sphere and 2 d and 3d graphs. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Mon Jan 9 16:51:25 2012 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Mon, 9 Jan 2012 16:51:25 +0100 Subject: [scilab-Users] hi need help. In-Reply-To: References: Message-ID: <12600_1326124288_4F0B0D00_12600_1544_1_908CBC9017354841B2F32BBEC70A05A101C37524BC5A@THSONEA01CMS01P.one.grp> Hello! Simplest case: r=1; // radius of the circle = unity t=0:0.01:2*%pi; //row vector of "angle values" in radians from 0 to 2pi by steps of 0.01 rd t=t'; // transposition, as plot2d will require column vectors for cartesian coordinates x and y plot2d(r*cos(t),r*sin(t)); // or x=r*cos(t); y=r*sin(t); plot2d(x,y); HTH Denis Unit? Mixte de Physique CNRS / THALES 1 Avenue Augustin Fresnel 91767 Palaiseau CEDEx - France Tel : +33 (0)1 69 41 58 52 Fax : +33 (0)1 69 41 58 78 e-mail : denis.crete at thalesgroup.com http://www.trt.thalesgroup.com/ump-cnrs-thales http://www.research.thalesgroup.com/ GPS: Long. : E 2? 12' 7 Lat. : N 48? 42' 52 The information contained in this e-mail/fax and any attachments are the property of THALES and may be confidential. If you are not the intended recipient, please notify us immediately, send this message back to us and destroy it. You are hereby notified that any review, dissemination, distribution, copying or otherwise use of this e-mail/fax is strictly prohibited. De : ???ee [mailto:shreesha2008 at gmail.com] Envoy? : lundi 9 janvier 2012 16:01 ? : users at lists.scilab.org Objet : [scilab-Users] hi need help. Hi i.m using sci lab and need to know the instructions to plot a circle of unit radius. The commands and their meanings. Also commands to plot sphere and 2 d and 3d graphs. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rei.listas at yahoo.com Mon Jan 9 17:00:12 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Mon, 9 Jan 2012 08:00:12 -0800 (PST) Subject: [scilab-Users] Scilab 5.3.3 and Mac OS Lion In-Reply-To: <4F0AF741.7030406@limsi.fr> References: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> <4F0A0976.5070207@limsi.fr> <1326077616.21814.1.camel@pomegues.inria.fr> <1326109335.22259.YahooMailNeo@web122502.mail.ne1.yahoo.com> <4F0AF741.7030406@limsi.fr> Message-ID: <1326124812.75770.YahooMailNeo@web122512.mail.ne1.yahoo.com> Oh ,, good !!! Will gcc be embedded in Scilab 5.3.4 ? Excellent ... because Mac OX Lion hasn't C/C++ compiler ... Seems that it could be installed through Xcode ... ________________________________ De: Mathieu Dubois Para: users at lists.scilab.org Enviadas: Segunda-feira, 9 de Janeiro de 2012 12:18 Assunto: Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion On 01/09/2012 12:42 PM, Reinaldo wrote: Sorry, I just do not understand "the future Apple default C/C++ compiler, works well with Scilab too)". >? >I read some news about this issue and seems that??Mac OS X Lion has not C/C++ compiler unfortunately, but I think it could be installed. >? >It is important to have C/C++ compiler working well for simulate some modules and Xcos ! >? >So, do you think that the Scilab version 5.3.4 and upper can run over Mac OS X Lion ? That's a good news. If I understand correctly, scilab 5.4 will work on Lion (and provide gcc). ? >Thank you for your answers. >? >All best, >R. ? >De: Sylvestre Ledru >Para: users at lists.scilab.org >Enviadas: Segunda-feira, 9 de Janeiro de 2012 0:53 >Assunto: Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion > >Le dimanche 08 janvier 2012 ? 22:24 +0100, Mathieu Dubois a ?crit : >> Hello, >> >> Le 07/01/2012 01:44, Reinaldo a ?crit : >> > Hi, >> > Do you know if Scilab 5.3.3 is available for Mac OS Lion ? >> I'm not a mac user but there was a lot of messages related to recent Mac >> OS X updates preventing scilab to work. If I understand correctly 5.3.3 >> doesn't work on Lion. you can try scilab 5.4 beta. >Mathieu is right (beside the fact that it? be working with the alpha 1 ;) > >> > Moreover, do you know if Mac OS Lion needs to have gcc or C(++) compiler >> > installed to run Scilab (and its Scilab demos) or it comes as /default/ >> > (like Linux) ? >> You don't need gcc to run scilab (except if you want to compile modules >> of course). >Or some Xcos features. > >Anyway, Xcos is providing this for Mac OS X (and clang, the future Apple >default C/C++ compiler, works well with Scilab too). >? >Cheers, >S > > >-- >----------------------------- >Sylvestre Ledru >Projects manager >Community manager >----------------------------- >Scilab Enterprises >http://www.scilab-enterprises.com/ >http://www.scilab.org/ >----------------------------- > > > >-- >To unsubscribe from this mailing-list, please send an empty mail to >users-unsubscribe at lists.scilab.org >To check the archives of this mailing list, see >http://mailinglists.scilab.org/ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.ervefel at hotmail.fr Mon Jan 9 18:20:12 2012 From: clement.ervefel at hotmail.fr (clemride) Date: Mon, 9 Jan 2012 09:20:12 -0800 (PST) Subject: Simulation Message-ID: <1326129612721-3645164.post@n3.nabble.com> http://mailinglists.scilab.org/file/n3645164/Partie_courbe_glissement.xcos Partie_courbe_glissement.xcos Could you help me to solve the problem please. I'd like to make a function such as: The entry comes from O to 1. When it is between 0 and 0,2 I 'd like to make the product of the entry with the value 6 and when the entry is between 0,2 and 1, I like to make the prduct of the entry with the gain 0,375. That would make me an output depending on the entry. I did it in this file with a chosen entry but it does'nt work. It is said (error type or port). What does that mean? Can you help me ? Thanks -- View this message in context: http://mailinglists.scilab.org/Simulation-tp3645164p3645164.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rcorderog at gmail.com Mon Jan 9 19:08:46 2012 From: rcorderog at gmail.com (Cordero R. ) Date: Mon, 9 Jan 2012 13:08:46 -0500 Subject: [scilab-Users] Simulation In-Reply-To: <1326129612721-3645164.post@n3.nabble.com> References: <1326129612721-3645164.post@n3.nabble.com> Message-ID: Hi The problem is that decimal numbers must be written using point (.) not comma (,). Making this change, your simulation runs. I will give you a easier diagram for your algorithm. Att. MsC. R. Cordero Per? 2012/1/9 clemride > http://mailinglists.scilab.org/file/n3645164/Partie_courbe_glissement.xcos > Partie_courbe_glissement.xcos > > > Could you help me to solve the problem please. > > I'd like to make a function such as: > > The entry comes from O to 1. When it is between 0 and 0,2 I 'd like to make > the product of the entry with the value 6 and when the entry is between 0,2 > and 1, I like to make the prduct of the entry with the gain 0,375. > > That would make me an output depending on the entry. I did it in this file > with a chosen entry but it does'nt work. It is said (error type or port). > What does that mean? Can you help me ? > > Thanks > > -- > View this message in context: > http://mailinglists.scilab.org/Simulation-tp3645164p3645164.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: simulation1.xcos Type: application/octet-stream Size: 44864 bytes Desc: not available URL: From allan.cornet at scilab.org Tue Jan 10 08:21:55 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 10 Jan 2012 08:21:55 +0100 Subject: [scilab-Users] Scilab 5.3.3 and Mac OS Lion In-Reply-To: <1326124812.75770.YahooMailNeo@web122512.mail.ne1.yahoo.com> References: <1325897047.35020.YahooMailNeo@web122517.mail.ne1.yahoo.com> <4F0A0976.5070207@limsi.fr> <1326077616.21814.1.camel@pomegues.inria.fr> <1326109335.22259.YahooMailNeo@web122502.mail.ne1.yahoo.com> <4F0AF741.7030406@limsi.fr> <1326124812.75770.YahooMailNeo@web122512.mail.ne1.yahoo.com> Message-ID: <004401cccf68$884910e0$98db32a0$@scilab.org> Hi, Scilab 5.4 works on MacOs X Lion, you can try alpha version here: http://www.scilab.org/products/scilab/download/alpha Scilab detects if a C/C++ compiler is installed on your platform and uses it. On MacOs X, you can download and use Xcode 4 (from Mac App store) http://help.scilab.org/docs/5.4.0-alpha-1/en_US/supported_compilers.html Happy new year Allan De : Reinaldo [mailto:rei.listas at yahoo.com] Envoy? : lundi 9 janvier 2012 17:00 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion Oh ,, good !!! Will gcc be embedded in Scilab 5.3.4 ? Excellent ... because Mac OX Lion hasn't C/C++ compiler ... Seems that it could be installed through Xcode ... _____ De: Mathieu Dubois Para: users at lists.scilab.org Enviadas: Segunda-feira, 9 de Janeiro de 2012 12:18 Assunto: Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion On 01/09/2012 12:42 PM, Reinaldo wrote: Sorry, I just do not understand "the future Apple default C/C++ compiler, works well with Scilab too)". I read some news about this issue and seems that Mac OS X Lion has not C/C++ compiler unfortunately, but I think it could be installed. It is important to have C/C++ compiler working well for simulate some modules and Xcos ! So, do you think that the Scilab version 5.3.4 and upper can run over Mac OS X Lion ? That's a good news. If I understand correctly, scilab 5.4 will work on Lion (and provide gcc). Thank you for your answers. All best, R. De: Sylvestre Ledru Para: users at lists.scilab.org Enviadas: Segunda-feira, 9 de Janeiro de 2012 0:53 Assunto: Re: [scilab-Users] Scilab 5.3.3 and Mac OS Lion Le dimanche 08 janvier 2012 ? 22:24 +0100, Mathieu Dubois a ?crit : > Hello, > > Le 07/01/2012 01:44, Reinaldo a ?crit : > > Hi, > > Do you know if Scilab 5.3.3 is available for Mac OS Lion ? > I'm not a mac user but there was a lot of messages related to recent Mac > OS X updates preventing scilab to work. If I understand correctly 5.3.3 > doesn't work on Lion. you can try scilab 5.4 beta. Mathieu is right (beside the fact that it be working with the alpha 1 ;) > > Moreover, do you know if Mac OS Lion needs to have gcc or C(++) compiler > > installed to run Scilab (and its Scilab demos) or it comes as /default/ > > (like Linux) ? > You don't need gcc to run scilab (except if you want to compile modules > of course). Or some Xcos features. Anyway, Xcos is providing this for Mac OS X (and clang, the future Apple default C/C++ compiler, works well with Scilab too). Cheers, S -- ----------------------------- Sylvestre Ledru Projects manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Tue Jan 10 08:42:53 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 10 Jan 2012 08:42:53 +0100 Subject: [scilab-Users] Help GPIB In-Reply-To: <705C6687AD6448DBB8723EF0594518BE@wjg4a767dea863> References: <705C6687AD6448DBB8723EF0594518BE@wjg4a767dea863> Message-ID: <004f01cccf6b$76121a90$62364fb0$@scilab.org> Hi, You must install NI drivers DAQmx: http://www.ni.com/dataacquisition/f/nidaqmx.htm Allan De : Wagner [mailto:wagner.guilherme at itelefonica.com.br] Envoy? : vendredi 10 f?vrier 2012 08:40 ? : scilab Objet : [scilab-Users] Help GPIB Hello to all you Sir's i have one GPIB NI488, but it not run on Scilab, and i don't have idea, to make it I install the NIDAQ tool, but it return-me with this error below: Start NIDAQ AVISO: NI-DAQmx 9.4.x drivers not detected I thank you by the help 73 de PY2RPD Wagner Sao Paulo/Brazil -------------- next part -------------- An HTML attachment was scrubbed... URL: From Till.Straumann at alumni.TU-Berlin.de Tue Jan 10 22:13:35 2012 From: Till.Straumann at alumni.TU-Berlin.de (Till Straumann) Date: Tue, 10 Jan 2012 15:13:35 -0600 Subject: new api_scilab and stack-c.h Message-ID: <4F0CA9FF.5070209@alumni.TU-Berlin.de> Hello. I'm looking into migrating a toolbox (written in C/C++) to the new 'api_scilab'. I had used 'stack-c.h' in the past which now warns that this is deprecated and that it will be removed. However, I'm unable to build any of the api_scilab examples without also including 'stack-c.h' (or I get a lot of errors) plus, at the top of stack-c.h we find #ifndef API_SCILAB_VERSION #pragma message("Using stack-c.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack-c.h API will be removed after Scilab 6.0.") #endif so it seems we must #include #include for now. Is that not somewhat broken by design? Assuming I upgrade everything to api_scilab then I'll have to work on it again after scilab-6.0 (since stack-c.h is gone by then) ? Can someone shed some light, please? Please CC me - I'm not subscribed to the mailing list. Thanks -- Till PS: I tried to compile the example given on the scilab-5.3.3 help page for getVarType() (API Scilab>Low level functions>Variable Type (Scilab gateway)) Unfortunately, the example doesn't contain any #include directives. If I #include at the top then the compiler says: gcc -I /usr/include/scilab/ tst.c -c -O2 tst.c: In function ?common_function?: tst.c:13:21: error: ?Rhs? undeclared (first use in this function) tst.c:13:21: note: each undeclared identifier is reported only once for each function it appears in tst.c:33:15: error: lvalue required as left operand of assignment tst.c: In function ?printf_info?: tst.c:65:14: error: ?sci_matrix? undeclared (first use in this function) tst.c:68:14: error: ?sci_poly? undeclared (first use in this function) tst.c:71:14: error: ?sci_boolean? undeclared (first use in this function) tst.c:74:14: error: ?sci_sparse? undeclared (first use in this function) tst.c:77:14: error: ?sci_boolean_sparse? undeclared (first use in this function) tst.c:80:14: error: ?sci_ints? undeclared (first use in this function) tst.c:101:14: error: ?sci_strings? undeclared (first use in this function) tst.c:104:14: error: ?sci_list? undeclared (first use in this function) tst.c:107:14: error: ?sci_tlist? undeclared (first use in this function) tst.c:110:14: error: ?sci_mlist? undeclared (first use in this function) but if I #include #include then the compilation goes through without errors. From Mike at Page-One.Waitrose.com Tue Jan 10 23:12:25 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Tue, 10 Jan 2012 22:12:25 -0000 Subject: [scilab-Users] new api_scilab and stack-c.h In-Reply-To: <4F0CA9FF.5070209@alumni.TU-Berlin.de> Message-ID: Hi Till, I have found exactly the same problem. I have built a library in C for use with Scilab and I also have to include both api_scilab.h and stack-c.h in order for the code to compile. Although the warning says it is deprecated, it does appear to work correctly as of Scilab 5.3.3. But I agree, we will have some extra work to do if stack-c.h is removed in Scilab 6.0. I look forward to hearing the official answer to this problem. Regards, Mike. -----Original Message----- From: Till Straumann [mailto:Till.Straumann at alumni.TU-Berlin.de] Sent: 10 January 2012 21:14 To: users at lists.scilab.org Subject: [scilab-Users] new api_scilab and stack-c.h Hello. I'm looking into migrating a toolbox (written in C/C++) to the new 'api_scilab'. I had used 'stack-c.h' in the past which now warns that this is deprecated and that it will be removed. However, I'm unable to build any of the api_scilab examples without also including 'stack-c.h' (or I get a lot of errors) plus, at the top of stack-c.h we find #ifndef API_SCILAB_VERSION #pragma message("Using stack-c.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack-c.h API will be removed after Scilab 6.0.") #endif so it seems we must #include #include for now. Is that not somewhat broken by design? Assuming I upgrade everything to api_scilab then I'll have to work on it again after scilab-6.0 (since stack-c.h is gone by then) ? Can someone shed some light, please? Please CC me - I'm not subscribed to the mailing list. Thanks -- Till PS: I tried to compile the example given on the scilab-5.3.3 help page for getVarType() (API Scilab>Low level functions>Variable Type (Scilab gateway)) Unfortunately, the example doesn't contain any #include directives. If I #include at the top then the compiler says: gcc -I /usr/include/scilab/ tst.c -c -O2 tst.c: In function ?common_function?: tst.c:13:21: error: ?Rhs? undeclared (first use in this function) tst.c:13:21: note: each undeclared identifier is reported only once for each function it appears in tst.c:33:15: error: lvalue required as left operand of assignment tst.c: In function ?printf_info?: tst.c:65:14: error: ?sci_matrix? undeclared (first use in this function) tst.c:68:14: error: ?sci_poly? undeclared (first use in this function) tst.c:71:14: error: ?sci_boolean? undeclared (first use in this function) tst.c:74:14: error: ?sci_sparse? undeclared (first use in this function) tst.c:77:14: error: ?sci_boolean_sparse? undeclared (first use in this function) tst.c:80:14: error: ?sci_ints? undeclared (first use in this function) tst.c:101:14: error: ?sci_strings? undeclared (first use in this function) tst.c:104:14: error: ?sci_list? undeclared (first use in this function) tst.c:107:14: error: ?sci_tlist? undeclared (first use in this function) tst.c:110:14: error: ?sci_mlist? undeclared (first use in this function) but if I #include #include then the compilation goes through without errors. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From s.schreckenbach at truma.com Wed Jan 11 12:04:06 2012 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Wed, 11 Jan 2012 12:04:06 +0100 Subject: XCOS - dynamic data input Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DC@truma-mail.truma.com> Hi, is there a possibility to do input parameter changes during runtime of XCOS? Something like changing a gain during the calculation of the dynamic system. Stephan -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Wed Jan 11 13:38:20 2012 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 11 Jan 2012 13:38:20 +0100 Subject: [scilab-Users] XCOS - dynamic data input In-Reply-To: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DC@truma-mail.truma.com> References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DC@truma-mail.truma.com> Message-ID: <1326285500.2048.24.camel@work> Hello, All parameters are fixed per simulation as the parameters evaluation can lead to structural changes (which need recompilation). However you can perform multiple simulation for multiple gain value (not really dynamic) or you can add a MATMUL linked to any dynamic source (constant or not) to mimic a gain. -- Cl?ment Le mercredi 11 janvier 2012 ? 12:04 +0100, Schreckenbach Stephan a ?crit : > Hi, > > > > is there a possibility to do input parameter changes during runtime of > XCOS? > > Something like changing a gain during the calculation of the dynamic > system. > > > > Stephan > > > > > > > > > > > -- Cl?ment David Scilab Enterprises From s.schreckenbach at truma.com Wed Jan 11 13:55:54 2012 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Wed, 11 Jan 2012 13:55:54 +0100 Subject: AW: [scilab-Users] XCOS - dynamic data input In-Reply-To: <1326285500.2048.24.camel@work> References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DC@truma-mail.truma.com> <1326285500.2048.24.camel@work> Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DD@truma-mail.truma.com> Hello, what I would need is something that emulates a slider that sets and shifts values within a certain range during runtime and therefore allows for user interactions during the progress in time is calculated. Mit freundlichem Gru? Stephan Schreckenbach -----Urspr?ngliche Nachricht----- Von: Cl?ment David [mailto:clement.david at scilab-enterprises.com] Gesendet: Mittwoch, 11. Januar 2012 13:38 An: users at lists.scilab.org Betreff: Re: [scilab-Users] XCOS - dynamic data input Hello, All parameters are fixed per simulation as the parameters evaluation can lead to structural changes (which need recompilation). However you can perform multiple simulation for multiple gain value (not really dynamic) or you can add a MATMUL linked to any dynamic source (constant or not) to mimic a gain. -- Cl?ment Le mercredi 11 janvier 2012 ? 12:04 +0100, Schreckenbach Stephan a ?crit : > Hi, > > > > is there a possibility to do input parameter changes during runtime of > XCOS? > > Something like changing a gain during the calculation of the dynamic > system. > > > > Stephan > > > > > > > > > > > -- Cl?ment David Scilab Enterprises -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From Serge.Steer at inria.fr Wed Jan 11 14:14:40 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 11 Jan 2012 14:14:40 +0100 Subject: AW: [scilab-Users] XCOS - dynamic data input In-Reply-To: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DD@truma-mail.truma.com> References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DC@truma-mail.truma.com> <1326285500.2048.24.camel@work> <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DD@truma-mail.truma.com> Message-ID: <4F0D8B40.4020705@inria.fr> please give a look at the TKscale block (input palette) Serge Steer INRIA Le 11/01/2012 13:55, Schreckenbach Stephan a ?crit : > Hello, > > what I would need is something that emulates a slider that sets and shifts > values within a certain range during runtime and therefore allows for > user interactions during the progress in time is calculated. > > Mit freundlichem Gru? > > Stephan Schreckenbach > > > -----Urspr?ngliche Nachricht----- > Von: Cl?ment David [mailto:clement.david at scilab-enterprises.com] > Gesendet: Mittwoch, 11. Januar 2012 13:38 > An: users at lists.scilab.org > Betreff: Re: [scilab-Users] XCOS - dynamic data input > > Hello, > > All parameters are fixed per simulation as the parameters evaluation can > lead to structural changes (which need recompilation). > > However you can perform multiple simulation for multiple gain value (not > really dynamic) or you can add a MATMUL linked to any dynamic source > (constant or not) to mimic a gain. > > -- > Cl?ment > > Le mercredi 11 janvier 2012 ? 12:04 +0100, Schreckenbach Stephan a > ?crit : >> Hi, >> >> >> >> is there a possibility to do input parameter changes during runtime of >> XCOS? >> >> Something like changing a gain during the calculation of the dynamic >> system. >> >> >> >> Stephan >> >> >> >> >> >> >> >> >> >> >> From s.schreckenbach at truma.com Wed Jan 11 14:48:10 2012 From: s.schreckenbach at truma.com (Schreckenbach Stephan) Date: Wed, 11 Jan 2012 14:48:10 +0100 Subject: AW: AW: [scilab-Users] XCOS - dynamic data input In-Reply-To: <4F0D8B40.4020705@inria.fr> References: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DC@truma-mail.truma.com> <1326285500.2048.24.camel@work> <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DD@truma-mail.truma.com> <4F0D8B40.4020705@inria.fr> Message-ID: <0C8A93DCC52C6C4FAD91B1BF0782FFEE0602D2DF@truma-mail.truma.com> Thanks, That's what I looked for. -----Urspr?ngliche Nachricht----- Von: Serge Steer [mailto:Serge.Steer at inria.fr] Gesendet: Mittwoch, 11. Januar 2012 14:15 An: users at lists.scilab.org Betreff: Re: AW: [scilab-Users] XCOS - dynamic data input please give a look at the TKscale block (input palette) Serge Steer INRIA Le 11/01/2012 13:55, Schreckenbach Stephan a ?crit : > Hello, > > what I would need is something that emulates a slider that sets and shifts > values within a certain range during runtime and therefore allows for > user interactions during the progress in time is calculated. > > Mit freundlichem Gru? > > Stephan Schreckenbach > > > -----Urspr?ngliche Nachricht----- > Von: Cl?ment David [mailto:clement.david at scilab-enterprises.com] > Gesendet: Mittwoch, 11. Januar 2012 13:38 > An: users at lists.scilab.org > Betreff: Re: [scilab-Users] XCOS - dynamic data input > > Hello, > > All parameters are fixed per simulation as the parameters evaluation can > lead to structural changes (which need recompilation). > > However you can perform multiple simulation for multiple gain value (not > really dynamic) or you can add a MATMUL linked to any dynamic source > (constant or not) to mimic a gain. > > -- > Cl?ment > > Le mercredi 11 janvier 2012 ? 12:04 +0100, Schreckenbach Stephan a > ?crit : >> Hi, >> >> >> >> is there a possibility to do input parameter changes during runtime of >> XCOS? >> >> Something like changing a gain during the calculation of the dynamic >> system. >> >> >> >> Stephan >> >> >> >> >> >> >> >> >> >> >> -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From jayneil.dalal at gmail.com Wed Jan 11 15:46:13 2012 From: jayneil.dalal at gmail.com (Jayneil Dalal) Date: Wed, 11 Jan 2012 20:31:13 +0545 Subject: Porting Scilab to Android In-Reply-To: References: Message-ID: Dear all, I am currently a member of the Aakash Tablet(http://aakashtablet.org/) team. Aakash tablet is the world's cheapest tablet at $32!!! I am doing my under graduate studies in India. We have conducted a lot of workshops on Scilab in colleges all over India under the spoken tutorial project( http://spoken-tutorial.org/). So I would like to port Scilab to Android so that processing can be done on a mobile platform. If someone is willing to mentor and guide me, I will start the project of porting scilab to Android. Looking forward to your positive response. Cheers, Jayneil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Wed Jan 11 15:48:24 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Wed, 11 Jan 2012 15:48:24 +0100 Subject: [Scilab-Dev] Porting Scilab to Android In-Reply-To: References: Message-ID: <1326293304.23628.15.camel@korcula.inria.fr> Le mercredi 11 janvier 2012 ? 20:29 +0545, Jayneil Dalal a ?crit : > Dear all, > > > I am currently a member of the Aakash > Tablet(http://aakashtablet.org/) team. Aakash tablet is the world's > cheapest tablet at $32!!! I am doing my under graduate studies in > India. We have conducted a lot of workshops on Scilab in colleges all > over India under the spoken tutorial > project(http://spoken-tutorial.org/). Thanks for your work. > > So I would like to port Scilab to Android so that processing can be > done on a mobile platform. > > > If someone is willing to mentor and guide me, I will start the project > of porting scilab to Android. Thanks for the initiative. I am available to help you on this task. How do you want to proceed ? You can ask your question on the dev mailing list or if you prefer, privately. Regards, Sylvestre From berns.buenaobra at gmail.com Thu Jan 12 05:31:59 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Thu, 12 Jan 2012 12:31:59 +0800 Subject: [scilab-Users] Porting Scilab to Android In-Reply-To: References: Message-ID: Hi Jayneil: Nice links specially the spoken tutorial project I would like to use those videos on my class if its alright. Regards, Berns B. On Wed, Jan 11, 2012 at 10:46 PM, Jayneil Dalal wrote: > Dear all, > > I am currently a member of the Aakash Tablet(http://aakashtablet.org/) team. > Aakash tablet is the world's cheapest tablet at $32!!! I am doing my under > graduate studies in India. We have conducted a lot of workshops on Scilab > in colleges all over India under the spoken tutorial project( > http://spoken-tutorial.org/). > > So I would like to port Scilab to Android so that processing can be done > on a mobile platform. > > If someone is willing to mentor and guide me, I will start the project of > porting scilab to Android. > > Looking forward to your positive response. > > Cheers, > Jayneil. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Fri Jan 13 23:44:45 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 13 Jan 2012 23:44:45 +0100 Subject: [scilab-Users] new api_scilab and stack-c.h In-Reply-To: <4F0CA9FF.5070209@alumni.TU-Berlin.de> References: <4F0CA9FF.5070209@alumni.TU-Berlin.de> Message-ID: <1326494685.13315.25.camel@pomegues.inria.fr> Hello Till, Le mardi 10 janvier 2012 ? 15:13 -0600, Till Straumann a ?crit : > Hello. > However, I'm unable to build any of the api_scilab examples > without also including 'stack-c.h' (or I get a lot of errors) > plus, at the top of stack-c.h we find > > #ifndef API_SCILAB_VERSION > #pragma message("Using stack-c.h is deprecated. Please use api_scilab > instead (try 'help api_scilab'). Note the stack-c.h API will be removed > after Scilab 6.0.") > #endif > > so it seems we must > > #include > #include > > for now. Is that not somewhat broken by design? Yes and no. We tagged this file as deprecated to make sure developer understand that api_scilab is the way to go. Some provided by stack-c (checkRhs for example) we will be moved in api_scilab for the 6 release. stack-c.h will probably be empty (and/or trigger a warning) > PS: I tried to compile the example given on the scilab-5.3.3 > help page for getVarType() (API Scilab>Low level functions>Variable Type > (Scilab gateway)) > > Unfortunately, the example doesn't contain any #include directives. Right. We should include them. Done here: http://codereview.scilab.org/#change,5928 S -- ----------------------------- Sylvestre Ledru Projects manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From clement.ervefel at hotmail.fr Sat Jan 14 13:17:44 2012 From: clement.ervefel at hotmail.fr (clemride) Date: Sat, 14 Jan 2012 04:17:44 -0800 (PST) Subject: Simulation In-Reply-To: References: <1326129612721-3645164.post@n3.nabble.com> Message-ID: <1326543464412-3658807.post@n3.nabble.com> Thank you cery much, it works now. ;) -- View this message in context: http://mailinglists.scilab.org/Simulation-tp3645164p3658807.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From clement.ervefel at hotmail.fr Sat Jan 14 14:51:58 2012 From: clement.ervefel at hotmail.fr (clemride) Date: Sat, 14 Jan 2012 05:51:58 -0800 (PST) Subject: Simulation In-Reply-To: References: <1326129612721-3645164.post@n3.nabble.com> Message-ID: <1326549118977-3658944.post@n3.nabble.com> I have this problem also, the function to represent is y=-0,375*x+1 instead of the gain -0,375. Can you help me to do that please? Is there a Block to simulate the function y=a*x+b. This simulation doesn't work. http://mailinglists.scilab.org/file/n3658944/Partie_courbe_glissement.xcos Partie_courbe_glissement.xcos -- View this message in context: http://mailinglists.scilab.org/Simulation-tp3645164p3658944.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From berns.buenaobra at gmail.com Wed Jan 18 05:55:22 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Wed, 18 Jan 2012 12:55:22 +0800 Subject: SIVP-0.5.3 fails install on Scilab 5.3.3 Message-ID: Hello all: For some reason if I install the prior version of SIVP which is 0.5.2 using the line invocation on an offline mode using cd SCI/contrib/sivp-0.5.2 then followed by exec('builder.sce') all went well with no errors unlike when I tried to install the latest version of SIVP-0.5.3 I have the following errors: !common.c ! ! ! !c:\program files\scilab-5.3.3\contrib\sivp-0.5.3\sci_gateway\c\common.h(43) : fatal error C1083: C! ! annot open include file: 'cxcore.h': Invalid argument ! ! ! !NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"' : return! ! code '0x2' ! ! ! !Stop. ! !--error 10000 ilib_compile: Error while executing Makelib.mak. at line 76 of function ilib_compile called by : at line 107 of function ilib_build called by : at line 133 of function tbx_build_gateway called by : inter_ldflags , inter_cflags ) at line 98 of exec file called by : at line 13 of function tbx_builder called by : at line 49 of function tbx_builder_gateway_lang called by : tbx_builder_gateway_lang(languages, sci_gateway_dir); at line 6 of exec file called by : at line 13 of function tbx_builder called by : at line 32 of function tbx_builder_gateway called by : tbx_builder_gateway(toolbox_dir); at line 34 of exec file called by : exec('builder.sce') ====================================================================== What can be wrong with the update? Regards, Berns B. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.gareste at scilab.org Wed Jan 18 17:26:13 2012 From: simon.gareste at scilab.org (Simon GARESTE) Date: Wed, 18 Jan 2012 17:26:13 +0100 Subject: [scilab-Users] SIVP-0.5.3 fails install on Scilab 5.3.3 In-Reply-To: References: Message-ID: <4F16F2A5.7080706@scilab.org> Hi, The common.h file does not see your file cxcore.h, which should be in the thirdparty folder. Why don't you use the binary version provided by the portal atoms , and install it using atomsInstall("SIVP") ? Do you have to compile it yourself? Simon On 18/01/2012 05:55, Berns Buenaobra wrote: > Hello all: > > For some reason if I install the prior version of SIVP which is 0.5.2 > using the line invocation on an offline mode using cd > SCI/contrib/sivp-0.5.2 then followed by exec('builder.sce') all went > well with no errors unlike when I tried to install the latest version > of SIVP-0.5.3 I have the following errors: > > !common.c > ! > ! > ! > !c:\program > files\scilab-5.3.3\contrib\sivp-0.5.3\sci_gateway\c\common.h(43) : > fatal error C1083: C! > ! annot open include file: 'cxcore.h': Invalid > argument ! > ! > ! > !NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\bin\cl.EXE"' : return! > ! code > '0x2' > ! > ! > ! > !Stop. > ! > !--error 10000 > ilib_compile: Error while executing Makelib.mak. > at line 76 of function ilib_compile called by : > at line 107 of function ilib_build called by : > at line 133 of function tbx_build_gateway called by : > inter_ldflags , inter_cflags ) > at line 98 of exec file called by : > > at line 13 of function tbx_builder called by : > at line 49 of function tbx_builder_gateway_lang called by : > tbx_builder_gateway_lang(languages, sci_gateway_dir); > at line 6 of exec file called by : > > at line 13 of function tbx_builder called by : > at line 32 of function tbx_builder_gateway called by : > tbx_builder_gateway(toolbox_dir); > at line 34 of exec file called by : > exec('builder.sce') > ====================================================================== > > What can be wrong with the update? > > Regards, > > Berns B. -- -- Simon Gareste Support& Development Engineer Consortium Scilab-DIGITEO -------------- next part -------------- An HTML attachment was scrubbed... URL: From berns.buenaobra at gmail.com Thu Jan 19 00:57:34 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Thu, 19 Jan 2012 07:57:34 +0800 Subject: [scilab-Users] SIVP-0.5.3 fails install on Scilab 5.3.3 In-Reply-To: <4F16F2A5.7080706@scilab.org> References: <4F16F2A5.7080706@scilab.org> Message-ID: Hi Simon: Thanks for the reply. ATOMS is the way to go less painfully alright however, I resorted to an offline installation due to network constraints in the university lab I worked with. I will use a wireless USB modem instead to do it and access the binaries to work for me. Question is still why it works with the previous SIVP and not with the latest? Regards, Berns B. On 1/19/12, Simon GARESTE wrote: > Hi, > > The common.h file does not see your file cxcore.h, which should be in > the thirdparty folder. > Why don't you use the binary version provided by the portal atoms > , and install it using > atomsInstall("SIVP") ? Do you have to compile it yourself? > > Simon > > On 18/01/2012 05:55, Berns Buenaobra wrote: >> Hello all: >> >> For some reason if I install the prior version of SIVP which is 0.5.2 >> using the line invocation on an offline mode using cd >> SCI/contrib/sivp-0.5.2 then followed by exec('builder.sce') all went >> well with no errors unlike when I tried to install the latest version >> of SIVP-0.5.3 I have the following errors: >> >> !common.c >> >> ! >> ! >> >> ! >> !c:\program >> files\scilab-5.3.3\contrib\sivp-0.5.3\sci_gateway\c\common.h(43) : >> fatal error C1083: C! >> ! annot open include file: 'cxcore.h': Invalid >> argument ! >> ! >> >> ! >> !NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio >> 9.0\VC\bin\cl.EXE"' : return! >> ! code >> '0x2' >> >> ! >> ! >> >> ! >> !Stop. >> >> ! >> !--error 10000 >> ilib_compile: Error while executing Makelib.mak. >> at line 76 of function ilib_compile called by : >> at line 107 of function ilib_build called by : >> at line 133 of function tbx_build_gateway called by : >> inter_ldflags , inter_cflags ) >> at line 98 of exec file called by : >> >> at line 13 of function tbx_builder called by : >> at line 49 of function tbx_builder_gateway_lang called by : >> tbx_builder_gateway_lang(languages, sci_gateway_dir); >> at line 6 of exec file called by : >> >> at line 13 of function tbx_builder called by : >> at line 32 of function tbx_builder_gateway called by : >> tbx_builder_gateway(toolbox_dir); >> at line 34 of exec file called by : >> exec('builder.sce') >> ====================================================================== >> >> What can be wrong with the update? >> >> Regards, >> >> Berns B. > > -- > -- > Simon Gareste > Support& Development Engineer > Consortium Scilab-DIGITEO > > -- ========================================== Bernardino Jerez Buenaobra Motion Control Engineer FW/Motion Control Laboratory Lexmark Research and Development Corporation (LRDC) 6F Lexmark Plaza 2 Samar Loop corner Panay Road, Cebu Business Park, Cebu City, 6000 Philippines Direct number: +6332 234 8763 Mobile: +639162911607 email:bbuenaobra at lexmark.com Skype ID: poormanphysics "Res Imus Motus..."(We set things in motion) ========================================== From simon.gareste at scilab.org Thu Jan 19 09:09:23 2012 From: simon.gareste at scilab.org (Simon GARESTE) Date: Thu, 19 Jan 2012 09:09:23 +0100 Subject: [scilab-Users] SIVP-0.5.3 fails install on Scilab 5.3.3 In-Reply-To: References: <4F16F2A5.7080706@scilab.org> Message-ID: <4F17CFB3.4000703@scilab.org> Hi Berns, When I look on the website, I can't see a 0.5.2 version of the toolbox, so where did you get it from? I can't compare the versions and find a reason if I don't have something to compare it to. Which arch are you on, 32 or 64? Where do you get your versions from, since it does not seem to be from Internet at your work? What is your exact process for installing the toolboxes? Regards, Simon On 19/01/2012 00:57, Berns Buenaobra wrote: > Hi Simon: > > Thanks for the reply. ATOMS is the way to go less painfully alright > however, I resorted to an offline installation due to network > constraints in the university lab I worked with. > > I will use a wireless USB modem instead to do it and access the > binaries to work for me. > > Question is still why it works with the previous SIVP and not with the latest? > > Regards, > > Berns B. > > > > On 1/19/12, Simon GARESTE wrote: >> Hi, >> >> The common.h file does not see your file cxcore.h, which should be in >> the thirdparty folder. >> Why don't you use the binary version provided by the portal atoms >> , and install it using >> atomsInstall("SIVP") ? Do you have to compile it yourself? >> >> Simon >> >> On 18/01/2012 05:55, Berns Buenaobra wrote: >>> Hello all: >>> >>> For some reason if I install the prior version of SIVP which is 0.5.2 >>> using the line invocation on an offline mode using cd >>> SCI/contrib/sivp-0.5.2 then followed by exec('builder.sce') all went >>> well with no errors unlike when I tried to install the latest version >>> of SIVP-0.5.3 I have the following errors: >>> >>> !common.c >>> >>> ! >>> ! >>> >>> ! >>> !c:\program >>> files\scilab-5.3.3\contrib\sivp-0.5.3\sci_gateway\c\common.h(43) : >>> fatal error C1083: C! >>> ! annot open include file: 'cxcore.h': Invalid >>> argument ! >>> ! >>> >>> ! >>> !NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio >>> 9.0\VC\bin\cl.EXE"' : return! >>> ! code >>> '0x2' >>> >>> ! >>> ! >>> >>> ! >>> !Stop. >>> >>> ! >>> !--error 10000 >>> ilib_compile: Error while executing Makelib.mak. >>> at line 76 of function ilib_compile called by : >>> at line 107 of function ilib_build called by : >>> at line 133 of function tbx_build_gateway called by : >>> inter_ldflags , inter_cflags ) >>> at line 98 of exec file called by : >>> >>> at line 13 of function tbx_builder called by : >>> at line 49 of function tbx_builder_gateway_lang called by : >>> tbx_builder_gateway_lang(languages, sci_gateway_dir); >>> at line 6 of exec file called by : >>> >>> at line 13 of function tbx_builder called by : >>> at line 32 of function tbx_builder_gateway called by : >>> tbx_builder_gateway(toolbox_dir); >>> at line 34 of exec file called by : >>> exec('builder.sce') >>> ====================================================================== >>> >>> What can be wrong with the update? >>> >>> Regards, >>> >>> Berns B. >> -- >> -- >> Simon Gareste >> Support& Development Engineer >> Consortium Scilab-DIGITEO >> >> > -- -- Simon Gareste Support& Development Engineer Consortium Scilab-DIGITEO From maitreyakara at yahoo.com Thu Jan 19 17:50:04 2012 From: maitreyakara at yahoo.com (sunKar) Date: Thu, 19 Jan 2012 08:50:04 -0800 (PST) Subject: Scilab 5.3.3 crashes on opening .cos files Message-ID: <1326991804229-3672883.post@n3.nabble.com> Hi, I am new to Scilab and Xcos. I have Scilab 5.3.3 running on Windows XP. I opened Xcos from Scilab, and tried to open an .cos file. Scilab crashed. The .cos file is from Finn Haugen's Master Scicos (tanksim.cos). I tried to open some other .cos files from Scicos website, with the same result. But ScicosLab opened these files successfully. I also tried Scilab 5.4.0-alpha 1, and it also crashed. Am I required to convert the .cos files into .xcos files in order to open them in Scilab? How do I convert them? How do I import .cos files into Scilab? Thanks! Prabhakar -- View this message in context: http://mailinglists.scilab.org/Scilab-5-3-3-crashes-on-opening-cos-files-tp3672883p3672883.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sdr at durietz.se Fri Jan 20 19:45:57 2012 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 20 Jan 2012 19:45:57 +0100 Subject: Graphics issues Message-ID: <4F19B665.1000406@durietz.se> Of course, I am grateful for all the tools in Scilab and ScicosLab! ;-) Because I cannot use the Scilab versions from 5... (my ATI graphics card...), these comments are valid for ScicosLab (but I know that some are also valid for Scilab). Why is the graphics handling so bad? In an(!) axes, if the x axis is much longer than the y axis, the tick marks at the y axis are much longer than the tick marks at the x axis (hardly visible)? So the tick_labels are far from the y_axis while the tick_labels are extremely close to the x axis. In Linux (Ubuntu, with graphics worse than in Windows): - the fonts in a graphics window are very bad (not anti-aliased) - it is not possible to make a line with 1 pixel followed by a space of 2 pixels (I have tried many options...) which is possible with ImageMagick! - the export functions are very bad: 1. GIF: the y label does not get 90 degrees rotation and all text gets smaller (and still in the bad format) 2. EPS: the y label is badly positioned If anyone could direct me to where these issues (and the format of dashed lines) are handled in the source code (so I could fix them myself), I should be very grateful. Regards Stefan From sylvestre.ledru at scilab-enterprises.com Sat Jan 21 15:20:09 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sat, 21 Jan 2012 15:20:09 +0100 Subject: [scilab-Users] Scilab 5.3.3 crashes on opening .cos files In-Reply-To: <1326991804229-3672883.post@n3.nabble.com> References: <1326991804229-3672883.post@n3.nabble.com> Message-ID: <1327155609.4258.35.camel@pomegues.inria.fr> Le jeudi 19 janvier 2012 ? 08:50 -0800, sunKar a ?crit : > Hi, I am new to Scilab and Xcos. I have Scilab 5.3.3 running on Windows XP. I > opened Xcos from Scilab, and tried to open an .cos file. Scilab crashed. The > .cos file is from Finn Haugen's Master Scicos (tanksim.cos). I tried to open > some other .cos files from Scicos website, with the same result. But > ScicosLab opened these files successfully. I also tried Scilab 5.4.0-alpha > 1, and it also crashed. Could you report a bug with the schema ? Thanks S -- ----------------------------- Sylvestre Ledru Projects manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From premk_tvm at yahoo.co.in Sun Jan 22 17:24:55 2012 From: premk_tvm at yahoo.co.in (kpk) Date: Sun, 22 Jan 2012 08:24:55 -0800 (PST) Subject: matlab to scilab translator - dialogbox font problem Message-ID: <1327249495457-3679556.post@n3.nabble.com> I am using Scilab 5.3.3 on Windows Vista. I am also very new to Scilab. I have this problem: When I click on Applications -> Matlab to Scilab Translator, a dialog box opens as shown in attached image. http://mailinglists.scilab.org/file/n3679556/scilab_matlabtranslator.jpg None of the text can be read (except the top 2 lines). Could it be a problem with any missing font or language setting? Please help Thanks and regards KPK -- View this message in context: http://mailinglists.scilab.org/matlab-to-scilab-translator-dialogbox-font-problem-tp3679556p3679556.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From maitreyakara at yahoo.com Sun Jan 22 22:11:44 2012 From: maitreyakara at yahoo.com (sunKar) Date: Sun, 22 Jan 2012 13:11:44 -0800 (PST) Subject: Using javasci to work with XCos Message-ID: <1327266704104-3680022.post@n3.nabble.com> I have a large Java code and I need to use a simulator of XCos to generate data for my Java programs. I would like my Java program to control the simulator. Are there any examples of this kind of usage? I am considering using javasci to execute functions of Xcos. Any suggestions and/or a report on experiences with using Java to interface with XCos or Scicos are well appreciated. Prabhakar -- View this message in context: http://mailinglists.scilab.org/Using-javasci-to-work-with-XCos-tp3680022p3680022.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mstec at ichpw.zabrze.pl Mon Jan 23 10:34:07 2012 From: mstec at ichpw.zabrze.pl (Marcin Stec) Date: Mon, 23 Jan 2012 01:34:07 -0800 (PST) Subject: SCIFANN tootlbox loading error Message-ID: <1327311247829-3681378.post@n3.nabble.com> Hi! I'm trying to load SCIFANN toolbox (http://code.google.com/p/scifann/) and I face problems while loading it. SCIFANN is interface between SCILAB and FANN - fast artificial network library. I compiled FANN library without problems (last revision 2.1.0 from http://leenissen.dk/fann/wp/download/) then I built SCIFANN by executing builder.sce also without any problems, but even after successful compilation of both elements toolbox doesn't load. Here is screenshot form loading: ___________________________________________ scilab-5.2.1 Consortium Scilab (DIGITEO) Copyright (c) 1989-2010 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment -->exec loader.sce; Start FANN Toolbox Load gateways libsci_fann',list_functions) !--error 236 addinter: The shared archive was not loaded: /home/marcin/Pulpit/scifann/sci_gateway/c//libsci_fann.so: undefined symbol: freeAllocatedSingleString at line 39 of exec file called by : exec('loader.sce'); at line 21 of exec file called by : exec( root_tlbx + '/sci_gateway/loader_gateway.sce' ); at line 25 of exec file called by : exec(root_tlbx+'etc/'+'fann_toolbox.start'); at line 12 of exec file called by : exec loader.sce; Here are some details about my operating system (copied from configure.log created by builder.sce): ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = i686 uname -r = 2.6.32-37-generic uname -s = Linux uname -v = #81-Ubuntu SMP Fri Dec 2 20:35:14 UTC 2011 Could you help me somehow? Regards, Marcin Stec -- View this message in context: http://mailinglists.scilab.org/SCIFANN-tootlbox-loading-error-tp3681378p3681378.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From ycollette.nospam at free.fr Mon Jan 23 12:08:24 2012 From: ycollette.nospam at free.fr (ycollette.nospam at free.fr) Date: Mon, 23 Jan 2012 12:08:24 +0100 (CET) Subject: [scilab-Users] SCIFANN tootlbox loading error In-Reply-To: <1327311247829-3681378.post@n3.nabble.com> Message-ID: Hello, I will try to have a look at the toolbox. I will keep you informed ASAP. Best regards, YC ----- Mail original ----- De: "Marcin Stec" ?: users at lists.scilab.org Envoy?: Lundi 23 Janvier 2012 10:34:07 Objet: [scilab-Users] SCIFANN tootlbox loading error Hi! I'm trying to load SCIFANN toolbox (http://code.google.com/p/scifann/) and I face problems while loading it. SCIFANN is interface between SCILAB and FANN - fast artificial network library. I compiled FANN library without problems (last revision 2.1.0 from http://leenissen.dk/fann/wp/download/) then I built SCIFANN by executing builder.sce also without any problems, but even after successful compilation of both elements toolbox doesn't load. Here is screenshot form loading: ___________________________________________ scilab-5.2.1 Consortium Scilab (DIGITEO) Copyright (c) 1989-2010 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment -->exec loader.sce; Start FANN Toolbox Load gateways libsci_fann',list_functions) !--error 236 addinter: The shared archive was not loaded: /home/marcin/Pulpit/scifann/sci_gateway/c//libsci_fann.so: undefined symbol: freeAllocatedSingleString at line 39 of exec file called by : exec('loader.sce'); at line 21 of exec file called by : exec( root_tlbx + '/sci_gateway/loader_gateway.sce' ); at line 25 of exec file called by : exec(root_tlbx+'etc/'+'fann_toolbox.start'); at line 12 of exec file called by : exec loader.sce; Here are some details about my operating system (copied from configure.log created by builder.sce): ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = i686 uname -r = 2.6.32-37-generic uname -s = Linux uname -v = #81-Ubuntu SMP Fri Dec 2 20:35:14 UTC 2011 Could you help me somehow? Regards, Marcin Stec -- View this message in context: http://mailinglists.scilab.org/SCIFANN-tootlbox-loading-error-tp3681378p3681378.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From mstec at ichpw.zabrze.pl Mon Jan 23 13:35:50 2012 From: mstec at ichpw.zabrze.pl (Marcin Stec) Date: Mon, 23 Jan 2012 04:35:50 -0800 (PST) Subject: SCIFANN tootlbox loading error In-Reply-To: References: <1327311247829-3681378.post@n3.nabble.com> Message-ID: <1327322150806-3681714.post@n3.nabble.com> I appreciate you helping me. I'll add that i tried loading in the most recent Scilab (rev. 5.3.1) and error is similar (but differs a little): ___________________________________________ scilab-5.3.1 Scilab Consortium (DIGITEO) Copyright (c) 1989-2011 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Wykonanie rozruchu: ?adowanie ?rodowiska pocz?tkowego -->exec loader.sce; Start FANN Toolbox Load gateways libext(), 'libsci_fann', list_functions) !--error 236 addinter: Wsp??dzielone archiwum nie zosta?o za?adowane : /home/marcin/Pulpit/scifann-rev-11/sci_gateway/c//libsci_fann.so: undefined symbol: freeArrayOfStrings at line 47 of exec file called by : exec("loader.sce"); at line 20 of exec file called by : exec( root_tlbx + '/sci_gateway/loader_gateway.sce' ); at line 25 of exec file called by : exec(root_tlbx+'etc/'+'fann_toolbox.start'); at line 12 of exec file called by : exec loader.sce; Regards, Marcin Stec -- View this message in context: http://mailinglists.scilab.org/SCIFANN-tootlbox-loading-error-tp3681378p3681714.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From kannan at iitb.ac.in Tue Jan 24 02:07:24 2012 From: kannan at iitb.ac.in (Kannan Moudgalya) Date: Tue, 24 Jan 2012 01:07:24 +0000 (UTC) Subject: Porting Scilab to Android References: Message-ID: Berns Buenaobra writes: > > > Hi Jayneil:Nice links specially the spoken tutorial project I would like to use those videos on my class if its alright.Regards,Berns B. > On Wed, Jan 11, 2012 at 10:46 PM, Jayneil Dalal wrote: Dear Berns, You are most welcome to use these tutorials. These are released under CC noncommercial, non-derivative license and hence there is no need at all to ask for permission to use them in academic institutions. In addition to Scilab, we have tutorials in other IT tools also. At present, we have the tutorials on Linux, LaTeX, Python, ORCA, PHP. We will shortly have tutorials on LibreOffice, GIMP and a few others. Kannan From kannan at iitb.ac.in Tue Jan 24 03:15:44 2012 From: kannan at iitb.ac.in (Kannan Moudgalya) Date: Tue, 24 Jan 2012 02:15:44 +0000 (UTC) Subject: Scilab Video Tutorials Message-ID: You may find the video tutorials available on Scilab at http://spoken-tutorial.org/Study_Plans_Scilab to be useful. These are released under CC noncommercial, non-derivative license. In addition to the basic tutorials, if you scroll down, you will also find tutorials on polynomials, ODEs and Xcos on this page. Some more tutorials, on topics such as Control System Design, Image Processing and Hardware Access, are in the pipeline. We refer to these tutorials as the Spoken Tutorials. The Spoken Tutorials are created for self learning. It is possible to conduct a two hour basic level workshop for the beginners using these tutorials - the rest can be studied at home by the interested. The only facility required to conduct this workshop is a PC/laptop and a head phone for every participant. We have a team that helps organise these workshops free of cost at academic institutions. Interested may contact them at contact at spoken-tutorial.org. In addition to Scilab, we have Spoken Tutorials on LaTeX, Linux, Python, Orca and PHP/MySQL. We will soon have Spoken Tutorials also on GIMP and LibreOffice. Many more are in the pipeline. A writeup on this effort is available at http://spoken-tutorial.org/CSI.pdf. We also have a 12 minute video and a 2 minute video available, respectively at http://spoken-tutorial.org/What_is_a_Spoken_Tutorial_English and http://spoken-tutorial.org/What-is-a-Spoken-Tutorial-2-Minute-Video-English. From berns.buenaobra at gmail.com Tue Jan 24 05:24:00 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Tue, 24 Jan 2012 12:24:00 +0800 Subject: [scilab-Users] Scilab Video Tutorials In-Reply-To: References: Message-ID: Hello Kannan: Very good initiative specially good for developing countries/ 3rd world countries like for us here in the Philippines. My congratulations for these! It would be nice if the purported cheapest computer tablet a.k.a Aakash that comes from India can actually be made to be able to run Scilab - good software on affordable platform will surely be a nice compliment to each other. Regards, Berns B. On Tue, Jan 24, 2012 at 10:15 AM, Kannan Moudgalya wrote: > You may find the video tutorials available on Scilab at > http://spoken-tutorial.org/Study_Plans_Scilab > to be useful. These are released under CC noncommercial, non-derivative > license. > In addition to the basic tutorials, if you scroll down, you will also find > tutorials on polynomials, ODEs and Xcos on this page. Some more > tutorials, on > topics such as Control System Design, Image Processing and Hardware > Access, are > in the pipeline. We refer to these tutorials as the Spoken Tutorials. > > The Spoken Tutorials are created for self learning. It is possible to > conduct a > two hour basic level workshop for the beginners using these tutorials - > the rest > can be studied at home by the interested. The only facility required to > conduct > this workshop is a PC/laptop and a head phone for every participant. We > have a > team that helps organise these workshops free of cost at academic > institutions. > Interested may contact them at contact at spoken-tutorial.org. > > In addition to Scilab, we have Spoken Tutorials on LaTeX, Linux, Python, > Orca > and PHP/MySQL. We will soon have Spoken Tutorials also on GIMP and > LibreOffice. > Many more are in the pipeline. A writeup on this effort is available at > http://spoken-tutorial.org/CSI.pdf. We also have a 12 minute video and a > 2 > minute video available, respectively at > http://spoken-tutorial.org/What_is_a_Spoken_Tutorial_English and > http://spoken-tutorial.org/What-is-a-Spoken-Tutorial-2-Minute-Video-English > . > > > > > > > > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From berns.buenaobra at gmail.com Tue Jan 24 05:26:22 2012 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Tue, 24 Jan 2012 12:26:22 +0800 Subject: [scilab-Users] Re: Porting Scilab to Android In-Reply-To: References: Message-ID: Hello Kannan: May I suggest you include in your tutorials also stuff like systems modeling like physical modeling as well as systems modeling like SysML/UML too. Regards, Berns B. On Tue, Jan 24, 2012 at 9:07 AM, Kannan Moudgalya wrote: > Berns Buenaobra writes: > > > > > > > Hi Jayneil:Nice links specially the spoken tutorial project I would like > to > use those videos on my class if its alright.Regards,Berns B. > > On Wed, Jan 11, 2012 at 10:46 PM, Jayneil Dalal > wrote: > > Dear Berns, > > You are most welcome to use these tutorials. These are released under CC > noncommercial, non-derivative license and hence there is no need at all to > ask > for permission to use them in academic institutions. In addition to > Scilab, we > have tutorials in other IT tools also. At present, we have the tutorials > on > Linux, LaTeX, Python, ORCA, PHP. We will shortly have tutorials on > LibreOffice, > GIMP and a few others. > > Kannan > > > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanket.prabhu26 at gmail.com Wed Jan 25 09:45:24 2012 From: sanket.prabhu26 at gmail.com (Sanket Prabhu) Date: Wed, 25 Jan 2012 14:15:24 +0530 Subject: GNUnify 2012 - Invite for CFP Message-ID: Greetings ! We, students of SICSR and Pune Linux Users Group(PLUG) invite you for the 10th year of GNUnify, one of India's biggest Open Source Forum. This year's GNUnify focuses in - Mobile Computing - Cloud Computing - System Programming - Installation fests - Emerging Technologies - System Administration - Security - Web Technologies We invite your expertise in different technologies in the field of Open Source. Registration for Call for participation (CFP) open till 30th Jan 2012. For CFP Registration http://www.gnunify.in/speaker/registration For other details, please visit http://gnunify.in or Contact us via http://www.gnunify.in/contact Regards Sanket Prabhu MSc (CA) - SICSR -------------- next part -------------- An HTML attachment was scrubbed... URL: From matusov at squarepeg.ca Thu Jan 26 02:08:59 2012 From: matusov at squarepeg.ca (Mikhail Matusov) Date: Wed, 25 Jan 2012 20:08:59 -0500 Subject: Calling SciLab from ActiveHDL via VHPI References: Message-ID: <000901ccdbc7$162d1590$4676d9d1@SPCI039> Hello, I was wondering if someone did this by any chance. I am having difficult time trying to make this work... Thanks, /Mikhail -------------- next part -------------- An HTML attachment was scrubbed... URL: From mstec at ichpw.zabrze.pl Thu Jan 26 10:34:50 2012 From: mstec at ichpw.zabrze.pl (Marcin Stec) Date: Thu, 26 Jan 2012 01:34:50 -0800 (PST) Subject: SCIFANN tootlbox loading error In-Reply-To: References: <1327311247829-3681378.post@n3.nabble.com> Message-ID: <1327570490194-3690028.post@n3.nabble.com> Do you think I could try using toolbox with previous version on Scilab? Could you tell me with which version toolbox was working properly? I could download it and try using while You are checking current revision. Marcin Stec -- View this message in context: http://mailinglists.scilab.org/SCIFANN-tootlbox-loading-error-tp3681378p3690028.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From ycollette.nospam at free.fr Thu Jan 26 10:41:00 2012 From: ycollette.nospam at free.fr (ycollette.nospam at free.fr) Date: Thu, 26 Jan 2012 10:41:00 +0100 (CET) Subject: [scilab-Users] Re: SCIFANN tootlbox loading error In-Reply-To: <1327570490194-3690028.post@n3.nabble.com> Message-ID: Hello, I am currently correcting some problems with the builder. I have a version which "nearly works", but I need to have some fann bugs corrected first. I hope to have something which works in the middle of next week. YC ----- Mail original ----- De: "Marcin Stec" ?: users at lists.scilab.org Envoy?: Jeudi 26 Janvier 2012 10:34:50 Objet: [scilab-Users] Re: SCIFANN tootlbox loading error Do you think I could try using toolbox with previous version on Scilab? Could you tell me with which version toolbox was working properly? I could download it and try using while You are checking current revision. Marcin Stec -- View this message in context: http://mailinglists.scilab.org/SCIFANN-tootlbox-loading-error-tp3681378p3690028.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From Michael.Weickhmann at vacuumschmelze.com Fri Jan 27 17:18:31 2012 From: Michael.Weickhmann at vacuumschmelze.com (Weickhmann Michael) Date: Fri, 27 Jan 2012 17:18:31 +0100 Subject: scilab 5.3.3 and 5.4.0 Alpha Ubuntu Message-ID: <40D724F34BB6794D974F56392606BC0B02668C0C@mhpa286c> Hello, I am trying to run scilab on a Samsung N 150 Netbook. It works, but when I try to plot something it does not work and the CPU load goes up to 100 % using Top. To continue I have to kill the scilab task. The netbook is using a Intel Corporation N10 Family VGA Controller. Dipl.-Ing. Jan Michael Weickhmann DM-PM-4 Leitung Anwendungstechnik DM-PM-4 Head of Productmarketing Application Egineering Phone: +49 6181 38-2739 Fax +49 6181 38-82739 Mobile: +49 172 669 2852 E-Mail: Michael.Weickhmann at vacuumschmelze.com Pflichtangaben finden Sie unter Impressum - VACUUMSCHMELZE GmbH & Co. KG . Diese E-Mail und alle Anlagen k?nnen Betriebs- oder Gesch?ftsgeheimnisse, dem Anwaltsgeheimnis unterliegende oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrt?mlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielf?ltigung oder Weitergabe der E-Mail und aller Anlagen ausdr?cklich untersagt. Bitte benachrichtigen Sie den Absender und l?schen/vernichten Sie die empfangene E-Mail und alle Anlagen. Vielen Dank. Mandatory information can be found at Imprint - VACUUMSCHMELZE GmbH & Co. KG . This message and any attachments may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it and its attachments is strictly prohibited. Please inform the sender immediately and delete/destroy the original message and any copies. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Fri Jan 27 18:21:04 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 27 Jan 2012 18:21:04 +0100 Subject: [scilab-Users] scilab 5.3.3 and 5.4.0 Alpha Ubuntu In-Reply-To: <40D724F34BB6794D974F56392606BC0B02668C0C@mhpa286c> References: <40D724F34BB6794D974F56392606BC0B02668C0C@mhpa286c> Message-ID: <4F22DD00.7090909@limsi.fr> Hello, This kind of problems is usually related to graphics card drivers. Try to update your drivers (you should probably use proprietary drivers) Mathieu On 01/27/2012 05:18 PM, Weickhmann Michael wrote: > > Hello, > > I am trying to run scilab on a Samsung N 150 Netbook. > > It works, but when I try to plot something it does not work and the > CPU load goes up to 100 % using Top. > > To continue I have to kill the scilab task. > > The netbook is using a Intel Corporation N10 Family VGA Controller. > > *Dipl.-Ing. Jan Michael Weickhmann > *DM-PM-4 Leitung Anwendungstechnik > DM-PM-4 Head of Productmarketing Application Egineering > Phone: +49 6181 38-2739 > Fax +49 6181 38-82739 > Mobile: +49 172 669 2852 > E-Mail: Michael.Weickhmann at vacuumschmelze.com > > > Pflichtangaben finden Sie unter Impressum - VACUUMSCHMELZE GmbH & Co. > KG . Diese E-Mail > und alle Anlagen k?nnen Betriebs- oder Gesch?ftsgeheimnisse, dem > Anwaltsgeheimnis unterliegende oder sonstige vertrauliche > Informationen enthalten. Sollten Sie diese E-Mail irrt?mlich erhalten > haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielf?ltigung > oder Weitergabe der E-Mail und aller Anlagen ausdr?cklich untersagt. > Bitte benachrichtigen Sie den Absender und l?schen/vernichten Sie die > empfangene E-Mail und alle Anlagen. Vielen Dank. > > Mandatory information can be found at Imprint - VACUUMSCHMELZE GmbH & > Co. KG . This > message and any attachments may contain trade secrets or privileged, > undisclosed or otherwise confidential information. If you have > received this e-mail in error, you are hereby notified that any > review, copying or distribution of it and its attachments is strictly > prohibited. Please inform the sender immediately and delete/destroy > the original message and any copies. Thank you. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From weickhmann at t-online.de Fri Jan 27 21:46:49 2012 From: weickhmann at t-online.de (Michael Weickhmann) Date: Fri, 27 Jan 2012 21:46:49 +0100 Subject: scilab plot does not work on Samsung N150 Message-ID: <4F230D39.8040002@t-online.de> Hello, I have a problem with scilab 5.3.3 and 5.4.0 with ubuntu on a Samsung N150 netbook. Scilab is working, but when ever I make a plot the system is trying to use 100% of cpu according to top. After the attempt of ploting only kill -9 may help to continue. I have launched this question already, but I do not know if this has something to do with the Gtk lib ?? Best regards Michael Weickhmann From melnikov.maksim at gmail.com Sat Jan 28 14:10:02 2012 From: melnikov.maksim at gmail.com (melmak) Date: Sat, 28 Jan 2012 05:10:02 -0800 (PST) Subject: Compiling and linking code to Scilab Message-ID: <1327756202687-3695758.post@n3.nabble.com> I am working on C computational function for Scilab xcos block. When trying to compile and link the code to Scilab using ilib_for_link('DO13','do13.c',[],"c"), I get: Generate a loader file Generate a Makefile Running the Makefile Compilation of do13.c Building shared library (be patient) !------------- Compile file do13.c -------------- ! ! ! ! IF NOT EXIST Release mkdir Release ! ! ! ! cl -D_MSC_ -DFORDLL -D_WIN64 -c -DSTRICT -D_CRT_SECURE_NO_! ! DEPRECATE -D_MAKEFILEVC_ -nologo -I"C:/PROGRA~1/SCILAB! ! ~1.3/libs/MALLOC/includes" -I"C:/PROGRA~1/SCILAB~1.3/mo! ! dules/core/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/! ! api_scilab/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/! ! call_scilab/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules! ! /output_stream/includes" -I"C:/PROGRA~1/SCILAB~1.3/modu! ! les/jvm/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/loc! ! alization/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/d! ! ynamic_link/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules! ! /mexlib/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/tim! ! e/includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/windows_t! ! ools/includes" -I"C:/PROGRA~1/SCILAB~1.3/libs/f2c" -I"! ! C:/PROGRA~1/SCILAB~1.3/libs/hashtable" -I"C:/PROGRA~1/S! ! CILAB~1.3/libs/intl" -W3 -Gd -Z7 -O2 -MT /Fo"Release/" /! ! Fd"Release/" -DFORDLL do13.c ! ! ! !do13.c ! ! ! ! do13.c(1) : fatal error C1083: Cannot open include file: 'sci! ! cos/scicos_block4.h': No such file or directory ! ! ! !NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft! ! Visual Studio 10.0\VC\BIN\amd64\cl.EXE"' : return code ! ! '0x2' ! ! ! !Stop. ! !--error 10000 ilib_compile: Error while executing Makelib.mak. at line 76 of function ilib_compile called by : at line 90 of function ilib_for_link called by : I am not expert in programming. What could these messages mean? -- View this message in context: http://mailinglists.scilab.org/Compiling-and-linking-code-to-Scilab-tp3695758p3695758.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From melnikov.maksim at gmail.com Sun Jan 29 13:10:19 2012 From: melnikov.maksim at gmail.com (melmak) Date: Sun, 29 Jan 2012 04:10:19 -0800 (PST) Subject: Link computational function written in Scilab language Message-ID: <1327839019485-3697371.post@n3.nabble.com> I have computational function written in Scilab language. How can I link it to Scilab? For C comptational it is ilib_for_link but what about Scilab comp function? -- View this message in context: http://mailinglists.scilab.org/Link-computational-function-written-in-Scilab-language-tp3697371p3697371.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Sun Jan 29 15:25:37 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sun, 29 Jan 2012 15:25:37 +0100 Subject: [scilab-Users] Link computational function written in Scilab language In-Reply-To: <1327839019485-3697371.post@n3.nabble.com> References: <1327839019485-3697371.post@n3.nabble.com> Message-ID: <4F2556E1.4040902@centre-cired.fr> On 29/01/2012 13:10, melmak wrote: > I have computational function written in Scilab language. How can I link it > to Scilab? For C comptational it is ilib_for_link but what about Scilab comp > function? > > -- > View this message in context: http://mailinglists.scilab.org/Link-computational-function-written-in-Scilab-language-tp3697371p3697371.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ hi you just have to move the function definition in a new file that you could call myfuntions.sci, then execute it with exec you can have a look at the getd function too tru this from the scilab console help exec help getd (i would not recommend to use comp) (you are not going to make your scilab written function execute faster by "compiling them") hope it helps -------------- next part -------------- An HTML attachment was scrubbed... URL: From constellationathome at googlemail.com Sun Jan 29 20:06:53 2012 From: constellationathome at googlemail.com (Constellation Athome) Date: Sun, 29 Jan 2012 20:06:53 +0100 Subject: Plot3d1 with spheres in diffrent colors, how? Message-ID: Hi there, I would like to give each sphere in my plot3d1 plot a different color so that I can distinguish them better. I played around with http://help.scilab.org/docs/5.3.3/en_US/plot3d.htmlbut couldn't find a way to change it to rgb colours or whatever, to have a red, a green and another colour. It would be great, if you could help me. And another question is, how to add opacity so that they will be translucent. Thanks in advance, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From calixte.denizet at scilab-enterprises.com Sun Jan 29 20:31:50 2012 From: calixte.denizet at scilab-enterprises.com (Calixte) Date: Sun, 29 Jan 2012 20:31:50 +0100 Subject: [scilab-Users] Plot3d1 with spheres in diffrent colors, how? In-Reply-To: References: Message-ID: <4F259EA6.2040601@scilab-enterprises.com> On 29/01/2012 20:06, Constellation Athome wrote: > Hi there, Hi, In taking the example given in plot3d.html, you can make something like: deff("[x,y,z]=sph(alp,tet)",["x=r*cos(alp).*cos(tet)+orig(1)*ones(tet)";.. "y=r*cos(alp).*sin(tet)+orig(2)*ones(tet)";.. "z=r*sin(alp)+orig(3)*ones(tet)"]); r=1; orig=[0 0 0]; [xx,yy,zz]=eval3dp(sph,linspace(-%pi/2,%pi/2,40),linspace(0,%pi*2,20)); clf(); plot3d(xx,yy,zz) plot3d(xx,yy,zz + 2.5) a=gca(); a.children(1).color_mode = 3; a.children(2).color_mode = 5; You should have a look at: http://help.scilab.org/docs/5.3.3/en_US/surface_properties.html Regards, Calixte > > I would like to give each sphere in my plot3d1 plot a different color > so that I can distinguish them better. > I played around with > http://help.scilab.org/docs/5.3.3/en_US/plot3d.html but couldn't find > a way to change it to rgb colours or whatever, to have a red, a green > and another colour. > > It would be great, if you could help me. > And another question is, how to add opacity so that they will be > translucent. > > Thanks in advance, > > Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From weickhmann at t-online.de Sun Jan 29 21:20:35 2012 From: weickhmann at t-online.de (Michael Weickhmann) Date: Sun, 29 Jan 2012 21:20:35 +0100 Subject: Ploting on Ubuntu with Samsung NF 310 Garphic-Processor INTEL GMA 3150 Message-ID: <4F25AA13.4020205@t-online.de> Hello, now I tried to plot xcos on Samsung NF 310 with Graphic-Processor Intel 3150 using Ubuntu and it builds up the plotting frame over and over again, while it work under Windows 7. I think it has something to do with Gtk, but even with usecanvas(%F) it does not work..... Does anybody know a workaround ?? Best regards Michael From Sumanth.Murali at aurecongroup.com Mon Jan 30 01:35:57 2012 From: Sumanth.Murali at aurecongroup.com (Sam Murali) Date: Mon, 30 Jan 2012 00:35:57 +0000 Subject: Double exponential Curve fitting Message-ID: <5F4C2FA54157F9448AD48E204555D14E01295B7E@AUDC1PEXMBX01.AURECON.INFO> Hello I am trying to use lsqrsolve to curve fir data in txt document, but no matter what I do the curve fitting is not matching the data points. It never reaches the peak or ripple section of the waveform. I have list my code and attached the data that I am trying to curvefit. Code: clear clc B=read_csv('c:\users\sumanth.murali\desktop\LI-A6.txt') P=evstr(B) function z=fun(p) B=read_csv('c:\users\sumanth.murali\desktop\LI-A6.txt') DAT= evstr(B) z=DAT(:,2) - p(1)*(exp(-(DAT(:,1)-p(2))/p(3))-exp(-(DAT(:,1)-p(2))/p(4))) endfunction p0=[1000000 0.000001 0.00003 0.000004] function z=fct(p, m) z=fun(p) endfunction [p,v]=lsqrsolve(p0,fct,259); t=linspace(0,0.1,100000) //et=p(1)*( exp(-(t-p(2))/p(3)) - exp(-(t-p(2))/p(4))) et=p(1)*(exp(-(t-p(2))/p(3)) - exp(-(t-p(2))/p(4))) plot2d(P(:,1),P(:,2)) plot2d(t,et,rect=[[0,0,0.0030,100000]]) Regards, Sumanth Murali ________________________________________________________________________________ Sumanth (Sam) Murali [BEng Elec] Electrical Engineer, Energy Services, Aurecon T +61 2 4941 5607 F +61 2 4941 5489 M +61 408 296 128 E sumanth.murali at aurecongroup.com The University of Newcastle Union PO BOX 19, Callaghan | NSW 2308 | Australia aurecongroup.com ________________________________________________________________________________ Please consider your environment before printing this e-mail. [Description: cid:image001.jpg at 01CCD756.358A30F0] [Description: cid:image002.png at 01CCD756.358A30F0] [Description: cid:image003.png at 01CCD756.358A30F0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1605 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 2164 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 4107 bytes Desc: image003.png URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: LI-A6.txt URL: From viviane.cattin at cea.fr Mon Jan 30 08:32:18 2012 From: viviane.cattin at cea.fr (CATTIN Viviane 159512) Date: Mon, 30 Jan 2012 07:32:18 +0000 Subject: unsuscribe In-Reply-To: <4F259EA6.2040601@scilab-enterprises.com> References: <4F259EA6.2040601@scilab-enterprises.com> Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From constellationathome at googlemail.com Mon Jan 30 14:10:36 2012 From: constellationathome at googlemail.com (Constellation Athome) Date: Mon, 30 Jan 2012 14:10:36 +0100 Subject: [scilab-Users] Plot3d1 with spheres in diffrent colors, how? In-Reply-To: <4F259EA6.2040601@scilab-enterprises.com> References: <4F259EA6.2040601@scilab-enterprises.com> Message-ID: Hi Calixte, thank you for the code snippet. It works well, but may I ask another question? I want to "turn" the plot with alpha and theta angle. I want to do that to take screencapters from each position for an animation. but when I do that with a simple for and try to plot them, the colors are not there or every sphere has the same color. could you please tell me how to achieve that? best regards, Andreas 2012/1/29 Calixte > ** > On 29/01/2012 20:06, Constellation Athome wrote: > > Hi there, > > > Hi, > > In taking the example given in plot3d.html, you can make something like: > > deff("[x,y,z]=sph(alp,tet)",["x=r*cos(alp).*cos(tet)+orig(1)*ones(tet)";.. > "y=r*cos(alp).*sin(tet)+orig(2)*ones(tet)";.. > "z=r*sin(alp)+orig(3)*ones(tet)"]); > r=1; orig=[0 0 0]; > [xx,yy,zz]=eval3dp(sph,linspace(-%pi/2,%pi/2,40),linspace(0,%pi*2,20)); > clf(); > plot3d(xx,yy,zz) > plot3d(xx,yy,zz + 2.5) > > a=gca(); > a.children(1).color_mode = 3; > a.children(2).color_mode = 5; > > You should have a look at: > http://help.scilab.org/docs/5.3.3/en_US/surface_properties.html > > Regards, > > Calixte > > > > > I would like to give each sphere in my plot3d1 plot a different color so > that I can distinguish them better. > I played around with http://help.scilab.org/docs/5.3.3/en_US/plot3d.htmlbut couldn't find a way to change it to rgb colours or whatever, to have a > red, a green and another colour. > > It would be great, if you could help me. > And another question is, how to add opacity so that they will be > translucent. > > Thanks in advance, > > Andreas > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grivet at cnrs-orleans.fr Tue Jan 31 17:14:54 2012 From: grivet at cnrs-orleans.fr (grivet) Date: Tue, 31 Jan 2012 17:14:54 +0100 Subject: Discrete cosine transform In-Reply-To: <4F259EA6.2040601@scilab-enterprises.com> References: <4F259EA6.2040601@scilab-enterprises.com> Message-ID: <4F28137E.3090808@cnrs-orleans.fr> Hello, The discrete cosine transform is often used in image processing and in some versions of Fourier transform spectroscopy. Does such a function exist in Scilab? Are there any plans to implement it? The DCT (and DST, the discrete sine transform) are available in FFTW but it would be convenient if they were directly callable in Scilab. Failing that, doesnanybody have a ready made version of these transforms built on fft? Thanks in advance for your suggestions JP Grivet From Serge.Steer at inria.fr Tue Jan 31 17:55:16 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 31 Jan 2012 17:55:16 +0100 Subject: [scilab-Users] Discrete cosine transform In-Reply-To: <4F28137E.3090808@cnrs-orleans.fr> References: <4F259EA6.2040601@scilab-enterprises.com> <4F28137E.3090808@cnrs-orleans.fr> Message-ID: <4F281CF4.6030405@inria.fr> Le 31/01/2012 17:14, grivet a ?crit : > Hello, > The discrete cosine transform is often used in image processing and in > some versions of Fourier transform spectroscopy. Does such a function > exist in Scilab? Are there any plans to implement it? > The DCT (and DST, the discrete sine transform) are available in FFTW > but it would be convenient if they were directly callable in Scilab. > Failing that, doesnanybody have a ready made version of these > transforms built on fft? > Thanks in advance for your suggestions > JP Grivet > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > I am currently working to improve fftw interface in Scilab to take into account the symmetry of the data. I have also in mind to add the DCT and DST function based on the fftw procedures. Serge Steer INRIA