From enrico.segre at weizmann.ac.il Thu May 1 13:04:29 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Thu, 01 May 2008 14:04:29 +0300 Subject: Error: can't read debugstate: no such variable Message-ID: <1209639869.21270.57.camel@segre-pc2.weizmann.ac.il> > it seems I don't have ~/.Scilab/scilab-/.SciPadPreferences.tcl > > 'slocate SciPadPreferences' returns nothing at all. I overlooked, obviously if scipad doesn't start correctly, it might not create this file at all upon exit. Though I can't reproduce and I think it is most likely a tcl bug in your installation, I'll try to figure out and to suggest tests. I'll just move the discussion to where I feel it belongs more, i.e. http://bugzilla.scilab.org/show_bug.cgi?id=2879 Enrico From pierre-alain.millet at insa-lyon.fr Mon May 5 11:17:56 2008 From: pierre-alain.millet at insa-lyon.fr (pierre-alain.millet) Date: Mon, 05 May 2008 11:17:56 +0200 Subject: stacksize... Message-ID: <481ED0C4.5020004@insa-lyon.fr> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pierre-alain_millet.vcf Type: text/x-vcard Size: 379 bytes Desc: not available URL: From sylvestre.ledru at inria.fr Mon May 5 11:24:33 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Mon, 05 May 2008 11:24:33 +0200 Subject: [scilab-Users] stacksize... In-Reply-To: <481ED0C4.5020004@insa-lyon.fr> References: <481ED0C4.5020004@insa-lyon.fr> Message-ID: <1209979473.32145.2446.camel@korcula.inria.fr> [...] Sorry for non french speakers. Le lundi 05 mai 2008 ? 11:17 +0200, pierre-alain.millet a ?crit : > > une remarque sur le group usenet scilab tr?s actif... > d?sagr?able de devoir cr?er un compte google pour ?? > pourquoi pas un serveur de usegroup de l'inria... ? Usenet is a network of news server. There is no obligation to use Google for this. Just connect yourself to your ISP news server and you will have access to Scilab newsgroup (for example, I am using Pan as client with the internal INRIA newsgroup server). Sylvestre From pierre-alain.millet at insa-lyon.fr Mon May 5 11:55:57 2008 From: pierre-alain.millet at insa-lyon.fr (pierre-alain.millet) Date: Mon, 05 May 2008 11:55:57 +0200 Subject: [scilab-Users] stacksize... In-Reply-To: <1209979473.32145.2446.camel@korcula.inria.fr> References: <481ED0C4.5020004@insa-lyon.fr> <1209979473.32145.2446.camel@korcula.inria.fr> Message-ID: <481ED9AD.8080908@insa-lyon.fr> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pierre-alain_millet.vcf Type: text/x-vcard Size: 379 bytes Desc: not available URL: From pierre-alain.millet at insa-lyon.fr Mon May 5 12:02:57 2008 From: pierre-alain.millet at insa-lyon.fr (pierre-alain.millet) Date: Mon, 05 May 2008 12:02:57 +0200 Subject: [scilab-Users] stacksize... In-Reply-To: <1209979473.32145.2446.camel@korcula.inria.fr> References: <481ED0C4.5020004@insa-lyon.fr> <1209979473.32145.2446.camel@korcula.inria.fr> Message-ID: <481EDB51.8060703@insa-lyon.fr> sylvestre, thanks a lot... In fact, it was quite obvious but i was so focused on my memory limitation than i forgot.. english... and some "bon sens"... pam Sylvestre Ledru a ?crit : > [...] > > Sorry for non french speakers. > > Le lundi 05 mai 2008 ? 11:17 +0200, pierre-alain.millet a ?crit : > >> une remarque sur le group usenet scilab tr?s actif... >> d?sagr?able de devoir cr?er un compte google pour ?? >> pourquoi pas un serveur de usegroup de l'inria... ? >> > Usenet is a network of news server. There is no obligation to use Google > for this. Just connect yourself to your ISP news server and you will > have access to Scilab newsgroup (for example, I am using Pan as client > with the internal INRIA newsgroup server). > > Sylvestre > > > -- *Pierre-Alain MILLET * Professeur Associ?, Laboratoire LIESP: pierre-alain.millet at insa-lyon.fr /Consultant ERP, ANTEOR : p.millet at anteor.fr / Tel : +33 (0)472436264 Mobile: +33 (0)607 50 33 81 Bat. Blaise PASCAL Nord (501), Salle 227, 2?me ?tage INSA Villeurbanne. D?partement Informatique 7, avenue Jean Capelle, 69621 Villeurbanne Cedex http://liesp.insa-lyon.fr http://easy-dim.org -------------- next part -------------- A non-text attachment was scrubbed... Name: pierre-alain_millet.vcf Type: text/x-vcard Size: 379 bytes Desc: not available URL: From jryan at shotoku.co.uk Tue May 6 12:53:56 2008 From: jryan at shotoku.co.uk (John Ryan) Date: Tue, 6 May 2008 11:53:56 +0100 Subject: System Identification with frfit() Message-ID: <007401c8af67$7bc88410$1800000a@ibowden> Bonjour, I have measured the phase and magnitude response of a system and I am trying to identify a model for it with frfit(). This works well up to about 10Hz but then can be 20dB different in gain, 150degrees in phase. Best fit is with order 3 or 4. My data is a log frequency sweep from 0.7Hz to 60Hz. It is a little noisy (+/- 0.5dB, +/-3deg). The response has a 'peak' in the phase between 7 and 20Hz and increasing gain over this region. I tried separating the model. First I divided the measured data by the modeled response (to extract just the data that does not fit the model) and then frfit() to the remaining data. This did not help as the fit to the remaining data was just as bad. Can anybody suggest how to analyse this system? Thanks for any help, Regards, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From mjmccann at iee.org Tue May 6 13:20:15 2008 From: mjmccann at iee.org (Michael J. McCann) Date: Tue, 06 May 2008 11:20:15 +0000 Subject: [scilab-Users] System Identification with frfit() In-Reply-To: <007401c8af67$7bc88410$1800000a@ibowden> References: <007401c8af67$7bc88410$1800000a@ibowden> Message-ID: John, If you know something about the underlying physics of the system, then that is, in my view (as a control and dynamic systems person), the place to start. I suspect that you can get the peak with a second order under damped-pair of poles, and fake the rest of the drop off or rise with first order (left half plane) poles and zeros. It might be easier to build a model up from these basic components (as products in a transfer function) rather than try to get a mechanical solution method. However, it's possible you have a non-minimum phase system so it will be trickier. Mike. ============================================== At 10:53 2008-05-06, you wrote: >Bonjour, >I have measured the phase and magnitude response of a system and I >am trying to identify a model for it with frfit(). This works well >up to about 10Hz but then can be 20dB different in gain, 150degrees >in phase. Best fit is with order 3 or 4. >My data is a log frequency sweep from 0.7Hz to 60Hz. It is a little >noisy (+/- 0.5dB, +/-3deg). The response has a 'peak' in the phase >between 7 and 20Hz and increasing gain over this region. >I tried separating the model. First I divided the measured data by >the modeled response (to extract just the data that does not fit the >model) and then frfit() to the remaining data. This did not help as >the fit to the remaining data was just as bad. >Can anybody suggest how to analyse this system? >Thanks for any help, >Regards, John Dr Michael J. McCann, Date: 2008.05.06 11:18gmt BSc(Eng), DIC, PhD, CEng, FIEE. McCann Science. Tel: +1 302 654-2953 (Land line) Fax: +1 302 429-9458 Mobile: +1 302 377-1508 (in USA) Mobile: +44 (0)7876 184538 (if in a GSM zone) Email: mjmccann at iee.org W: //www.mccannscience.com/ POB 902, Chadds Ford PA 19317 USA. "Practical solutions to problems in business, engineering and science through quantified analysis." From jryan at shotoku.co.uk Tue May 6 14:48:53 2008 From: jryan at shotoku.co.uk (John Ryan) Date: Tue, 6 May 2008 13:48:53 +0100 Subject: [scilab-Users] System Identification with frfit() In-Reply-To: <200805061126.m46BQ8L13830@ricca.cyberjellyfish.net> Message-ID: <008401c8af77$8b24e880$1800000a@ibowden> Hi Mike, Thanks for the suggestion; I'll give it a go. The system should be simple, it's a DC motor driving a solid load via gears and belts. I think that the complexity comes from stretching in the belts, lost motion in the gears and nonlinear effects in the motor, which is why I was looking to identify it empirically. Regards, John -----Original Message----- From: Michael J. McCann [mailto:mjmccann at iee.org] Sent: 06 May 2008 12:20 To: users at lists.scilab.org Subject: Re: [scilab-Users] System Identification with frfit() John, If you know something about the underlying physics of the system, then that is, in my view (as a control and dynamic systems person), the place to start. I suspect that you can get the peak with a second order under damped-pair of poles, and fake the rest of the drop off or rise with first order (left half plane) poles and zeros. It might be easier to build a model up from these basic components (as products in a transfer function) rather than try to get a mechanical solution method. However, it's possible you have a non-minimum phase system so it will be trickier. Mike. ============================================== At 10:53 2008-05-06, you wrote: >Bonjour, >I have measured the phase and magnitude response of a system and I >am trying to identify a model for it with frfit(). This works well >up to about 10Hz but then can be 20dB different in gain, 150degrees >in phase. Best fit is with order 3 or 4. >My data is a log frequency sweep from 0.7Hz to 60Hz. It is a little >noisy (+/- 0.5dB, +/-3deg). The response has a 'peak' in the phase >between 7 and 20Hz and increasing gain over this region. >I tried separating the model. First I divided the measured data by >the modeled response (to extract just the data that does not fit the >model) and then frfit() to the remaining data. This did not help as >the fit to the remaining data was just as bad. >Can anybody suggest how to analyse this system? >Thanks for any help, >Regards, John Dr Michael J. McCann, Date: 2008.05.06 11:18gmt BSc(Eng), DIC, PhD, CEng, FIEE. McCann Science. Tel: +1 302 654-2953 (Land line) Fax: +1 302 429-9458 Mobile: +1 302 377-1508 (in USA) Mobile: +44 (0)7876 184538 (if in a GSM zone) Email: mjmccann at iee.org W: //www.mccannscience.com/ POB 902, Chadds Ford PA 19317 USA. "Practical solutions to problems in business, engineering and science through quantified analysis." From mjmccann at iee.org Tue May 6 21:19:07 2008 From: mjmccann at iee.org (Michael J. McCann) Date: Tue, 06 May 2008 19:19:07 +0000 Subject: [scilab-Users] System Identification with frfit() In-Reply-To: <008401c8af77$8b24e880$1800000a@ibowden> References: <200805061126.m46BQ8L13830@ricca.cyberjellyfish.net> <008401c8af77$8b24e880$1800000a@ibowden> Message-ID: John, The elastic belt will give a compliance and a means of storing energy hence an increase in the order of the system. I see the inertia of the motor, the stretch of the belt and the inertia of the load as energy storage elements, maybe an inductance in the motor. Each will be a second order component dx/dt and x(t), though maybe the belt can be considered a spring of zero inertia. The backlash in the gears will create another non-linearity and a potential for trouble when you try to get it under control. We could always do a simulation and a time domain solution (Scicos). Mike. ================== At 12:48 2008-05-06, you wrote: >Hi Mike, >Thanks for the suggestion; I'll give it a go. The system should be simple, >it's a DC motor driving a solid load via gears and belts. I think that the >complexity comes from stretching in the belts, lost motion in the gears and >nonlinear effects in the motor, which is why I was looking to identify it >empirically. >Regards, John From BWOFFICER at qinetiq.com Wed May 7 14:54:45 2008 From: BWOFFICER at qinetiq.com (Officer Bruce W) Date: Wed, 7 May 2008 13:54:45 +0100 Subject: Problem reading data file using mget Message-ID: I'm trying to read in a file of 16-bit signed data samples (generated by a logging system). I try reading in the first 2000 samples using command Samples=mget(2000,'s',SampleFileHandle); Problem is that only the first 535 values are read in. Have also tried reading in using Samples=mtlb_fread(SampleFileHandle,2000,'int16'); If I do this I get an error "...error 10000, End of file reached before all matrix is read..." If I try to read the same file in using MATLAB and the command Samples=fread(SampleFileHandle,2000,'int16'); then it reads in all 2000 values OK. I wonder whether Scilab is misinterpreting one of the data values as an end-of-file marker, possibly the 536th value since that is where mget stops. When I read in using MATLAB, it turns out that the 536th element of Samples array is 26. Is this of special significance? BWOfficer The information contained in this E-Mail and any subsequent correspondence is private and is intended solely for the intended recipient(s). The information in this communication may be confidential and/or legally privileged. Nothing in this e-mail is intended to conclude a contract on behalf of QinetiQ or make QinetiQ subject to any other legally binding commitments, unless the e-mail contains an express statement to the contrary or incorporates a formal Purchase Order. For those other than the recipient any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on such information is prohibited and may be unlawful. Emails and other electronic communication with QinetiQ may be monitored and recorded for business purposes including security, audit and archival purposes. Any response to this email indicates consent to this. Telephone calls to QinetiQ may be monitored or recorded for quality control, security and other business purposes. QinetiQ Limited Registered in England & Wales: Company Number:3796233 Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom Trading address: Cody Technology Park, Cody Building, Ively Road, Farnborough, Hampshire, GU14 0LX, United Kingdom http://www.QinetiQ.com/home/legal.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From esmamian at gmail.com Thu May 8 00:38:04 2008 From: esmamian at gmail.com (esmamian) Date: Wed, 7 May 2008 17:38:04 -0500 Subject: Matrix Message-ID: <7e1354bc0805071538i78a2f3e5oa7b9cc2f1dc2b261@mail.gmail.com> Hi all ! I need a function that finds a submatrix of a matrix whose columns or rows are linearly independent somebody here knows a way to accomplish this? Thanks in advice! Sofia -------------- next part -------------- An HTML attachment was scrubbed... URL: From enrico.segre at weizmann.ac.il Thu May 8 20:39:51 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Thu, 08 May 2008 21:39:51 +0300 Subject: Matrix Message-ID: <1210271991.19880.11.camel@localhost.localdomain> help rowcomp? From sandeep.prasad at tcs.com Fri May 9 08:13:26 2008 From: sandeep.prasad at tcs.com (Sandeep Prasad) Date: Fri, 9 May 2008 11:43:26 +0530 Subject: use of Sci2for Message-ID: Dear All, Kindly help me with the conversion of Scilab code to Fortran routines. If anyone has knowledge about this conversion kindly let me know. Regards, Sandeep Prasad Tata Consultancy Services Plot No 1, Survey No. 64/2, Software Units Layout Serilingampally Mandal, Madhapur Hyderabad,Andhra Pradesh India Ph:- 04066673582 Cell:- 9290868592 Mailto: sandeep.prasad at tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you From pierre-alain.millet at insa-lyon.fr Sat May 10 10:00:54 2008 From: pierre-alain.millet at insa-lyon.fr (Pierre-Alain Millet) Date: Sat, 10 May 2008 10:00:54 +0200 Subject: min_weight_tree for non oriented graph Message-ID: <20080510100054.l699oclpq8sco8ww@webmail2.insa-lyon.fr> thanks for any help to a newbie, in a learning phase on a simple example...? ;o-) using the min_weight_tree function with a non oriented graph, i do not understand the result, and for my understanding, the result is not a tree... before creating a request or bug, i imagine someone can explain more... Example: ta=[ 1, 1, 1, 2, 2, 2, 3, 4, 5, 8, 7, 6, 6, 6, 6, 6, 9, 9,10,11,12,13,14]; he=[ 2,10,11, 3, 7, 8, 4, 5, 8, 7, 6,11,12,13,14,15,11,10,11,12,13,14,15]; g=make_graph('name',0,15,ta,he); t=min_weight_tree(1,g); for i=1:(node_number(g)-1) ? ? ? ? arbre(i,1)=g.tail(t(i)); ? ? ? ? arbre(i,2)=g.head(t(i)); end -->arbre arbre? = ? ? 1.? ? ?2. ? ? 2.? ? ?3. ? ? 4.? ? ?5. ? ? 5.? ? ?8. ? ? 6.? ? ?11. ? ? 2.? ? ?7. ? ? 2.? ? ?8. ? ? 9.? ? ?10. ? ? 1.? ? ?10. ? ? 1.? ? ?11. ? ? 11.? ? 12. ? ? 6.? ? ?13. ? ? 6.? ? ?14. ? ? 6.? ? ?15. For me, in a tree, the root is the only node with no head ... in this example: 1,4,6,9... that is a forest ! so the result of min_weight_tree is not a tree ? i read and read again the help with this strange sentence If T(I) is the root of the tree: - for j < i, T(J) is the number of the arc in the tree after node T(J) - for j > i, T(J) is the number of the arc in the tree before node T(J) t(j) is not a node... so what means "after node T(J)" and before node T(J) ?? so i suppose there is an error in this documentation... again, thanks for any help pam pam -------------- next part -------------- An HTML attachment was scrubbed... URL: From mjmccann at iee.org Sat May 10 14:00:15 2008 From: mjmccann at iee.org (Michael J. McCann) Date: Sat, 10 May 2008 12:00:15 +0000 Subject: [scilab-Users] min_weight_tree for non oriented graph In-Reply-To: <20080510100054.l699oclpq8sco8ww@webmail2.insa-lyon.fr> References: <20080510100054.l699oclpq8sco8ww@webmail2.insa-lyon.fr> Message-ID: Pierre, I know nothing at all about minimum weight trees, but I just looked at your result as if it was a "net-list" What I see is that starting at node 1, all the other nodes are reachable but for example, to get to 4 you have to go: 1-2-8-5-4 which means that the links 4-5 and 5-8 are traversed in the opposite direction to that in which they are listed, but, after all, it's a "non-oriented graph". :-) Cheers, Mike. ps: you can actually start anywhere and reach all the other nodes. =================================== At 08:00 2008-05-10, you wrote: >..... with a non oriented graph, i do not understand the result, >and for my understanding, the result is not a tree... > >before creating a request or bug, i imagine someone can explain more... >.................... >-->arbre >arbre = > > 1. 2. > 2. 3. > 4. 5. > 5. 8. > 6. 11. > 2. 7. > 2. 8. > 9. 10. > 1. 10. > 1. 11. > 11. 12. > 6. 13. > 6. 14. > 6. 15. > >For me, in a tree, the root is the only node with no head ... >in this example: 1,4,6,9... that is a forest ! ...... From yuta.sawa at inria.fr Sun May 11 17:46:59 2008 From: yuta.sawa at inria.fr (Yuta SAWA) Date: Sun, 11 May 2008 17:46:59 +0200 Subject: [scilab-Users] min_weight_tree for non oriented graph In-Reply-To: <20080510100054.l699oclpq8sco8ww@webmail2.insa-lyon.fr> References: <20080510100054.l699oclpq8sco8ww@webmail2.insa-lyon.fr> Message-ID: <20080511174659.ij1cwr30o4kokgks@webmail-roc.inria.fr> Do you know what "minimum spaning tree" is? The difinition of tree is written in Wikipedia. http://en.wikipedia.org/wiki/Tree_structure This case, you have already had a tree. In tree structure, any node can be root (head) of tree. > > > > thanks for any help to a newbie, in a learning phase on a simple > example...? ;o-) > > using the min_weight_tree function with a non oriented graph, i do not > understand the result, and for my understanding, the result is not a > tree... > > before creating a request or bug, i imagine someone can explain more... > > Example: > > ta=[ 1, 1, 1, 2, 2, 2, 3, 4, 5, 8, 7, 6, 6, 6, 6, 6, 9, 9,10,11,12,13,14]; > he=[ 2,10,11, 3, 7, 8, 4, 5, 8, 7, 6,11,12,13,14,15,11,10,11,12,13,14,15]; > g=make_graph('name',0,15,ta,he); > t=min_weight_tree(1,g); > for i=1:(node_number(g)-1) > ? ? ? ? arbre(i,1)=g.tail(t(i)); > ? ? ? ? arbre(i,2)=g.head(t(i)); > end > > -->arbre > arbre? = > > ? ? 1.? ? ?2. > ? ? 2.? ? ?3. > ? ? 4.? ? ?5. > ? ? 5.? ? ?8. > ? ? 6.? ? ?11. > ? ? 2.? ? ?7. > ? ? 2.? ? ?8. > ? ? 9.? ? ?10. > ? ? 1.? ? ?10. > ? ? 1.? ? ?11. > ? ? 11.? ? 12. > ? ? 6.? ? ?13. > ? ? 6.? ? ?14. > ? ? 6.? ? ?15. > > For me, in a tree, the root is the only node with no head ... > in this example: 1,4,6,9... that is a forest ! > > so the result of min_weight_tree is not a tree ? > > i read and read again the help with this strange sentence > > If T(I) is the root of the tree: > - for j < i, T(J) is the number of the arc in the tree after node T(J) > - for j > i, T(J) is the number of the arc in the tree before node T(J) > > t(j) is not a node... so what means "after node T(J)" and > before node T(J) ?? > > so i suppose there is an error in this documentation... > > again, thanks for any help > > pam > > pam -- Yuta SAWA Scilab Team Member ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From pierre-alain.millet at insa-lyon.fr Mon May 12 13:08:51 2008 From: pierre-alain.millet at insa-lyon.fr (Pierre-Alain Millet) Date: Mon, 12 May 2008 13:08:51 +0200 Subject: [scilab-Users] min_weight_tree for non oriented graph In-Reply-To: <20080511174659.ij1cwr30o4kokgks@webmail-roc.inria.fr> References: <20080510100054.l699oclpq8sco8ww@webmail2.insa-lyon.fr> <20080511174659.ij1cwr30o4kokgks@webmail-roc.inria.fr> Message-ID: <20080512130851.1089q14hc04s8o4o@webmail2.insa-lyon.fr> many thanks, Yuta, i was confusing tree and rooted tree.. In my experience (software data structures like bill of material)... a tree was supposed to have a root... pam Quoting Yuta SAWA : > Do you know what "minimum spaning tree" is? > > The difinition of tree is written in Wikipedia. > http://en.wikipedia.org/wiki/Tree_structure > > This case, you have already had a tree. > In tree structure, any node can be root (head) of tree. > >> > >> >> >> thanks for any help to a newbie, in a learning phase on a simple >> example... ;o-) >> >> using the min_weight_tree function with a non oriented graph, i do not >> understand the result, and for my understanding, the result is not a >> tree... >> >> before creating a request or bug, i imagine someone can explain more... >> >> Example: >> >> ta=[ 1, 1, 1, 2, 2, 2, 3, 4, 5, 8, 7, 6, 6, 6, 6, 6, 9, 9,10,11,12,13,14]; >> he=[ 2,10,11, 3, 7, 8, 4, 5, 8, 7, 6,11,12,13,14,15,11,10,11,12,13,14,15]; >> g=make_graph('name',0,15,ta,he); >> t=min_weight_tree(1,g); >> for i=1:(node_number(g)-1) >> arbre(i,1)=g.tail(t(i)); >> arbre(i,2)=g.head(t(i)); >> end >> >> -->arbre >> arbre = >> >> 1. 2. >> 2. 3. >> 4. 5. >> 5. 8. >> 6. 11. >> 2. 7. >> 2. 8. >> 9. 10. >> 1. 10. >> 1. 11. >> 11. 12. >> 6. 13. >> 6. 14. >> 6. 15. >> >> For me, in a tree, the root is the only node with no head ... >> in this example: 1,4,6,9... that is a forest ! >> >> so the result of min_weight_tree is not a tree ? >> >> i read and read again the help with this strange sentence >> >> If T(I) is the root of the tree: >> - for j < i, T(J) is the number of the arc in the tree after node T(J) >> - for j > i, T(J) is the number of the arc in the tree before node T(J) >> >> t(j) is not a node... so what means "after node T(J)" and >> before node T(J) ?? >> >> so i suppose there is an error in this documentation... >> >> again, thanks for any help >> >> pam >> >> pam > > > > -- > Yuta SAWA > Scilab Team Member > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. From joona.palaste at saunalahti.fi Wed May 14 20:26:51 2008 From: joona.palaste at saunalahti.fi (Joona Palaste) Date: Wed, 14 May 2008 21:26:51 +0300 Subject: Can I use this Matlab code in Scilab? Message-ID: <1210789611.10205.1.camel@localhost.localdomain> I found this interesting website: http://www.cs.huji.ac.il/~yweiss/Colorization/ Unfortunately, all the code they have is in Matlab. Can I use it in Scilab or do I need to buy Matlab? Joona Palaste From vincent.couvert at inria.fr Thu May 15 08:34:13 2008 From: vincent.couvert at inria.fr (Vincent COUVERT) Date: Thu, 15 May 2008 08:34:13 +0200 Subject: [scilab-Users] Can I use this Matlab code in Scilab? In-Reply-To: <1210789611.10205.1.camel@localhost.localdomain> References: <1210789611.10205.1.camel@localhost.localdomain> Message-ID: <482BD965.9090108@inria.fr> Hi, This code can not be used directly in Scilab. You can try to convert it using Matlab to Scilab conversion tools embedded in Scilab but these tools no yet convert mex files... Vincent Joona Palaste a ?crit : > I found this interesting website: > > http://www.cs.huji.ac.il/~yweiss/Colorization/ > > Unfortunately, all the code they have is in Matlab. Can I use it in > Scilab or do I need to buy Matlab? > > Joona Palaste > > > > -- ============================================== Vincent COUVERT Centre de Recherche INRIA Paris-Rocquencourt Domaine de Voluceau - B.P. 105 78153 Le Chesnay Cedex ============================================== Equipe Projet SCILAB B?timent 1B - Bureau 013 Email : vincent.couvert at inria.fr T?l : +33 (0)1 39 63 54 46 Fax : +33 (0)1 39 63 55 94 ============================================== From joona.palaste at saunalahti.fi Thu May 15 20:22:16 2008 From: joona.palaste at saunalahti.fi (Joona Palaste) Date: Thu, 15 May 2008 21:22:16 +0300 Subject: Can not build Scilab with TCL/TK support Message-ID: <1210875736.16700.2.camel@localhost.localdomain> I cannot get Scilab to build with TCL/TK support included. I have compiled and installed both TCL and TK with no problems. But when I try to build Scilab, I get an error message: /home/joona/scilab-4.1.2/bin/scilex: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory "locate libtcl" tells me the library is installed in /usr/local/lib/libtcl8.5.so. Also /usr/local/lib/libtk8.5.so is there. The configure script finds them but the build process does not. If I configure Scilab to disable TCL/TK support it builds and starts up fine but I do not get a TCL GUI. Can someone help me here? Joona Palaste From mjmccann at iee.org Fri May 16 22:32:34 2008 From: mjmccann at iee.org (Michael J. McCann) Date: Fri, 16 May 2008 20:32:34 +0000 Subject: SciCos: Finding Block Numbers Message-ID: How can a SciFunc block access its own block number? I want to be able to use it, via links or other tables of correspondence, to check on the properties of the other blocks to which it is connected. Mike. =============================== From samidhc at gmail.com Fri May 16 22:56:59 2008 From: samidhc at gmail.com (Samidh Chatterjee) Date: Fri, 16 May 2008 16:56:59 -0400 Subject: Questions from a novice Message-ID: <33f943660805161356r2afd5ae0i9a00403cc6b8bf4f@mail.gmail.com> I just started using scilab. In fact I was looking for a code that can perform minimum weight perfect matching on complete graphs. I am not sure whether the perfect_match function will do so. I have some confusions that I need to get cleared about. 1. Why does the arcost vector need to have dimension twice the number of edges? 2. In the example the vector is generated randomly. But I have a set which is being generated by another program, hence I have only the costs for the edges of the graph. If I am doubling the dimension, what values should I be entering in those slots? For example, if my edge set is "n" dimensional, I have "n" costs only. But arcost needs to be of dimension "2n". What should be the values for those "n" additional slots in the vector? 3. I see functions for handling "x" and "y" coordinates of the nodes. g("node_x") and g("node_y"). What if my dataset is 3 dimensional? Thanks Samidh -- Samidh Chatterjee Dept. of Computer Science Florida State University Tallahassee, FL USA -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at inria.fr Mon May 19 00:20:06 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Mon, 19 May 2008 00:20:06 +0200 Subject: Mailing lists archives available on gmane.org Message-ID: <1211149206.26291.143.camel@zlarin.inria.fr> Hello, In order to simplify the browse of the mailing lists archives, both mailing lists have been registered on gmane.org. User ML - Information: http://dir.gmane.org/gmane.comp.mathematics.scilab.user Archives: http://news.gmane.org/gmane.comp.mathematics.scilab.user Dev ML - Information: http://dir.gmane.org/gmane.comp.mathematics.scilab.devel Archives: http://news.gmane.org/gmane.comp.mathematics.scilab.devel Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From BlanchardJ at ieee.org Tue May 20 13:56:30 2008 From: BlanchardJ at ieee.org (Jonathan Blanchard) Date: Tue, 20 May 2008 08:56:30 -0300 Subject: Scilab matrix of string in shared lib. Message-ID: Hi, I would like to know if it's possible to read and writre matrix of strings from external shared library. If yes how can it be done. Thanks. -- Jonathan Blanchard BlanchardJ at ieee.org From UVV-mail at yandex.ru Tue May 20 18:18:50 2008 From: UVV-mail at yandex.ru (Vyacheslav V. Yurkov) Date: Wed, 21 May 2008 00:18:50 +0800 Subject: few questions about scicos Message-ID: <4832F9EA.8060904@yandex.ru> 1. Are scicos text blocks support any other characters but latin? 2. I have a model. You can find it enclosed. When I'm trying to run it I see a lot of following messages in Scilab console: **** SUNDIALS.Cvode: too much work at time=0.002 (stiff region, change RTOL and ATOL) After few experiments I understood that errors occur due to Delay blocks (Continuous Fix Delay). The model consists from two parts: setting device and control block. When I run each part separately they work with no errors. -- Vyacheslav V. Yurkov Process Control Engineer Norilsk Tel: +79069001870 Department of process control systems Open Joint Stock Company MMC Norilsk Nickel, brass works -------------- next part -------------- A non-text attachment was scrubbed... Name: model.cos Type: application/octet-stream Size: 289772 bytes Desc: not available URL: From remjg at free.fr Wed May 21 19:48:19 2008 From: remjg at free.fr (=?ISO-8859-1?Q?=22R=E9mi_G=2E=22?=) Date: Wed, 21 May 2008 19:48:19 +0200 Subject: =?ISO-8859-1?Q?Probl=E8me_pour_r=E9cup=E9rer_le_maillage?= =?ISO-8859-1?Q?_donn=E9_par_=22eval3dp=22_=5BD=E9butant=5D?= Message-ID: <48346063.3050304@free.fr> Bonjour! Je souhaite tracer un ellipsoide, obtenir un maillage de la surface puis un graphe ? partir de ce dernier afin de calculer le plus cours chemin entre 2 points. Etant donn? que pour tracer ce type de surface il faut utiliser "eval3dp" afin d'approximer la courbe par des facettes, j'ai essay? de r?cup?rer le maillage obtenu. Mais je me heurte ? un probl?me plut?t g?nant : les coordonn?es d'un m?me point ne sont pas toujours exactement les m?mes selon la facette sur laquelle on se place... Par exemple un "m?me point" aura pour coordonn?es (1. , 0. , 0.) ou (1. , - 2.445D-16 , 0). Que faire alors? Je suis tr?s emb?t?s! Ci-joint au cas o? la fonction que j'ai ?crite pour r?cup?rer les ar?tes des facettes g?n?r?es par "eval3dp" pour tracer un ellipsoide. P.S : je d?bute sous Scilab et je ne connais pas Matlab. J'utilise Scilab 4.1.2 sous Linux. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ellipsoide3.sci URL: From fvogelnew1 at free.fr Wed May 21 20:35:11 2008 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Wed, 21 May 2008 20:35:11 +0200 Subject: [scilab-Users] =?ISO-8859-1?Q?Probl=E8me_pour_r=E9cup=E9?= =?ISO-8859-1?Q?rer_le_maillage_donn=E9_par_=22eval3dp=22_=5B?= =?ISO-8859-1?Q?D=E9butant=5D?= In-Reply-To: <48346063.3050304@free.fr> References: <48346063.3050304@free.fr> Message-ID: <48346B5F.4080804@free.fr> > Par exemple un "m?me point" aura pour coordonn?es (1. , 0. , 0.) ou (1. > , - 2.445D-16 , 0). Welcome to numerical computing world. Maybe clean could help you. try help clean in Scilab. Francois From mathieu.dubois at limsi.fr Wed May 21 23:35:47 2008 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 21 May 2008 23:35:47 +0200 Subject: colorbar error Message-ID: <483495B3.90608@limsi.fr> Hi everybody, I'm using scilab 4.1.2 on a x86_64 box running ubuntu 8.04. I have trouble with the colorbar function. Each time I try to run the function (for instance the example code given in the man page of colorbar), I get the following error: !--error 999 set: Number of the second argument must be taken between 1 to 3 at line 4 of function generic_i_h called by : line 2 of function %c_i_h called by : line 113 of function colorbar called by : Does anyone know what's happening and how to fix it? Any help appreciated. Best regards, Mathieu From enrico.segre at weizmann.ac.il Thu May 22 07:51:56 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Thu, 22 May 2008 08:51:56 +0300 Subject: colorbar error Message-ID: <1211435516.16645.139.camel@segre-pc2.weizmann.ac.il> known bug, no fix reported so far, unfortunately: http://bugzilla.scilab.org/show_bug.cgi?id=2394 From mathieu.dubois at limsi.fr Thu May 22 18:10:02 2008 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 22 May 2008 18:10:02 +0200 Subject: [scilab-Users] Re: colorbar error In-Reply-To: <1211435516.16645.139.camel@segre-pc2.weizmann.ac.il> References: <1211435516.16645.139.camel@segre-pc2.weizmann.ac.il> Message-ID: <48359ADA.3010003@limsi.fr> Thanks for the reply. Does the bug affect only the x86_64 version of scilab? I have tried the dirty workaround presented in the bug report without success. Do you know which lines I could comment out? Thanks again. Mathieu Best regards, Mathieu Enrico Segre wrote: > known bug, no fix reported so far, unfortunately: > http://bugzilla.scilab.org/show_bug.cgi?id=2394 > > From A.Bluem at fhtw-berlin.de Fri May 23 14:36:00 2008 From: A.Bluem at fhtw-berlin.de (Alexander Bluem) Date: Fri, 23 May 2008 14:36:00 +0200 Subject: negative poly-exponents Message-ID: <4836BA30.3090708@fhtw-berlin.de> hello, I am trying to design discrete filters using the z-transform. At my university we are doing so in this form: H(z) = ( (z - z_01) * (z - z_02) ) / ( (z - z_x1) * (z - z_x2) ) of course the result is with positive z-exponents. now: how do I get the representation with negative exponents ? for example: zo=1.25; zx=0.8; z=poly(0,'z'); (z-zo)/(z-zx) ans = - 1.25 + z -------- - 0.8 + z but I'd like this output: -1 1 - 1.25z -------- -1 1 - 0.8z any hints are much appreciated. Alex From remjg at free.fr Sat May 24 19:07:34 2008 From: remjg at free.fr (=?ISO-8859-1?Q?=22R=E9mi_G=2E=22?=) Date: Sat, 24 May 2008 19:07:34 +0200 Subject: [scilab-Users] =?ISO-8859-1?Q?Probl=E8me_pour_r=E9cup=E9?= =?ISO-8859-1?Q?rer_le_maillage_donn=E9_par_=22eval3dp=22_=5B?= =?ISO-8859-1?Q?D=E9butant=5D?= In-Reply-To: <48346B5F.4080804@free.fr> References: <48346063.3050304@free.fr> <48346B5F.4080804@free.fr> Message-ID: <48384B56.3010006@free.fr> Merci beaucoup! Gr?ce ? "clean", ma fonction "MaillageEllipsoide" discr?tise mon ellipsoide et renvoie une matrice contenant la liste des ar?tes et leur longueur : A = [ x1,y1,z1,x2,y2,z2,d12 x3,y3,z3,x4,y4,z4,d34 ... xn,yn,zn,xm,ym,zm,dnm ] Les coordonn?es d'un m?me point ?tant uniques, il n'y a donc plus redondance pour les points et les ar?tes! Ce qui devrait simplifier les chose pour cr?er le graphe correspondant dans scilab... Sinon j'ai ?crit 2 fonctions "TraceArete" et "TraceEllipsoide" afin de v?rifier que je retrouve bien l'ellipsoide dessin? avec "plot3d" pour la m?me discr?tisation. Mais j'aimerais savoir comment utiliser des couleurs avec la fonction "param3d"? J'aurais en effet besoin de tracer par la suite le chemin le plus court entre 2 points! Merci d'avance pour votre aide! --------------------- In english :p ------------------ Thank you very much! The function "clean" solved my problem! My function "MaillageEllipsoide" now returns a mesh of my ellipsoide in a matrix without duplicate points and arrays. I wrote 3 functions "TraceArete" and "TraceEllipsoide" in order to check if I can redraw my ellipsoide and it works. Nevertheless, I wonder how using color with "param3d"... Could you help me on this matter? -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ellipsoide3.sci URL: From valeryramirez at hotmail.com Mon May 26 00:30:52 2008 From: valeryramirez at hotmail.com (=?iso-8859-1?Q?Valery_Ramirez_Garc=ECa?=) Date: Sun, 25 May 2008 22:30:52 +0000 Subject: Scilab 4.1.2 does not work Message-ID: Good Afternoom, I have a computer with windows vista starter edition and i instaled the service pack 1 o windows vista scilab 4.1.2 does not work again, i probed uninstaled scilab and reinstaled en it does not work again, please helpme, its necesary for me to use scilab in labs in my university. _________________________________________________________________ Send funny voice messages packed with tidbits from MSN. Everyone wants to be ready. http://www.noonewantstolookdumb.com?OCID=T001MSN54N1613A -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at inria.fr Mon May 26 00:37:20 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Mon, 26 May 2008 00:37:20 +0200 Subject: [scilab-Users] Scilab 4.1.2 does not work In-Reply-To: References: Message-ID: <1211755040.5141.99.camel@zlarin.inria.fr> Hello Valery, Le dimanche 25 mai 2008 ? 22:30 +0000, Valery Ramirez Garc?a a ?crit : > Good Afternoom, I have a computer with windows vista starter edition > and i instaled the service pack 1 o windows vista scilab 4.1.2 does > not work again, What do you mean by "does not work again" ? Do you have an error message ? Regards, Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From mddemers at hotmail.com Mon May 26 02:38:18 2008 From: mddemers at hotmail.com (=?iso-8859-1?Q?Caec=F6s?=) Date: Sun, 25 May 2008 20:38:18 -0400 Subject: [scilab-Users] Scilab 4.1.2 does not work In-Reply-To: References: Message-ID: You have to uninstalled the SP1 for Vista since it have some problem to run with some dll and some drivers...And reinstall Scilab...try the beta version 5 that works fine... Marc From: Valery Ramirez Garc?a Sent: Sunday, May 25, 2008 6:30 PM To: users at lists.scilab.org Subject: [scilab-Users] Scilab 4.1.2 does not work Good Afternoom, I have a computer with windows vista starter edition and i instaled the service pack 1 o windows vista scilab 4.1.2 does not work again, i probed uninstaled scilab and reinstaled en it does not work again, please helpme, its necesary for me to use scilab in labs in my university. -------------------------------------------------------------------------------- Send funny voice messages packed with tidbits from MSN. Everyone wants to be ready. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricci2 at unisi.it Tue May 27 16:28:47 2008 From: ricci2 at unisi.it (Maso Ricci) Date: Tue, 27 May 2008 16:28:47 +0200 Subject: lsqrsolve Message-ID: <483C1A9F.3040306@unisi.it> Hi all, I am fitting some experimental data by the lsqrsolve routine but I would like to keep the fitting variable within a given range. Does anybody know wheter it is possible to put some constraints to fitting variable value using lsqrsolve ? thanks in advance /maso -- Maso Ricci Ph.D Dept. of Chemical and Biosystem Science University of Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From pierre.marechal at inria.fr Tue May 27 18:01:10 2008 From: pierre.marechal at inria.fr (Pierre MARECHAL) Date: Tue, 27 May 2008 18:01:10 +0200 Subject: Release of Scilab - Beta 2 Message-ID: <483C3046.5020805@inria.fr> Hello, We just released the second beta version of Scilab. Misc information about this version: http://www.scilab.org/download/index_download.php?page=5.0-beta-2 List of changes: http://www.scilab.org/download/index_download.php?page=CHANGES_5.0-beta-2 The release notes (short bug list... and of course not full): http://www.scilab.org/download/index_download.php?page=RELEASE_NOTES_5.0-beta-2 Please note that, in order to deliver the best version, we have decided to postpone the stable release of Scilab. Have a look on the release notes to see what remain to be done. Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: From remjg at free.fr Thu May 29 01:33:30 2008 From: remjg at free.fr (=?ISO-8859-1?Q?=22R=E9mi_G=2E=22?=) Date: Thu, 29 May 2008 01:33:30 +0200 Subject: [scilab-Users] =?ISO-8859-1?Q?Probl=E8me_pour_r=E9cup=E9?= =?ISO-8859-1?Q?rer_le_maillage_donn=E9_par_=22eval3dp=22_=5B?= =?ISO-8859-1?Q?D=E9butant=5D?= In-Reply-To: <48384B56.3010006@free.fr> References: <48346063.3050304@free.fr> <48346B5F.4080804@free.fr> <48384B56.3010006@free.fr> Message-ID: <483DEBCA.3090502@free.fr> 1) I find a partial answer to my question ;) In order to use color with "param3d", there are 2 methods (tell me if I'm wrong!) : - 1st method (using "param3d1") : First, I must get the number corresponding to the color I want using the function "color", for example : color("red") returns the number 5. Then, to draw a red segment between (0,0,0) and (1,1,1) for instance, I must type this : t=linspace(0,1,p) param3d1(t,t,list(t,5.*ones(1,p))) - 2nd method : t=linspace(0,1,p) param3d(t,t,t) e = gce() e.interp_color_vector = 5.*ones(1,p) But this second method doesn't work... Why? Should I redraw the graph? How? 2) Now I can draw a line, I would like to draw the shortest path between 2 points I compute with Dijkstra algorithm (or Floyd). Nevertheless, even with changing thickness option, the surface is often hiding my path. Any idea? I attach all the functions I wrote in the file geodesiquefunctions.sci and a script to draw the shortest path between Paris and Tokyo shortestpath.sce. If someone can take a look at it? From remjg at free.fr Thu May 29 01:47:11 2008 From: remjg at free.fr (=?ISO-8859-1?Q?=22R=E9mi_G=2E=22?=) Date: Thu, 29 May 2008 01:47:11 +0200 Subject: Can I draw a graph without giving "node_x" and "node_y" values? (show_graph) Message-ID: <483DEEFF.3050003@free.fr> Hello! If I define a graph : g = make_graph('toto',0,3,[1,2,3],[2,3,1]) And I want to draw it : show_graph(g) I get many errors begining with (I don't know how to copy/past from scilab interpretor output) : !-- error 60 argument with incompatible dimensions ... This error seems to come from the lack of "node_x" and "node_y" value... Nevertheless, I saw in the graph-list help page that these values are computed by default! Could you help on this matter? R?mi. From remjg at free.fr Thu May 29 01:48:44 2008 From: remjg at free.fr (=?ISO-8859-1?Q?=22R=E9mi_G=2E=22?=) Date: Thu, 29 May 2008 01:48:44 +0200 Subject: [scilab-Users] =?ISO-8859-1?Q?Probl=E8me_pour_r=E9cup=E9?= =?ISO-8859-1?Q?rer_le_maillage_donn=E9_par_=22eval3dp=22_=5B?= =?ISO-8859-1?Q?D=E9butant=5D?= In-Reply-To: <483DEBCA.3090502@free.fr> References: <48346063.3050304@free.fr> <48346B5F.4080804@free.fr> <48384B56.3010006@free.fr> <483DEBCA.3090502@free.fr> Message-ID: <483DEF5C.7050306@free.fr> I forgot the attached files if someone would like to take a look. Sorry! -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: shortestpath.sce URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: geodesiquefunctions.sci URL: From concascyril2 at hotmail.com Thu May 29 09:00:20 2008 From: concascyril2 at hotmail.com (Cyril CONCAS) Date: Thu, 29 May 2008 09:00:20 +0200 Subject: demande de renseignement Message-ID: Bonjour, je suis d?butant en scilab et j'aimerais savoir o? je pourrai avoir de la documentation sur un logiciel qui d'appelle modnum. J'aimerais ? partir du logiciel vu que c'est possible tracer un diagramme de l'oeil grace ?u programme eyescope mais je n'arrive pas ? trouver la fonction dans scilab qui, permet de l'afficher j'aimerais ?galement simuler une chaine de transmission num?rique pour le wifi mais je ne sais pas non plus comment faire ? pourrai je trouver de la documentation pour cela. Cordialement , _________________________________________________________________ Votre contact a choisi Hotmail, l'e-mail ultra s?curis?. Cr?ez un compte gratuitement ! http://www.windowslive.fr/hotmail/default.asp -------------- next part -------------- An HTML attachment was scrubbed... URL: From stefane.paris at gmail.com Thu May 29 17:55:07 2008 From: stefane.paris at gmail.com (=?ISO-8859-1?Q?St=E9phane_Paris?=) Date: Thu, 29 May 2008 17:55:07 +0200 Subject: ilib_for_link Message-ID: <2a5deba40805290855r68e35cd0gac9d6423b96eab96@mail.gmail.com> Hi, I'd like using ilib_for_link function with C function build_in. So I'm trying the help example bellow : f1=['int ext1c(n, a, b, c)' 'int *n; double *a, *b, *c;' '{int k;' ' for (k = 0; k < *n; ++k) ' ' c[k] = a[k] + b[k];' ' return(0);}']; mputl(f1,'fun1.c') //creating the shared library (a gateway, a Makefile and a loader are //generated. ilib_for_link('ext1c','fun1.o',[],"c") // load the shared library exec loader.sce //using the new primitive a=[1,2,3];b=[4,5,6];n=3; c=call('ext1c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); if norm(c-(a+b)) > %eps then pause,end Loading the sce file, gives me this error : in execstr instruction called by : generate a loader file generate a Makefile: Makelib running the makefile compilation of fun1 building shared library (be patient) /usr/bin/ld: crti.o: No such file: No such file or directory collect2: ld returned 1 exit status make: *** [libext1c.la] Error 1 !--error 10000 unix_s: error during ``make -f Makelib libext1c.la'' execution at line 56 of function unix_s called by : line 29 of function ilib_compile called by : line 29 of function ilib_for_link called by : ilib_for_link('ext1c','fun1.o',[],"c") line 13 of exec file called by : exec("/media/sda1/STF_STUFF/ProjetLivre/figures/testLink.sce"); in execstr instruction called by : I believe i've tried this long time ago, and it works well. Is there anybody knowing the answer to this pb ? stf -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at inria.fr Thu May 29 23:28:17 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Thu, 29 May 2008 23:28:17 +0200 Subject: [scilab-Users] ilib_for_link In-Reply-To: <2a5deba40805290855r68e35cd0gac9d6423b96eab96@mail.gmail.com> References: <2a5deba40805290855r68e35cd0gac9d6423b96eab96@mail.gmail.com> Message-ID: <1212096497.3693.1.camel@zlarin.inria.fr> Hello, Which version of Scilab are you using ? On which platform ? Regards, Sylvestre Le jeudi 29 mai 2008 ? 17:55 +0200, St?phane Paris a ?crit : > Hi, > I'd like using ilib_for_link function with C function build_in. So I'm > trying the help example bellow : > f1=['int ext1c(n, a, b, c)' > 'int *n; double *a, *b, *c;' > '{int k;' > ' for (k = 0; k < *n; ++k) ' > ' c[k] = a[k] + b[k];' > ' return(0);}']; > > mputl(f1,'fun1.c') > > //creating the shared library (a gateway, a Makefile and a loader are > //generated. > > ilib_for_link('ext1c','fun1.o',[],"c") > > // load the shared library > > exec loader.sce > > //using the new primitive > a=[1,2,3];b=[4,5,6];n=3; > c=call('ext1c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); > if norm(c-(a+b)) > %eps then pause,end > > Loading the sce file, gives me this error : > in execstr instruction called by : > > generate a loader file > generate a Makefile: Makelib > running the makefile > compilation of fun1 > building shared library (be patient) > /usr/bin/ld: crti.o: No such file: No such file or directory > collect2: ld returned 1 exit status > make: *** [libext1c.la] Error 1 > !--error 10000 > unix_s: error during ``make -f Makelib libext1c.la'' > execution > at line 56 of function unix_s called by : > line 29 of function ilib_compile called by : > line 29 of function ilib_for_link called by : > ilib_for_link('ext1c','fun1.o',[],"c") > line 13 of exec file called by : > exec("/media/sda1/STF_STUFF/ProjetLivre/figures/testLink.sce"); > in execstr instruction called by : > > I believe i've tried this long time ago, and it works well. > Is there anybody knowing the answer to this pb ? > stf From remjg at free.fr Fri May 30 03:36:08 2008 From: remjg at free.fr (=?ISO-8859-1?Q?=22R=E9mi_G=2E=22?=) Date: Fri, 30 May 2008 03:36:08 +0200 Subject: [scilab-Users] Can I draw a graph without giving "node_x" and "node_y" values? (show_graph) In-Reply-To: <483DEEFF.3050003@free.fr> References: <483DEEFF.3050003@free.fr> Message-ID: <483F5A08.6010006@free.fr> I also have another question about graph : how do I display the length of my edges and the name of the nodes when drawing the graph? Exemple : Head = [1,2,3,4,1,2,3]; Tail = [2,3,4,1,5,5,5]; Longueur = [1,4,2,6,2,2,1]; // Ar?te k d?finie par le triplet (Head(k),Tail(k),Longueur(k)) graphe1 = make_graph('Figure 1',0,5,Tail,Head); graphe1.edge_length = Longueur; graphe1.node_x = [0,500,500,0,250]; graphe1.node_y = [500,500,0,0,250]; graphe1.edge_label = Longueur; graphe1.node_label = [1:5]; show_graph(graphe1) As you can see I try "edge_label" or "node_label" but it doesn't work... If someone can help me! I must finish my report for tomorow :p From stefane.paris at gmail.com Fri May 30 10:03:05 2008 From: stefane.paris at gmail.com (=?ISO-8859-1?Q?St=E9phane_Paris?=) Date: Fri, 30 May 2008 10:03:05 +0200 Subject: [scilab-Users] ilib_for_link In-Reply-To: <1212096497.3693.1.camel@zlarin.inria.fr> References: <2a5deba40805290855r68e35cd0gac9d6423b96eab96@mail.gmail.com> <1212096497.3693.1.camel@zlarin.inria.fr> Message-ID: <2a5deba40805300103h4d0cdb3fq179c26a272f6f72c@mail.gmail.com> Hi, I use Scilab version 4.1.2on a linux plateform (Ubuntu 8.04 - Hardy Heron - ) Merci stf 2008/5/29 Sylvestre Ledru : > Hello, > > Which version of Scilab are you using ? On which platform ? > > Regards, > Sylvestre > > Le jeudi 29 mai 2008 ? 17:55 +0200, St?phane Paris a ?crit : > > Hi, > > I'd like using ilib_for_link function with C function build_in. So I'm > > trying the help example bellow : > > f1=['int ext1c(n, a, b, c)' > > 'int *n; double *a, *b, *c;' > > '{int k;' > > ' for (k = 0; k < *n; ++k) ' > > ' c[k] = a[k] + b[k];' > > ' return(0);}']; > > > > mputl(f1,'fun1.c') > > > > //creating the shared library (a gateway, a Makefile and a loader are > > //generated. > > > > ilib_for_link('ext1c','fun1.o',[],"c") > > > > // load the shared library > > > > exec loader.sce > > > > //using the new primitive > > a=[1,2,3];b=[4,5,6];n=3; > > c=call('ext1c',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); > > if norm(c-(a+b)) > %eps then pause,end > > > > Loading the sce file, gives me this error : > > in execstr instruction called by : > > > > generate a loader file > > generate a Makefile: Makelib > > running the makefile > > compilation of fun1 > > building shared library (be patient) > > /usr/bin/ld: crti.o: No such file: No such file or directory > > collect2: ld returned 1 exit status > > make: *** [libext1c.la] Error 1 > > !--error 10000 > > unix_s: error during ``make -f Makelib libext1c.la'' > > execution > > at line 56 of function unix_s called by : > > line 29 of function ilib_compile called by : > > line 29 of function ilib_for_link called by : > > ilib_for_link('ext1c','fun1.o',[],"c") > > line 13 of exec file called by : > > exec("/media/sda1/STF_STUFF/ProjetLivre/figures/testLink.sce"); > > in execstr instruction called by : > > > > I believe i've tried this long time ago, and it works well. > > Is there anybody knowing the answer to this pb ? > > stf > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at inria.fr Fri May 30 10:06:54 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Fri, 30 May 2008 10:06:54 +0200 Subject: [scilab-Users] ilib_for_link In-Reply-To: <2a5deba40805300103h4d0cdb3fq179c26a272f6f72c@mail.gmail.com> References: <2a5deba40805290855r68e35cd0gac9d6423b96eab96@mail.gmail.com> <1212096497.3693.1.camel@zlarin.inria.fr> <2a5deba40805300103h4d0cdb3fq179c26a272f6f72c@mail.gmail.com> Message-ID: <1212134814.11252.169.camel@korcula.inria.fr> Le vendredi 30 mai 2008 ? 10:03 +0200, St?phane Paris a ?crit : > Hi, > I use Scilab version 4.1.2on a linux plateform (Ubuntu 8.04 - Hardy > Heron - ) The version provided in Ubuntu or by the Scilab Consortium ? Sylvestre From stefane.paris at gmail.com Fri May 30 19:59:35 2008 From: stefane.paris at gmail.com (=?ISO-8859-1?Q?St=E9phane_Paris?=) Date: Fri, 30 May 2008 19:59:35 +0200 Subject: [scilab-Users] ilib_for_link In-Reply-To: <1212134814.11252.169.camel@korcula.inria.fr> References: <2a5deba40805290855r68e35cd0gac9d6423b96eab96@mail.gmail.com> <1212096497.3693.1.camel@zlarin.inria.fr> <2a5deba40805300103h4d0cdb3fq179c26a272f6f72c@mail.gmail.com> <1212134814.11252.169.camel@korcula.inria.fr> Message-ID: <2a5deba40805301059j549f8e27ybe0891f058b2f64e@mail.gmail.com> Le 30 mai 2008 10:06, Sylvestre Ledru a ?crit : > Le vendredi 30 mai 2008 ? 10:03 +0200, St?phane Paris a ?crit : > > Hi, > > I use Scilab version 4.1.2on a linux plateform (Ubuntu 8.04 - Hardy > > Heron - ) > > The version provided in Ubuntu or by the Scilab Consortium ? > > Sylvestre > > > The one provided by Ubuntu Synaptic. stf -------------- next part -------------- An HTML attachment was scrubbed... URL: