[Scilab-users] /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

2019-03-01 Thread Carrico, Paul
Dear All Not sure that the issue comes from Scilab itself, but I cannot fix it ; so far I've had not trouble using cgal libraries, but on a new machine under Centos 7, the error detailed here below occurs and I do not understand why ; I've update the profile but it still fails. Does somebody h

Re: [Scilab-users] [EXTERNAL] Re: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

2019-03-01 Thread Carrico, Paul
version instead ? atomsInstall(["cglab" "2.3.1"]); S. Le 01/03/2019 à 15:17, Carrico, Paul a écrit : Dear All Not sure that the issue comes from Scilab itself, but I cannot fix it ; so far I've had not trouble using cgal libraries, but on a new machine under Centos 7, the error

[Scilab-users] images in hdf5 format

2019-03-15 Thread Carrico, Paul
Dear All I'm currently digging on the net in order to find how to convert (and then insert) images in hdf5 format ... of course using Scilab (an image remains no more no less than a matrix). I can do it manually using hdfview, or I can use h5py library, but I'm wondering if somebody has ever ex

Re: [Scilab-users] [EXTERNAL] Re: ?==?utf-8?q? images in hdf5 format

2019-03-20 Thread Carrico, Paul
nux or Windows, you have almost no change to get it running on another Linux or another Windows version). But maybe I did not really undertand your question... Feel free to ask for more specific details. Cheers, Antoine Le Vendredi, Mars 15, 2019 15:12 CET, "Carrico, Paul"

[Scilab-users] feedback on removing 1 row and 1 column

2019-04-29 Thread Carrico, Paul
Dear All I've been using successfully Scilab for years, to develop my projects; I do not remember if I've ever had to deal with huge matrixes but that's the case today. Using "csvRead", I got a matrix with 2.3 million of rows and 6 columns (it took about 240 seconds to read it :)); nevertheless

Re: [Scilab-users] [EXTERNAL] Re: feedback on removing 1 row and 1 column

2019-04-30 Thread Carrico, Paul
1 row and 1 column Le 30/04/2019 à 08:44, Carrico, Paul a écrit : Dear All I've been using successfully Scilab for years, to develop my projects; I do not remember if I've ever had to deal with huge matrixes but that's the case today. Using "csvRead", I got a matrix

Re: [Scilab-users] [EXTERNAL] Re: feedback on removing 1 row and 1 column

2019-05-03 Thread Carrico, Paul
ns = 0.046928 S. Le 30/04/2019 à 14:04, Carrico, Paul a écrit : Thanks all Indeed, getting the complete block works fine and it's instantaneous Paul De : users [mailto:users-boun...@lists.scilab.org] De la part de Stéphane Mottelet Envoyé : mardi 30 avril 2019 12:41 À : users@lists.

[Scilab-users] unexpected result

2019-05-22 Thread Carrico, Paul
Hi All, In the following code, I was thinking that the provided index was the one on the "global" matrix, but I was wrong :) (I guess a copy is performed first in order to be more efficient and to speed-up the calculation) Paul n = 10; B = ones(n,1); i = 6; B(i,1)=0.55; a1 = find(B(:,1) < 1);

Re: [Scilab-users] [EXTERNAL] Re: {EXT} unexpected result

2019-05-23 Thread Carrico, Paul
ab-users] {EXT} unexpected result Hello Paul, > De : Carrico, Paul > Envoyé : mercredi 22 mai 2019 09:51 > > In the following code, > I was thinking that the provided index was the one on the “global” > matrix, but I was wrong ☺ […] > a2 = find(B(i-1:$,1) < 1); disp(a2)

[Scilab-users] issue with h5close?

2019-05-28 Thread Carrico, Paul
Hi All I'm using the latest stable release (6.0.2) in conjunction with cgal add-on for Delaunay_2 tessellation, based on data previously recorded in a hdf5 file. I've been noticing that after a first tessellation, and while the h5 file is closed in the routine (h5close(name)), if I rerun a seco

Re: [Scilab-users] [EXTERNAL] Re: issue with h5close?

2019-05-28 Thread Carrico, Paul
nd of variables inside loops or function calls. Antoine Le 28/05/2019 à 09:10, Carrico, Paul a écrit : Hi All I'm using the latest stable release (6.0.2) in conjunction with cgal add-on for Delaunay_2 tessellation, based on data previously recorded in a hdf5 file. I've been no

Re: [Scilab-users] [EXTERNAL] How to count pixels

2019-06-03 Thread Carrico, Paul
Hi Maybe using SIP toolbox and "imread" to convert your image into a matrix? Paul -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Jean-Philippe Grivet Envoyé : lundi 3 juin 2019 12:08 À : users@lists.scilab.org Objet : [EXTERNAL] [Scilab-users] How t

[Scilab-users] plots remain white under CentOS (redhat based OS) and Scilab 6.0.2

2019-06-27 Thread Carrico, Paul
Dear All When I'm trying to use either plot2D or plot3D under CentOS, all the figures remains white ; I guess it's a library issue and I think it has ever been noticed in the past, but I do not remember what or I cannot find the workaround: what it is? Thanks for your help Paul __

Re: [Scilab-users] [EXTERNAL] Re: plots remain white under CentOS (redhat based OS) and Scilab 6.0.2

2019-06-27 Thread Carrico, Paul
: [EXTERNAL] Re: [Scilab-users] plots remain white under CentOS (redhat based OS) and Scilab 6.0.2 Doesn't happen with Scilab 6.01 and Centos 6.9. I'll try with Scilab 6.02. Em qui, 27 de jun de 2019 5:46 AM, Carrico, Paul mailto:paul.carr...@auxitrolweston.com>> escreveu: Dear All

[Scilab-users] Scilab and gmsh to plot surfaces

2019-06-27 Thread Carrico, Paul
Dear All After a tesselation using cgal library (delaunay_2), I used gmsh (http://gmsh.info/) to plot the triangles ... just an idea of sharing about 2 powerful tools :-) (useful with a huge amount of nodes) A basic "saddle" surface has been used to test it Hope it help Paul

[Scilab-users] gamma function overloading

2019-08-09 Thread Carrico, Paul
Dear All In the Scilab doc it's mentioned that gamma function can be overloaded by complex number, but how to proceed? A = complex(4,4) gamma_A = gamma(A) à la ligne12 de la fonction %s_gamma ( C:\scilab-6.0.2\modules\special_functions\macros\%s_gamma.sci ligne 22 ) dans la fonction nati

Re: [Scilab-users] [EXTERNAL] Re: gamma function overloading

2019-08-09 Thread Carrico, Paul
users@lists.scilab.org Objet : [EXTERNAL] Re: [Scilab-users] gamma function overloading Le 09/08/2019 à 11:52, Carrico, Paul a écrit : Dear All In the Scilab doc it's mentioned that gamma function can be overloaded by complex number, but how to proceed? A = complex(4,4) gamma_A = gamma

Re: [Scilab-users] [EXTERNAL] Count specific values in text file

2020-02-11 Thread Carrico, Paul
Hi Is that what you're expecting i.e. a way to reshape your matrix among other things ? Paul ## mode(0) A=[1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 4 4 5 5 5 5 8 8]; loc = find(A == 1); occ = size(loc, "*"); printf("Number of occurences = %d",occ); // resha

[Scilab-users] unique instruction

2020-05-12 Thread Carrico, Paul
Dear All In the matrix here after, I want to remove duplicate values in the first column but while keeping the second one as it stands ; I guess Scilab while keep the first occurrence but it's fine. I do not remember how to use correctly "unique" and all my trials failed: can somebody help me?

Re: [Scilab-users] Interfacing fortran code with scilab

2014-02-05 Thread Carrico, Paul
All before using fortan code, did you have a look to the "vectorization" in order to avoid loops (that drastically decrease speed) and to increase speedup consequently ? Just an advice Paul -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Pierre

[Scilab-users] Old Nigthtly build release

2014-04-01 Thread Carrico, Paul
Dear All, I would like to know if it's possible to get an old nightly build release (typically the one of the august-29th 2013) ? ... but I'm a bit pessimistic; I removed it by error. NB: - The new releases (and the one I'm interested in) corrected some troubles in the current stabl

Re: [Scilab-users] Comments displayed on Console

2014-07-11 Thread Carrico, Paul
Add “Mode(0)” (without the quotes Paul EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data De : users [mailto:users-boun...@lists.scilab.org] De la part de Luís Felipe Rosa Envoyé : jeudi 10 juillet 2014 17:42 À : users@lists.scilab.org

[Scilab-users] comparison of 2 curves of experimental data

2014-12-05 Thread Carrico, Paul
Dear All I (completely) forgot how to calculate the ratio on the ordinates between 2 curves composed on experimental data (not necessary the same abscissa) : what's the procedure ? Thanks for your help Paul Ex: - curve 1 composed of A_i data: A_1(x1,y1) ; A_2(x2,y2) A_n(xn,yn

[Scilab-users] advice on a pseudo-"bandwidth" calculation

2015-06-09 Thread Carrico, Paul
Dear all I'm currently thinking in a way to compare experimental have a bell shape, composed of points and not connected to any parametric curve (the bell shape assumption could answer to the need in a first step). A way I can imagine is to calculate a kind of " bandwidth" (-3 db). I add a lo

[Scilab-users] eigs calculation

2015-06-17 Thread Carrico, Paul
Dear All, I'm performing a (mechanical) calculation using the eigs and I've been noticing that the results are strongly sensitive on the unit system I'm using; I can understand that high numbers can lead to some numerical "issues" ... Is there a way to increase the accuracy ? Paul PS: the 2 t

Re: [Scilab-users] eigs calculation

2015-06-17 Thread Carrico, Paul
to which calculation to trust. Let me know how you make out. Regards, Roger. ___ Dr. Roger Cormier, P.Eng. Le mer. 17 juin 2015 à 11:55, t...@wescottdesign.com a écrit : > On 2015-06-17 06:50, Carrico, Paul wrote: >> Dear All, >> I'm performing a (mechanical) calculation

Re: [Scilab-users] eigs calculation

2015-06-19 Thread Carrico, Paul
aul -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Serge Steer Envoyé : jeudi 18 juin 2015 10:08 À : users@lists.scilab.org Objet : Re: [Scilab-users] eigs calculation Le 17/06/2015 22:18, Carrico, Paul a écrit : > Dear All > > T

Re: [Scilab-users] eigs calculation

2015-06-22 Thread Carrico, Paul
Dear Tim, Thanks for the enlightenment, but unfortunately I confess I don't know how to proceed now; I feel that I need to fix such issue; another example if needed (see screenshot in attachment), the product herebellow should lead to the Identity matrix Verif1 = u' * M * u (vhere u is the

Re: [Scilab-users] eigs calculation

2015-06-25 Thread Carrico, Paul
515 Max delta K10 - K1 = 0 Max delta M10 - M1 = 0 -----Message d'origine- De : Carrico, Paul Envoyé : mercredi 17 juin 2015 22:18 À : International users mailing list for Scilab. Objet : RE: [Scilab-users] eigs calculation Dear All Thanks for the answers. To give more information'

Re: [Scilab-users] eigs calculation

2015-06-26 Thread Carrico, Paul
from the data you showed, it is not clear that your eigenvector are really different. If what you show is just a difference in the norm of the difference between the eigenvalue at iteration 1 and N, that might be OK. Indeed, if v is an eigenvector, a.v with a non zero-scalar, is also an eigenve

Re: [Scilab-users] eigs calculation

2015-06-26 Thread Carrico, Paul
uin 2015 12:26 À : International users mailing list for Scilab. Objet : Re: [Scilab-users] eigs calculation Le Vendredi 26 Juin 2015 11:16 CEST, "Carrico, Paul" a écrit: > Hi Antoine, > > Thanks for the comments; In attachment the results of the calculations > (note t

[Scilab-users] curiosity : topological optimization

2015-06-30 Thread Carrico, Paul
Dear All, I've been reading articles using Matlab for topological optimization, and naturally I'm wondering if there's somebody who's using successfully Scilab for such topic (for my curiosity) http://www.topopt.dtu.dk/?q=node/2(99 lines release) http://www.topopt.dtu.dk/?q=node/751 (88 li

[Scilab-users] Booeleans : irrelevant results ?

2015-08-27 Thread Carrico, Paul
Dear All, I wondering what I'm doing wrong in the examples here bellow: - Test 1 --> M returns False that's ok for me - Test 2 --> should return False as well, shouldn't be ? - Test 3 --> another test using directly a Boolean instead of an empty form [] - T

Re: [Scilab-users] Booeleans : irrelevant results ?

2015-08-27 Thread Carrico, Paul
...@pierre-vuillemin.fr] Envoyé : jeudi 27 août 2015 13:08 À : Users mailing list for Scilab Cc : Carrico, Paul Objet : Re: [Scilab-users] Booeleans : irrelevant results ? Dear Paul, The behaviour of test 2 may come from the order in which the operations are performed : Note that (a & c

[Scilab-users] Vectorization issue

2016-05-26 Thread Carrico, Paul
Dear I failed in using vectorization in the example immediately bellow; but I do not remember if it's possible : any advice ? Thanks Paul ## mode(0) n = 20 Km = 0; b = 100; d = 20; nu = 0.3; // using l

Re: [Scilab-users] [EXTERNAL] Re: Vectorization issue

2016-05-26 Thread Carrico, Paul
lab.org] On Behalf Of Carrico, Paul Sent: Thursday, May 26, 2016 11:30 AM To: International users mailing list for Scilab. (users@lists.scilab.org<mailto:users@lists.scilab.org>) mailto:users@lists.scilab.org>> Subject: [Scilab-users] Vectorization issue Dear I failed in using vectori

Re: [Scilab-users] [EXTERNAL] Re: Vectorization issue

2016-05-26 Thread Carrico, Paul
ael From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Carrico, Paul Sent: Thursday, May 26, 2016 12:38 PM To: 'Users mailing list for Scilab' mailto:users@lists.scilab.org>> Subject: Re: [Scilab-users] [EXTERNAL] Re: Vectorization issue Thanks Rafael for the answer

[Scilab-users] matrix of combinations

2016-06-09 Thread Carrico, Paul
Dear all (not sure to really master the topic but ...) In my current study, I've 16 variables that I would like to perturbate 10 times ; of course each variable is different from the others. A1 = 10 + 2*rand(10,1,"uniform") A2 = 5 + 0.5*rand(10,1,"uniform") ... A16 = 0.2 +0.01**rand(10,1,"unifor

Re: [Scilab-users] [EXTERNAL] Re: matrix of combinations

2016-06-10 Thread Carrico, Paul
;ll have a look to the scidoe module > > Paul > > - Mail original - > De: "Samuel Gougeon" > À: "Users mailing list for Scilab" > Envoyé: Jeudi 9 Juin 2016 18:10:36 > Objet: Re: [Scilab-users] matrix of combinations > > > > Hell

[Scilab-users] create random values between [-1,1]

2016-06-10 Thread Carrico, Paul
Hi In order to simulate dimensional tolerances in +/-, I'm using the following workaround : n = 100; a = rand(n,1) - rand(n,1); Of course I need to increase the N value to the domain ... is there a more "clever" way ? Thanks Paul EXPORT CONTROL : Cet email ne contient pas de données techniqu

[Scilab-users] issue with parallel_run

2016-06-14 Thread Carrico, Paul
Dear All The current is inspired from a development I'm trying ; Scilab 5.5.2 (under Linux - 8 processors) crashes but is it because I'm doing something wrong (it is my first attempt of using such feature) ? Thanks Paul #

Re: [Scilab-users] [EXTERNAL] Re: issue with parallel_run

2016-06-14 Thread Carrico, Paul
sult2 = zeros(num,12); vect_n = n*ones(1,num); tic() Result2 = parallel_run(vect_n, fct,[12,1]); // precise size of output disp(Result2); time2 = toc(); printf("time 2 = %g\n",time2); S. Le 14/06/2016 à 10:06, Carrico, Paul a écrit : mode(0); clear; function random_matrix=fct(n)

[Scilab-users] parallel_run mixed with vectorization

2016-06-14 Thread Carrico, Paul
Hi again In the following new example, there's something I do not caught ; I cannot figure out what I'm misunderstanding Am I right to say that n calculations are splitted on the available processors? Paul " mode(0); stacksize('ma

[Scilab-users] Whay False

2016-08-23 Thread Carrico, Paul
Hi All, I spent a lot of time in looking for an issue in my code ; finally I found the origin but I do not understand why ... probably a very basic reason :| Any suggestion regarding the code here after ? Thanks Paul # mode(0) a = 2.05

Re: [Scilab-users] Whay False

2016-08-23 Thread Carrico, Paul
does not contain technical data De : Carrico, Paul Envoyé : mardi 23 août 2016 13:56 À : International users mailing list for Scilab. (users@lists.scilab.org) Objet : Whay False Hi All, I spent a lot of time in looking for an issue in my code ; finally I found the origin but I do not understand

Re: [Scilab-users] [EXTERNAL] Re: Whay False

2016-08-23 Thread Carrico, Paul
iling list for Scilab Objet : [EXTERNAL] Re: [Scilab-users] Whay False Hello, Le 23/08/2016 13:56, Carrico, Paul a écrit : Hi All, I spent a lot of time in looking for an issue in my code ; finally I found the origin but I do not understand why ... probably a very basic reason :| Any sugge

[Scilab-users] how to detect complex solution in "root finding" ?

2016-08-25 Thread Carrico, Paul
Hi all, In an automatic way, how can I ask Scilab to detect complex root (in order to sort them) ; indeed I only want real roots (and to print them in an Ascii file) ! Thanks Paul EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data

Re: [Scilab-users] how to detect complex solution in "root finding" ?

2016-08-25 Thread Carrico, Paul
I found on internet ... with isreal ... sorry EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data De : users [mailto:users-boun...@lists.scilab.org] De la part de Carrico, Paul Envoyé : jeudi 25 août 2016 11:15 À : International users

[Scilab-users] scilab 6.00 beta2 crash (feedback)

2016-09-28 Thread Carrico, Paul
Hi all, Here is a feedback of a crash of scilab 6.00 beta2; I used the code here bellow on a 32 Go CentOS 7 machine. Ligne 951 : 2650 Erreur de segmentation (core dumped) ''$SCILABBIN'' ''$@'' t = [0:2e-5:1]'; n = size(t,"*"); X = zeros(n,1); k = [1:n]'.*.ones(n,1); m = ones(n,1).*.[1:n]'; nl

Re: [Scilab-users] [EXTERNAL] Re: scilab 6.00 beta2 crash (feedback)

2016-09-28 Thread Carrico, Paul
3LN7eLo&m=H6mcS5tjsl64h14eEzr1mZ3dh6VLpl9do8_bq2DWILQ&s=5d-roj75J3VoA5OprGpyNJA3SfhZiZGqF1lXCP2jaV8&e=>. Thank you, Best regards, Paul On 09/28/2016 03:34 PM, Carrico, Paul wrote: Hi all, Here is a feedback of a crash of scilab 6.00 beta2; I used the code here bellow on a

Re: [Scilab-users] [EXTERNAL] !--error 21

2016-10-05 Thread Carrico, Paul
Without launching the code, I would say : C = 1 : 30 And A(c-1,3) If c = 1 then A(0,3) that is not possible since the index start to 1 ... no ? -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Frieder Nikolaisen Envoyé : jeudi 6 octobre 2016 08:18 À :

[Scilab-users] scilab and "parallelization" objectives

2016-10-20 Thread Carrico, Paul
Dear All, My internship had an interesting request and I'm not able to answer to him :):) The context is the following one: - We are using a parallel finite element solver on 4 processors (under Linux), - We are performing optimization with an external optimizer, -

[Scilab-users] Optim & NelderMead use [closed]

2017-01-16 Thread Carrico, Paul
Hi all After performing tests (and modifying the target function as it should have been done first), I can better understand how to use 'optim' and 'Neldermead' procedures. For my needs the mean flags are : - Step h in numderivative --> usefull reading as "EE 221 Numerical Computing

Re: [Scilab-users] [EXTERNAL] Re: Optim & NelderMead use [closed]

2017-01-16 Thread Carrico, Paul
could artificially help convergence. S. Le 16/01/2017 à 10:30, Carrico, Paul a écrit : Hi all After performing tests (and modifying the target function as it should have been done first), I can better understand how to use 'optim' and 'Neldermead' procedures. For my need

[Scilab-users] ugly code improvement (with vectorization)

2017-06-27 Thread Carrico, Paul
Dear All, Can I ask advice to correct this ugly/slow code (using vectorization)? In the example here bellow, I want - to capture the non-null values of each line from the 5th column - each row can have different "length" - the 4th column indicates how many values there're i.e

Re: [Scilab-users] [EXTERNAL] Re: {EXT} ugly code improvement (with vectorization)

2017-06-27 Thread Carrico, Paul
i 27 juin 2017 11:34 À : Users mailing list for Scilab Objet : [EXTERNAL] Re: [Scilab-users] {EXT} ugly code improvement (with vectorization) Hello Paul, > De : Carrico, Paul > Envoyé : mardi 27 juin 2017 09:06 > > - to capture the non-null values of each line from the 5th column

[Scilab-users] my loop faster than vectorization (???)

2017-06-29 Thread Carrico, Paul
Hi all I'm facing a case where a loop is faster than vectorization (at least I hope I'm using vectorization) ... I'm necessarily doing something wrong but I don't see what Hope somebody will point out my mistake Thanks for your time Paul mode(

[Scilab-users] my loop faster than vectorization (???) : please wait

2017-06-29 Thread Carrico, Paul
Please wait, copy/paste errors - my example is stupid (so I am) sorry EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mai

Re: [Scilab-users] my loop faster than vectorization (???)

2017-06-29 Thread Carrico, Paul
ab.org] De la part de Carrico, Paul Envoyé : jeudi 29 juin 2017 09:29 À : International users mailing list for Scilab. (users@lists.scilab.org) Objet : [EXTERNAL] [Scilab-users] my loop faster than vectorization (???) Hi all I'm facing a case where a loop is faster than vectorization (at le

Re: [Scilab-users] [EXTERNAL] Re: my loop faster than vectorization (???)

2017-06-30 Thread Carrico, Paul
duration1 = 0.190 duration2 = 0.2304603 duration3 = 23.275328 wow! duration4 = 0.2531153 We may compare who has the best computer ^^ Le 29/06/2017 à 09:56, Carrico, Paul a écrit : Here is the correct code - loop faster here (68 time faster with n = 100 000) I'

[Scilab-users] Numderivative and integrate

2017-12-11 Thread Carrico, Paul
Dear All, I'm wondering if there's a way to speed up the following code using both "numderivative" and "integrate" ? I tried to replace the loops by vectors, but it fails ... Of course this basic example has been put in place in order to test the code - I'm working with test results with more

[Scilab-users] string and excestr

2018-01-22 Thread Carrico, Paul
Dear All In the past, I used the following structure to develop my code on several lines (until the release 5.5.2) ; in the new one, the 3 dots do not work anymore. What's now the right sentence ? Thanks for your help Paul s = "... printf(""Hello !\n""), ... "

Re: [Scilab-users] [EXTERNAL] Problem with solving this elegantly

2018-02-27 Thread Carrico, Paul
Maybe I'm mistaken, but the first matrix sounds like an eigenvalue problem, isn't it ? (I'm not familiar with German ... If so, did you tried "eigs"? Paul EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data De : users [mailto:users-boun..

[Scilab-users] submatrix issue

2018-06-01 Thread Carrico, Paul
Dear all I've a submatrix issue on the following example, and I do not remember (or understand) why : how can I do this ? (the goal is to extract and to store within a matrix results from an Ascii file) Thanks for any help Paul ### mode(0

Re: [Scilab-users] [EXTERNAL] Re: submatrix issue

2018-06-01 Thread Carrico, Paul
1 juin 2018 11:45 À : users@lists.scilab.org Objet : [EXTERNAL] Re: [Scilab-users] submatrix issue It cannot work since --> size(k) ans = 300. 1. --> length(i)*length(j) ans = 9. i.e. NodesMatrix2(i,j+1) has 9 elements and resu(k) has 300 S. Le 01/06/2018 à 11:07

Re: [Scilab-users] [EXTERNAL] Re: submatrix issue

2018-06-01 Thread Carrico, Paul
à 11:45, Stéphane Mottelet a écrit : It cannot work since --> size(k) ans = 300. 1. --> length(i)*length(j) ans = 9. i.e. NodesMatrix2(i,j+1) has 9 elements and resu(k) has 300 S. Le 01/06/2018 à 11:07, Carrico, Paul a écrit : Dear all I've a submatrix issue

[Scilab-users] A plane intersecting a surface

2018-09-06 Thread Carrico, Paul
Dear All I've not been using scilab for a while, but I've a good opportunity to dive into it once again ;-) Is there a tool implemented into Scilab to determine the cross section of a 3D (experimental) surface and a plane? Note that : - the curve has not a Cartesian equation and it is c

Re: [Scilab-users] A plane intersecting a surface

2018-09-10 Thread Carrico, Paul
Dear all Thanks Christophe, Rafael and Stéphane for the first feedback; Only obvious things in the code hereafter, but it highlights I guess what I would like to do (to cross section the surface); the results are not really noisy and their number is of about few hundred. Concerning the D

[Scilab-users] export to Excel with several sheets

2018-10-01 Thread Carrico, Paul
Dear All I'm wondering if we can export matrixes from Scilab into Excel, in a single file but with several sheets? Obviously the csv format cannot be used here. Not sure that the (quite old now) XLL project answers to it (I've not seen any doc) Thanks Paul EXPORT CONTROL : Cet email ne cont

Re: [Scilab-users] export to Excel with several sheets

2018-10-02 Thread Carrico, Paul
osoft-excel-from-visual-basic Thanks, -- Clément From: users On Behalf Of Carrico, Paul Sent: Monday, October 1, 2018 11:20 AM To: International users mailing list for Scilab. (users@lists.scilab.org) Subject: [Scilab-users] export to Excel with several sheets Dear All I'm wondering if we

[Scilab-users] mgetl -> diffrent number of lines

2018-10-15 Thread Carrico, Paul
Dear All I spent some time in finding a mistake in my code ; I finally noticed where the issue comes from ... I'm reading a text file and if I use the windows release instead of the linux one, the number of lines is different, even if I use "dos2unix" tool: any idea of the origin? Thanks Pau

Re: [Scilab-users] [EXTERNAL] Re: mgetl -> diffrent number of lines

2018-10-15 Thread Carrico, Paul
: [EXTERNAL] Re: [Scilab-users] mgetl -> diffrent number of lines Le 15/10/2018 à 12:40, Carrico, Paul a écrit : Dear All I spent some time in finding a mistake in my code ; I finally noticed where the issue comes from ... I'm reading a text file and if I use the windows release instea

Re: [Scilab-users] [EXTERNAL] Re: mgetl -> diffrent number of lines

2018-10-16 Thread Carrico, Paul
[mailto:users-boun...@lists.scilab.org] De la part de Samuel Gougeon Envoyé : lundi 15 octobre 2018 23:26 À : Users mailing list for Scilab Objet : [EXTERNAL] Re: [Scilab-users] mgetl -> diffrent number of lines Le 15/10/2018 à 12:40, Carrico, Paul a écrit : Dear All I spent some time in findin

Re: [Scilab-users] parallel_run

2018-10-30 Thread Carrico, Paul
Hi I do not know if it's still the case, but some time ago, parallel runs were only available under Linux and not under Windows Paul EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data De : users [mailto:users-boun...@lists.scilab.org] De

Re: [Scilab-users] parallel_run

2018-10-30 Thread Carrico, Paul
Subject: Re: [Scilab-users] parallel_run parallel_run has also been broken on macOS for ages unfortunately. I don’t think it was removed though. Cheers, Arvid From: Scilab Users List mailto:users-boun...@lists.scilab.org>> on behalf of "Carrico, Paul" mailto:paul.carr.

Re: [Scilab-users] parallel_run

2018-10-30 Thread Carrico, Paul
ts.scilab.org>> on behalf of "Carrico, Paul" mailto:paul.carr...@esterline.com>> Reply-To: Users mailing list for Scilab mailto:users@lists.scilab.org>> Date: Tuesday, 30 October 2018 at 10:15 To: 'Users mailing list for Scilab' mailto:users@lists.scilab.org&

[Scilab-users] plot3d and param3d

2018-11-06 Thread Carrico, Paul
Dear All I'm trying to superimpose a basic line onto a 3D surface, but none of the parameters (color, thickness and so on) I'm trying to implement works: what I'm doing wrong? Thanks for your support Paul mode(0); clear function [z]=saddle(x, y) z = x^2 - y^2 endfunction n = 100; x =

Re: [Scilab-users] [EXTERNAL] Re : plot3d and param3d

2018-11-06 Thread Carrico, Paul
Indeed, thanks to all Still there're some aspects I'veto go deeper in under to master it Paul -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de sgoug...@free.fr Envoyé : mardi 6 novembre 2018 12:56 À : Users mailing list for Scilab Objet : [EXTERNAL]

[Scilab-users] function and vectorization

2018-11-07 Thread Carrico, Paul
Dear All Most of the time I've no issue in mixing functions and vectorization, but here I don't know why it does not work - one can see that using a vector I, the loop is called only ounce and I do not understand why? I've spent hours in such case showing I'm not fully at ease with it :-) :-)

Re: [Scilab-users] [EXTERNAL] Re: function and vectorization

2018-11-07 Thread Carrico, Paul
tf("C = (%g,%g)\n",C(1),C(2)); printf("N = (%g,%g)\n",N(1),N(2)); printf("M = (%g,%g)\n",M(1),M(2)); endfunction with (do not transpose N(i,1:2)) i = 1 : n; Scal(i) = Scalar_product(C(i,:),N(i,1:2),M(i,:)) S. Le 07/11/

[Scilab-users] How to remove 'Nan' in a matrix

2018-11-08 Thread Carrico, Paul
Dear All I'm wondering how I can, remove the 'Nan' that appears in a matrix ( with "find" I guess)? I'm nearly sure it comes from a div with 0. and I think I know why, but I've 2 options: - I can easily remove it and it's not an issue and not relevant for the final result (out of sco

Re: [Scilab-users] How to remove 'Nan' in a matrix

2018-11-08 Thread Carrico, Paul
ow to remove 'Nan' in a matrix Hello Paul, > De : users [mailto:users-boun...@lists.scilab.org] De la part de > Carrico, Paul Envoyé : jeudi 8 novembre 2018 15:54 > > I'm wondering how I can, remove the 'Nan' that appears in a matrix ( with > "find"

[Scilab-users] h5write data in a compressed format

2019-01-11 Thread Carrico, Paul
Dear All Some months ago I used h5py library to write compressed h5 file (using native gzip) and Scilab to read it; it worked fine and allowed to deal with several Go of data. Now I would like to write/read huge amount of data using mainly Scilab (typically after several csvRead), but I'm wonder

[Scilab-users] vectorization difficulty

2019-01-15 Thread Carrico, Paul
Dear All May I ask you advices in order to use vectorization instead of the loop? All the trials I did have failed - the problem I'm confront to comes from the S matrix Thanks for your feedback Paul clc mode(0) clear function V=eigen

[Scilab-users] acos leads to complex values

2019-01-29 Thread Carrico, Paul
Dear All I spent some time in looking for a mistake in my code ; finally I've found that the ACOS of a real vector leads to some complex values (???) acos(Scar_P(:,1) ./ CM_x_CN(:,1)) (the formula worked so far) I checked that the input values are correct: - Comprised between [-1;

Re: [Scilab-users] [EXTERNAL] Re: acos leads to complex values

2019-01-29 Thread Carrico, Paul
: [Scilab-users] acos leads to complex values Le 29/01/2019 à 16:45, Carrico, Paul a écrit : Dear All I spent some time in looking for a mistake in my code ; finally I've found that the ACOS of a real vector leads to some complex values (???) acos(Scar_P(:,1) ./ CM_x_CN(:,1)) Are your r

Re: [Scilab-users] [EXTERNAL] Re: acos leads to complex values

2019-01-29 Thread Carrico, Paul
: mardi 29 janvier 2019 16:59 À : users@lists.scilab.org Objet : Re: [Scilab-users] [EXTERNAL] Re: acos leads to complex values It is the same if x is slightly > 1: --> x=1+%eps x = 1. --> acos(x) ans = 2.107D-08i --> format(25); x x = 1.00000002220446 Le 29/01/20

[Scilab-users] Scilab nighly builds

2019-01-31 Thread Carrico, Paul
Hi All, A recent post reminded me that I do not see for a while the nightly builds in the download page (since the website has been updated) ; the 6.01 one is nearly 1 year old Thus I'm wondering how to get a newer release, even in development ? Paul __

Re: [Scilab-users] [EXTERNAL] Re: Scilab nighly builds

2019-01-31 Thread Carrico, Paul
TImKYc-Sh7vf32wi0&s=hp_Bn3OLHdhj2AcMtepcdgmbHGajAKXwUfI945qAkGo&e=> We could suggest to ESI to move them in the download page ! S. Le 31/01/2019 à 09:07, Carrico, Paul a écrit : Hi All, A recent post reminded me that I do not see for a while the nightly builds in the download page (since the websit

[Scilab-users] nightly build (latest) release

2019-01-31 Thread Carrico, Paul
Just a feedback on the latest branch/nightly build release I downloaded this moring: - Scilab opens and immediately closes under Windows 7 (64 bits) - It does not open and remains blocked without opening under CentOS 7 (64 bits) I'm going back to the old one Paul __

[Scilab-users] Scilab crash on a Windows server

2019-02-11 Thread Carrico, Paul
Dear Scilab developers While my code works on my workstation, I've met the current issue when running it on a Windows server 2007 using the current Scilab stable release. In addition, the troubles come when I'm using h5 instructions (h5ls, h5read and so on) Does this issue have ever been fixed

[Scilab-users] delaunay_2 issue on windows (feedback)

2019-02-15 Thread Carrico, Paul
Dear all First of all thanks to Scilab team for the new release. In the example at the end of this post, I'm wondering why Scilab crashes when using tessellation, but only on Windows 7 Professional service pack 1 OS ? It's not the first time I'm using it (with success), but here with these new

[Scilab-users] Vectorization in Scilab

2012-09-23 Thread Carrico, Paul
Dear All I'm currently reading the document from Michaël Baudin (Programming in Scilab - V0.9) in order to understand what is vectorization in scilab ; although it is an interesting document, it remains rather "general" ... ... does it exist a specific document that explains how to use vectoriz

Re: [Scilab-users] advices in optimizing matrix calculations

2012-09-25 Thread Carrico, Paul
Dear Serge, thanks for this first answer ... ... thus I've understood : - it'll be necessary to build first the full form of each 6x6 matrix in order to compute eigen values and so on (need to optimize chronology in order to make it only ounce) - it might be relevant to have a look in parallel

[Scilab-users] mgetl alternative

2012-09-25 Thread Carrico, Paul
Dear all Is there any efficient alternative to mgetl function ? My need is the following : - I've a big result file in text format, with a mix of text and data (block of data) - after mopen, I need to "record" all the line in order to record data only (by block through csv_textscan) - the mgetl

[Scilab-users] troubles with csv_scantext

2012-09-25 Thread Carrico, Paul
again, The same code works fine under Windows with scilab5.3.3, but failed under Linux withj scilab5.4.0-beta3 when using csv_textscan (message telling the text can not be read) ... Note previously I did a "dos2unix" If necessary I can share the file in private Paul ---

Re: [Scilab-users] load ASCII files

2012-09-30 Thread Carrico, Paul
Hi, If you only have columns of numbers, try "cvs_readwrite" function in atoms ... (very fast) ... if not, you need first to read the ASCII file with "mopen" and "mgetl" and than read blocks of lines with "csv_textscan" Nb : concerning "mgetl", I 've found a limitation with a number of lines

[Scilab-users] csv_readwrite

2012-10-01 Thread Carrico, Paul
Dear All, I just finish to instal the new Scilab release (5.4.0), and the "csv_readwrite" package from atoms ... ... I've immediatly noticed that the behaviour is now completely different between Scilab5.3.3 and 5.4.0, with ## extract of ascii file to be read : GP= 1 -8

[Scilab-users] Code protection

2013-01-22 Thread Carrico, Paul
Hi All How can I protect Scilab source code for a third part (development in progress) ? Typically it concerns a sub-routine I've been developping ... Regards Paul Le présent mail et ses pièces jointes sont

[Scilab-users] Converting a matrix of string into real

2013-03-04 Thread Carrico, Paul
Dear All After reading a text file (mgetl), removing the comments, I've finally a matrix of string containing only numbers... what is the fastest way to convert those string into reals (I don't remember)? using "eval" function is quite slow Thanks Paul -

  1   2   >