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

2018-06-03 Thread paul . carrico
Hi Rafael, Thanks for your interest,; I think I was wrong in my way of using 3 vectors at the same time, To answer to your question, the structure is N = Node number 2/3 = number of coordinates (2 for 2D and 3 for 3D obviously) X Y (Z) if in 3D [same structure for all the nodes]

Re: [Scilab-users] unable to read a hdf5 file under windows

2018-03-19 Thread paul . carrico
I finally found what went wrong… a latin letter in the path with 'é' … Now it works ... sorry Paul Le 2018-03-19 13:00, amonm...@laas.fr a écrit : > Le 19/03/2018 à 11:35, paul.carr...@free.fr a écrit : > >> Hi All >> >> I'm still wondering why I cannot open a hdf5 file under windows,

[Scilab-users] unable to read a hdf5 file under windows

2018-03-19 Thread paul . carrico
Hi All I'm still wondering why I cannot open a hdf5 file under windows, while it works find under linux (I'm using the latest scilab release in both cases - hdf5 file was made using h5py librarie) The path & file name are corect, so ? Any trouble under windows? Paul

[Scilab-users] hdf5 format and

2018-02-28 Thread paul . carrico
Hi In the following example, I'm digging into the Scilab help pages in order to understand how I can use hdf5 format; nevertheless I'm still wondering how I can have access to the sub-structure (sub-groups and datasets on them) ? (I'm thinking in programming recursive search ...) Thanks

[Scilab-users] Scilab and hdf5 format (small survey)

2018-02-28 Thread paul . carrico
Hi All I'm playing with hdf5 format into Scilab (I'm currently in an early stage that consists in understanding what the structures are); the goal is to deal with huge amount of data coming from Finite Element Analyses, and to perform additional calculations. I'm wondering if there are a lot

[Scilab-users] Dark theme

2018-02-27 Thread paul . carrico
Dear All, White background involves eye fatigue (for me at least) and I'm wondering if a "dark theme" exists .. I had a look in scinote - maybe I'm missing something (of course one can change the color in sconotre preferences, but it's not convinient in my mind). Thanks

[Scilab-users] OpenFEM

2018-02-02 Thread paul . carrico
Dear All, OpenFEM project seems to be dead ; the links do not work anymore (http://www.openfem.net/ and https://support.sdtools.com/gf/project/openfem). For my culture, does somebody has the latest release in its archives? Thanks Paul___ users

Re: [Scilab-users] {EXT} string and excestr

2018-01-22 Thread paul . carrico
Thanks Christophe, It means that some codes I made last few years are not available now under Scilab6.0 :-( A personal reflexion is in progress consequently ... Paul Le 2018-01-22 18:08, Dang Ngoc Chan, Christophe a écrit : > Hello Paul, > >> De la part de Carrico, Paul >> Envoyé : lundi

Re: [Scilab-users] Advice needed on file parsing

2017-06-19 Thread paul . carrico
Hi I cannot say if the following is the best way to proceed, but when the number of columns differs, I always have a look to such functions in order to get the data: mopen/mgetl/grep/strindex and so on ... it need a bit of work. The previous method work when the file size is not huge because

Re: [Scilab-users] basic question ?

2017-04-23 Thread paul . carrico
Thanks for your answer I found another way ... not necessarily better than your one and probably more costly :-( Paul ###" n = 10; A = rand(n,6); B = zeros((2*n),2); // goal is to get the value of the 1rst and 4th column i = [1 : n]'; j =

[Scilab-users] basic question ?

2017-04-23 Thread paul . carrico
Hi All I'm sorry if my question is "basic", but I've not understood why the following code does not work ... size of i,j,k seems correct Do I miss something? Thanks for your time Paul ## mode(0) n = 10; A = rand(n,6); B = zeros((2*n),2); C = B; // goal is

Re: [Scilab-users] fsolve including linear interpolation

2017-04-18 Thread paul . carrico
the example I built is not relevant and it does not reflect the problem behind... sorry for the inconvenient Paul Le 2017-04-18 17:20, roger.corm...@ncf.ca a écrit : > Paul: > > It appears that you're solving for y given theta and x, but y is a > linear function of theta and x. > > I don't

[Scilab-users] fsolve including linear interpolation

2017-04-18 Thread paul . carrico
Hi All I'm wondering what is the way to solve the following study (but at the same time I'm not sure that the problem has been correctly posed) ... I'm a bit "disrupted" by theta scalar that depends itself on x value. The problem seems to be non linear and I tried (but I failed) in using

Re: [Scilab-users] contour : z level use

2017-04-02 Thread paul . carrico
amazing ... once again many thanks Rafael (need time to have a look on the code and to catch how to modify some features) Thanks Paul Le 2017-04-02 14:49, Rafael Guerra a écrit : > // NOTE: the previous contour code line should read: > contour(X,Y,Z,[Zc Zc],flag=[0 0 4]); > > -- > View

Re: [Scilab-users] contour : z level use

2017-04-02 Thread paul . carrico
Hi Samuel Even when using mode = 1 (as the other in fact) in the flag, the result remains identical _Nb_: I probably pasted the latest trial I did :-) Paul // flag=[mode,type,box] // mode : //string representation mode. //mode=0: the level curves are drawn on the surface defined by

Re: [Scilab-users] contour : z level use

2017-04-02 Thread paul . carrico
Hi I've been thinking that Scilab uses the closest zlev than the one I'm specifying, based on the points I provided ... am I correct? I've to find a way to create the points I need with z=0 Paul Le 2017-04-01 23:42, paul.carr...@free.fr a écrit : > Hi > > In the following example,

[Scilab-users] contour : z level use

2017-04-01 Thread paul . carrico
Hi In the following example, I'm trying to add a single contour line equals to z = 0, but I've another value: what am I doing wrong? Thanks for the help Nota bene : I'm under 5.5.2 Scilab release Paul ## mode(0) X = linspace(0,1,10); Y =

Re: [Scilab-users] Plots on second Y axis

2017-03-28 Thread paul . carrico
Thanks for sharing it. I've a suggestion I commonly use for such plots (I'm speaking in a general way): the color of the dedicated ordinate axis is the same than the curve in order to immediatly know what are the units and where to look to ... ... just my point of view Paul Le 2017-03-28

[Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread paul . carrico
Hi All To go further in 2D/3D interpolation as I started in my previous emails, I built the example here after. As suggested, I had a look to - cshep2d but but seems can not be used here (dimensions issue) - splin2d + interp2d In the later case, Am I right to say that splin2d

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread paul . carrico
thanks all for the answers; I didn't know about ndgrid and I'm currently having a look on it (seems to be quite interesting) Samuel: from your example and the help doc, I need to understand how to proceed to perform linear interpolations (temperatures and abscissa's in my example) Paul Le

[Scilab-users] 3D interpolation

2017-03-24 Thread paul . carrico
Hi all, I don't know if my question is relavante (or not), but I'm wondering what is the best way to perform a 3D interpolation, from for the matrix definition to the interpolation procedure. Let me using a basic example: I've some curves y = f(x,T) defining a material behaviour at different

Re: [Scilab-users] non linear optim

2017-03-20 Thread paul . carrico
Hi All I've ever been thinking that fminsearch uses Nelder-Mead algorthm i.e. it is an order 0 method (no gradient is needed to determine the local extremum) ; this is a personnal approach but I uses NeldeMead (with bounds and restarts) instead of fminsearch for a limited number of

[Scilab-users] (Graphical) Visualization of the structure workflow

2017-03-16 Thread paul . carrico
Hi All When I need to re-used some codes/programs I performed, especially when the structure is "complex" (using several files and functions), I often need to spend some time to reappropriate it (even if ever I try to well comment my codes). In order to be more efficient, I'm thinking in

[Scilab-users] optim vs Neldermead: improvement

2017-01-23 Thread paul . carrico
Hi All I'm using 'optim' and 'NelderMead' in conjunction with my finite element solver. A "good" optimization is a balance between accuracy and cpu time … in other word I do not necessary need to be accurate at 1e-11 but requiring a lot of iterations where 1e-3 is enough with a lower amount of

Re: [Scilab-users] 'optim' vs 'Nelder-Mead' ... or difficulties to use 'optim'

2017-01-15 Thread paul . carrico
Hi Stephane, You're right, I forgot my basis :-) Nevertheless when I re-write the target function as the following, it fails after some iterations and I do not understand the origin (??) Paul ### function f=target(x) val_lin = lineaire(x,1,2);

[Scilab-users] 'optim' vs 'Nelder-Mead' ... or difficulties to use 'optim'

2017-01-15 Thread paul . carrico
Hi all Well, from a "macro" point of view, gradient based methods (order 1 method) should be more efficient than Nelder-Mead one (order 0) especially for 1D topic, shouldn't be? In the case here bellow, when I use 'Optim' it is not the case in comparison to 'NelderMead'... I don'y know what I'm

Re: [Scilab-users] Optim use and 'err' flag

2017-01-14 Thread paul . carrico
Hi Paul I found why I had err=3: I was "playing" with the step value of numderivative and I sent the last trial; neveryheless if you remove it of use a low value such as 0.01 instead of 0.1, the err value becomes 3 CQFD :-) Paul Le 2017-01-13 22:15, paul.carr...@free.fr a écrit : > Hi

Re: [Scilab-users] Optim use and 'err' flag

2017-01-13 Thread paul . carrico
Paul, When using imp=3, I can see that 'iters' returns in fact the value of niter (ditto for evals and nocf): am I right ? [fopt, xopt, gopt, work, iters, evals, err] = optim(cost,'b',lower_bounds,upper_bounds,initial_parameters,'qn','ar',nocf,niter,imp=3); (thanks for the support) Paul

Re: [Scilab-users] Optim use and 'err' flag

2017-01-13 Thread paul . carrico
Hi Paul I've been using the latest Scilab stable release on my working station; nevertheless you're right I get 12 when running the code on my laptop (same release but under Linux). Paul Le 2017-01-13 17:11, Paul Bignier a écrit : > Hello Paul, > > Running your script gives me "err=12",

[Scilab-users] Optim use and 'err' flag

2017-01-13 Thread paul . carrico
Hi all I’m trying to improve how to use Optim in Scilab, so I’m still using the basic Rosembrock function; in the example hereafter, one can see that Optim goes back the Error flag to 3 and I do not understand why? The goal is to be able to check all the values of this flag in order to

[Scilab-users] derivative vs numderivative

2017-01-10 Thread paul . carrico
Hi all I've not been using Scilab for optimization tasks for years and I decided to dig up my old codes; I didn't follow such items in the mailing list so the current questionning has probably ever been treated (?!?!): why numderivative leads to different result than derivative (since derivative

Re: [Scilab-users] Surface calculation

2016-12-26 Thread paul . carrico
Hi I finally found how to proceed in a simpler way ... http://paulbourke.net/geometry/polygonmesh/ Many interesting thinks on these pages Paul Le 2016-12-24 10:16, Rafael Guerra a écrit : > Hi Paul, > > Season's Greetings. > > Could you provide one representative example of your

Re: [Scilab-users] Surface calculation

2016-12-24 Thread paul . carrico
Hi The topic remains open (one never knows), but I think I found an interesting way to answer to my needs: the "ear clipping method"; then based on the triangles it becomes easy to calculate the surface. Paul Le 2016-12-23 23:42, paul.carr...@free.fr a écrit : > Hi All > > I'm wondering

Re: [Scilab-users] {EXT} Re: uicontrol & wiki

2016-12-22 Thread paul . carrico
blame you ... oh no :-) Good starting point, so thanks for your contrinution Paul Le 2016-12-22 09:21, Dang Ngoc Chan, Christophe a écrit : > Hello, > > De : De la part de Samuel Gougeon > Envoyé : mardi 20 décembre 2016 22:25 > > Le 20/12/2016 21:45, paul.carr...@free.fr a écrit : > >

Re: [Scilab-users] uicontrol & wiki

2016-12-20 Thread paul . carrico
hi Samuel .. I think there's a misunderstanding in my questioning... I'm wondering why this code works (under Scilab 5.5.2 at least) i.e. why I can plot several points Paul Le 2016-12-20 22:10, Samuel Gougeon a écrit : > Hello Paul, > > Le 20/12/2016 21:45, paul.carr...@free.fr a écrit :

[Scilab-users] uicontrol & wiki

2016-12-20 Thread paul . carrico
Hi I've been looking to the wiki and an interesting article speaking about GUI developments (https://fr.wikibooks.org/wiki/Découvrir_Scilab/Créer_une_interface_graphique_GUI - in French language). I've a naive question on the code hereafter: why is it possible to implement several values? no

Re: [Scilab-users] How to remove all the figure in a single instruction

2016-12-05 Thread paul . carrico
thanks all - works fine Paul Le 2016-12-05 12:07, CRETE Denis a écrit : Hello, xdel(winsid()) HTH Denis [@@ THALES GROUP INTERNAL @@] 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 :

[Scilab-users] How to remove all the figure in a single instruction

2016-12-05 Thread paul . carrico
Hi All To remove all the figures in a single instruction, I'm using Xdel keyword; for example, "xdel(1:10)" for the figure 1 to 10. Nevertheless if I manually remove one of them in the meantime, it does not work anymore. Is there another way to proceed? Nota bene: I tried something like

[Scilab-users] Re : Re: scilab and "parallelization" objectives

2016-10-22 Thread paul . carrico
hedn",i); sleep(t*1000); printf("function %d is endeednn",i); status = 0; endfunction // the duration is expressed in second(s) status = test(1,1); status = test(2,3); status = test(3,5); status = test(4,7); - DE: "Paul Carrico" <paul.carr.

Re: [Scilab-users] scilab and "parallelization" objectives

2016-10-22 Thread paul . carrico
>> function status=test(i, t) >> printf("function %d is launched\n",i); >> sleep(t*1000); >> printf("function %d is endeed\n\n",i); >> status = 0; >> endfunction >> >> // the duration is expressed in second(s) >> status = te

Re: [Scilab-users] scilab and "parallelization" objectives

2016-10-22 Thread paul . carrico
( " function %d is endeed\n\n " , i ) ; status = 0 ; endfunction // the duration is expressed in second(s) status = test ( 1 , 1 ) ; status = test ( 2 , 3 ) ; status = test ( 3 , 5 ) ; status = test ( 4 , 7 ) ; - Mail original - De: "Paul Carrico" <paul.carr...

Re: [Scilab-users] Peaks and valleys [was: Forum dedicated to Scilab developments -> practical concern]

2016-10-07 Thread paul . carrico
Thanks Christophe for the "coup de main" (i.e for the help) I started to have a look on it in order to determine how I can use it in my project; the main goal remains to include such tool in optimization loops involving a fully "automatic" search (one path of reflexion among others) In a

Re: [Scilab-users] Scilab control after an impossible calculation

2016-10-06 Thread paul . carrico
thanks everybody for the supports Paul - Mail original - De: "Mike Page" À: "Users mailing list for Scilab" Envoyé: Jeudi 6 Octobre 2016 12:34:59 Objet: Re: [Scilab-users] Scilab control after an impossible calculation

Re: [Scilab-users] Peaks and valleys [was: Forum dedicated to Scilab developments -> practical concern]

2016-10-06 Thread paul . carrico
thanks for the information and the link Paul - Mail original - De: "Dang Ngoc Chan, Christophe" À: "Users mailing list for Scilab" Envoyé: Jeudi 6 Octobre 2016 10:26:50 Objet: [Scilab-users] Peaks and valleys [was: Forum

Re: [Scilab-users] Scilab control after an impossible calculation

2016-10-06 Thread paul . carrico
thanks for the advice well I tried but it does not work as expected ; errcatch seems to be obsolete so I'm testing it with execstr: the warning is not displayed ... why ### mode(0) try x = 0; y = (1/x) if execstr(('y','errcatch') <> 0)

[Scilab-users] Scilab control after an impossible calculation

2016-10-06 Thread paul . carrico
Hi All I’m using Scilab as the interface between my optimizer and my finite element solver(s) and sometimes Scilab stops because of unexpected and impossible calculus (1/x with x = 0 as an example ); obviously Scilab stops (and so the optimization). I’m wondering if it’s possible: - To

Re: [Scilab-users] Forum dedicated to Scilab developments -> practical concern

2016-10-05 Thread paul . carrico
that can federate people around ... an example among others Nb : the "peaks detector" project is non applicable on noisy signals (while vectorization is quit interresting) Paul - Mail original ----- De: "paul carrico" <paul.carr...@free.fr> À: "Users

Re: [Scilab-users] Forum dedicated to Scilab developments

2016-10-04 Thread paul . carrico
Well I'm speaking about projects using Scilab (and then related to it), but not directly how to use it. For example, we can find forums dedicated to Electronics, Signal processing, Mechanical engineering, Optimization, Arduino and so on, in different places and not necessary using a common

[Scilab-users] Forum dedicated to Scilab developments

2016-10-04 Thread paul . carrico
Hi Recently somebody reminded me that the current mailing list is dedicated to Scilab topics (on only to) i.e. on ways on using Scilab. Does it exist a forum dedicated to developments using Scilab, so that people can share skills or ask for support(s) in specific topics/tasks? In my mind a

Re: [Scilab-users] shift phase in fft

2016-09-29 Thread paul . carrico
Thanks Rafael (and Antoine as well) Now I think I understand what went wrong Paul - Mail original - De: "Rafael Guerra" À: "Users mailing list for Scilab" Envoyé: Jeudi 29 Septembre 2016 13:38:09 Objet: Re: [Scilab-users]

[Scilab-users] shift phase in fft

2016-09-29 Thread paul . carrico
Dear all I'm sorry about asking a so basic question, but I do not understand how to make a shift phase in a fft ; There's something I do not catch what ? Regards Paul ## mode(0) clear all f = 10; // frequency omega =

[Scilab-users] scilab 6 and vectorization

2016-09-27 Thread paul . carrico
Hi I cannot say if this topic has ever been discussed so far, but I installed Scilab 6.0 in order to work with a huge amount of data ; unlike the current stable data that is limited to 2 Go, the 6.0 one is announced to not be limited ... ... I tried a code using vectorization and I've been

Re: [Scilab-users] issue with "sum"

2016-09-27 Thread paul . carrico
"remember" heuhhh ... :-) Thanks Stephane - Mail original - De: "Stéphane Mottelet" À: "Users mailing list for Scilab" Envoyé: Mardi 27 Septembre 2016 15:09:36 Objet: Re: [Scilab-users] issue with "sum" paul, remember the

[Scilab-users] issue with "sum"

2016-09-27 Thread paul . carrico
Hi again In the following example, the sum lead to an opposite sign for the complex part … Am I doing something wrong ? thanks for any highlight Paul mode(0) A = [ - 3. 6.123D-17 3. - 3. - 3.062D-17 - 5.303D-17*%i - 1.5 + 2.5980762*%i - 3. -

Re: [Scilab-users] is vectorization possible

2016-09-27 Thread paul . carrico
thanks to both of you I works now Paul ### mode(0) k = 1E6; a = rand(k,1); w = 2; n = (k/w); // same using a loop tic() tmp2 = zeros(n,1); for i = 1 : n tmp2(i,1) = sum(a([1 + (i-1)*w : i*w],:)); end duree_loop = toc() // using vectorization tic() tmp =

Re: [Scilab-users] is vectorization possible

2016-09-27 Thread paul . carrico
Thanks Tim for the answer, nevertheless it cannot work. I want to make the sum of blocks of rows; here - 'i' is a vector - tmp is a vector of 20 rows in the current example - the loop does the job, but I do not understand why the vectorization fails ... is it a synthax error ? Paul pb: in my

[Scilab-users] is vectorization possible

2016-09-27 Thread paul . carrico
Hi All Is the vectorization possible for the example herebellow? everything I tried failed ! Thanks for any help Paul ## mode(0) k = 100; a = rand(k,1); w = 5; n = (k/w); i = [1 : n]'; tmp = zeros(n,1); //

Re: [Scilab-users] fourier series and fft

2016-09-23 Thread paul . carrico
sound interesting ... many thanks for the information Paul - Mail original - De: "Rafael Guerra" À: "Users mailing list for Scilab" Envoyé: Vendredi 23 Septembre 2016 13:57:31 Objet: Re: [Scilab-users] fourier series and fft

Re: [Scilab-users] fourier series and fft

2016-09-23 Thread paul . carrico
Thanks Tim for this answer; well I notice I need to "dig" deeper on that topic Paul - Mail original - De: "Tim Wescott" À: "Users mailing list for Scilab" Envoyé: Jeudi 22 Septembre 2016 23:17:27 Objet: Re: [Scilab-users] fourier series

[Scilab-users] fourier series and fft

2016-09-22 Thread paul . carrico
dear all I'm novice in Fourier series and other and my question is probably naive (sorry for this) => I'm wondering if scilab can directly calculate the Fourier coefficient a0, a_k and b_k ? I'm currently doing it "by hand" is order to familiarise myself with it (and I'm looking at the

Re: [Scilab-users] Scilab - Arduino

2016-09-06 Thread paul . carrico
Nicolay, Thanks for the information (good way to start both with Arduino & Xcos) Paul - Mail original - De: "Nikolay Strelkov" À: "Users mailing list for Scilab" Envoyé: Lundi 5 Septembre 2016 22:56:49 Objet: Re: [Scilab-users] Scilab -

Re: [Scilab-users] Scilab - Arduino

2016-09-05 Thread paul . carrico
I do not find it (see screenshot), but in the meantime I noticed it works only under Windows OS ... and I'm under linux/ubuntu!! It's a pitty :-) In any way thanks for your support Claus Paul - Mail original - De: "Claus Futtrup" À: users@lists.scilab.org Envoyé:

Re: [Scilab-users] Scilab - Arduino

2016-09-05 Thread paul . carrico
Hi Claus, First thanks for the answer. I was looking to install it from the Atoms interface directly in Scilab ... I can understand now it's necessary to download the tarball and to install it. Paul - Mail original - De: "Claus Futtrup" À: users@lists.scilab.org

[Scilab-users] Scilab - Arduino

2016-09-05 Thread paul . carrico
Hi, I looking into Atoms to the package "Scilab-Arduino" from demosciences but I fail in finding it: is the package still available or am I doing something wrong? Thanks Paul ___ users mailing list users@lists.scilab.org

[Scilab-users] vectorization issue

2016-06-16 Thread paul . carrico
Dear, I failed in using 100% vectorization in the following example (and I don't remember how to proceed) ; I spent a lot of time in testing things ... ... what is the correct sentence for vecteur2 Thanks for the help Paul

[Scilab-users] Re : Re: {EXT} create random values between [-1,1]

2016-06-10 Thread paul . carrico
Thanks everybody for the advices Paul - Mail d'origine - De: Jan Åge Langeland À: Users mailing list for Scilab Envoyé: Fri, 10 Jun 2016 16:55:21 +0200 (CEST) Objet: Re: [Scilab-users] {EXT} create random values between [-1,1] I suggest a normal

Re: [Scilab-users] matrix of combinations

2016-06-09 Thread paul . carrico
Hi samuel, (thanks) I'm still under the latest stable Scilab release 5.5.x ... but it sounds a good opportunity to move to 6.0 one. I've 2 servers (both under CentOS) having different features : - 2 CPU-s with 120 Go of memory - 8 CPU's with 30 Go of memory the latest one is probably the

[Scilab-users] opposite to 'diag' keyword

2015-06-17 Thread paul . carrico
Dear All, The question is quite basic: I'm trying to opposite to 'diag' keyword in order to build a diagonal matrix from a vector, but I fail so far ... what is the trick? Thanks Paul ___ users mailing list users@lists.scilab.org

[Scilab-users] Re : Re: opposite to 'diag' keyword

2015-06-17 Thread paul . carrico
No A basic example: --A = [1 0 0 0 ; 0 6 0 0 ; 0 0 -5 0 ; 0 0 0 31] A = 1.0.0.0. 0.6.0.0. 0.0. - 5.0. 0.0.0.31. --B = diag(A) B = 1. 6. - 5. 31. how a rebuild A from B NB: - the

[Scilab-users] Re : for-loop does't work

2015-06-05 Thread paul . carrico
hi Maybe you should first explain what you would like to do ... A is a matrix 151x3 x is a matrix 1x5 I do not understand the prupose of the loop Depending on what you are expecting for, a good solution will be found Paul - Mail d'origine - De: fujimoto2005 fujimoto2...@gmail.com

[Scilab-users] Re : Re: Command lauch using a string

2015-05-15 Thread paul . carrico
Dear Stefan You're right it was a quote issue - thanks to you and Antine for the suggestions Paul - Mail d'origine - De: Stefan Du Rietz s...@durietz.se À: users@lists.scilab.org Envoyé: Fri, 15 May 2015 10:07:48 +0200 (CEST) Objet: Re: [Scilab-users] Command lauch using a string On

[Scilab-users] Command lauch using a string

2015-05-14 Thread paul . carrico
Dear All, I've been thinking in creating a string in order to run specific instructions afterward (I'm under Windows OS for the moement); An example of my code: # A = 'PATH_IMAGEMAGICK + ''\convert -delay 50 '; for i = 1 :

[Scilab-users] MMA / GCMMA (optimization method)

2015-05-04 Thread paul . carrico
Dear All I take here the initiative to ask advices on MMA/GCMMA method ... both in understanding it and after how to code it in Scilab. So far I used optimizer(s) while I'm knowing the cost function (typically Sum Of the Square Errors SSE in order to fit measurements); For design optimization

[Scilab-users] Re : Re: Envelop of a noisy curve

2015-04-27 Thread paul . carrico
Dear Thanks everybody for the suggestions that (even it can be used as it stands) have been a great source of inspiration to fix my issue. Regards Paul - Mail d'origine - De: Samuel Gougeon sgoug...@free.fr À: International users mailing list for Scilab. users@lists.scilab.org

[Scilab-users] finding roots

2014-03-30 Thread paul . carrico
Dear All I would like to find the first 10 roots of the following equation : cos(x)*cosh(x)-1=0 I think the solution is not trivial and need a specific development, isn't it ? Cheers Paul ___ users mailing list users@lists.scilab.org

[Scilab-users] Re : finding roots

2014-03-30 Thread paul . carrico
Hooops I make a mistake : cos(x)*cosh(x)+1=0 Paul - Mail d'origine - De: paul carrico paul.carr...@free.fr À: International users mailing list for Scilab. users@lists.scilab.org Envoyé: Sun, 30 Mar 2014 11:30:23 +0200 (CEST) Objet: [Scilab-users] finding roots Dear All I would like

Re: [Scilab-users] finding similar values with scilab

2014-02-22 Thread Paul CARRICO
/awk/nawkA4.pdf etc. ... -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Paul CARRICO Envoyé : samedi 22 février 2014 08:48 À : 'International users mailing list for Scilab.' Objet : Re: [Scilab-users] finding similar values with scilab Do you have

Re: [Scilab-users] finding similar values with scilab

2014-02-21 Thread Paul CARRICO
Do you have to do this on a single file and to repeat it X times (where X is the thousands of file you're speaking) or do you have to calculate the deviation and so on) on the X files at the same time ? Obviously the first case is much easier than the second one . -Message

Re: [Scilab-users] Loading multiple text files

2014-02-08 Thread Paul CARRICO
Note the plot line has been cut in 2 ones by outlook -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Paul CARRICO Envoyé : samedi 8 février 2014 08:53 À : 'International users mailing list for Scilab.' Objet : Re: [Scilab-users] Loading multiple

Re: [Scilab-users] Loading multiple text files

2014-02-07 Thread Paul CARRICO
I haven't tested specifically your example, but I would use something like : for i=1:1:4 str1 = ... DM(+ string(i) +)=fscanfMat(''export_5-20HZ_C(+ string(i) +).txt''),... figure(+ string(i) +),... plot(DM(+ string(i) +)(:,7),DM(+ string(i) +)(:,4),''ro*'',DM(+ string(i) +)(:,7),DM(+

Re: [Scilab-users] scilab memory usage

2014-01-05 Thread paul . carrico
Hi have a look to csvread functions to read (very fast) txt/csv files even for huge file including million(s) of lines ... .. but I've not figure out what you want to do exactly Paul - Mail original - De: Stephan Schreckenbach step.sch...@yahoo.de À: users@lists.scilab.org Envoyé:

[Scilab-users] how to read huge ascii files

2013-12-29 Thread Paul CARRICO
Dear All How can I read and record huge ascii file when mgetl leads to memory troubles (even using stacksize('max')) ? it it possible to split it ? I'm speaking about an ascii file wherein there's a lot of irrelevant comments/texts/blanks etc. . ? Thanks for any advice Happy new

[Scilab-users] Advice from Scilab community (including parallelization)

2013-10-26 Thread Paul Carrico
Dear All I think the example hereafter is quite interesting since it shows the speed quickly increase . but it remains too long for my application L Thus an additional question : is the only way is to use parallelization (I've 8 cores on my working station) ? what about Scilab today on that

Re: [Scilab-users] Advice from Scilab community (including parallelization)

2013-10-26 Thread Paul Carrico
-users] Advice from Scilab community (including parallelization) Le 26/10/2013 11:08, Paul Carrico a écrit : printf(Search for duplicates\n); //tic() for i = 1 : (number_of_blocks + k) printf(block ref %d/%d ...\n,i,(number_of_blocks+k)); tic() for j = 1

Re: [Scilab-users] Advice from Scilab community

2013-10-25 Thread Paul Carrico
Dear All First of all thanks for all the advices I had ; the use of “members” works fine and fast in a general case, but not completely applicable in the study … Due to the big size of my matrix (more than 400 000 rows with 4 columns ... even greater than a million of rows) , I’ve a stacksize

[Scilab-users] dakota scilab

2013-09-06 Thread Paul Carrico
Dear All I'm trying to write a script in Scilab in order to launch several studies one after the other this WE ; I tested different syntax and methodology, and the one herebellow is the latest one : path_dakota = C:\outils\Dakota\dakota-5.3.1.CYGWIN.i686\bin; command_line = path_dakota +

Re: [Scilab-users] Scilab compiling

2013-07-28 Thread Paul Carrico
Where is it declared ? is it necessary to add the path manually in the makefile.in file ? Paul De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De la part de Paul Carrico Envoyé : samedi 27 juillet 2013 23:08 À : 'International users mailing list for Scilab

[Scilab-users] Scilab compiling

2013-07-27 Thread Paul Carrico
All I'm trying to compile Scilab due to glibc library issue ; I installed first hdf5 (not sure it's needed for my purposes, but I did - --without-hdf5 may be used in a second time), and how can I specify the right path to the makefile ? (/usr/local/hdf5 here) Thanks Paul

Re: [Scilab-users] Scilab compiling

2013-07-27 Thread Paul Carrico
Additional remark : neither ./configure --without-hdf5 nor ./configure --with-hdf5=/usr/local/hdf5 Works Paul De : Paul Carrico [mailto:paul.carr...@free.fr] Envoyé : samedi 27 juillet 2013 22:58 À : 'International users mailing list for Scilab.' Objet : Scilab compiling All

Re: [Scilab-users] scilab nightly build : installation problems

2013-06-06 Thread Paul Carrico
After spending a lot of time on the net : “libquadmath.so.0” (and not libquadmath.so.5 as written previously) comes from libquadmath package On my CentOS release, it’s ever installed devtoolset package including libquadmath 4.7.2 ; nevertheless it has generated libquadmath.so library and not

[Scilab-users] topological optimization

2013-03-09 Thread Paul Carrico
Hi, In order to help one of my colleagues that requested me some advices and help to design a vibration tool, I've been thinking in an ambitious (but crazy) idea in using topological optimization . crazy because I'm a newbie in that engineering field and I've no idea about the difficulties .

Re: [Scilab-users] empty memory

2012-12-27 Thread Paul Carrico
. Objet : Re: [Scilab-users] empty memory even with: clear clearglobal() ? Fred Le 25/12/2012 00:48, Paul Carrico a écrit : Dear All, I noticed the memory is not empty after reading huge matrices (typically after using csvread function with number of rows greater than 500 000) ; as well

[Scilab-users] empty memory

2012-12-24 Thread Paul Carrico
Dear All, I noticed the memory is not empty after reading huge matrices (typically after using csvread function with number of rows greater than 500 000) ; as well it's the case in the example hereafter . . thus what is the way to force Scilab to empty the memory ? NB : the only way I

[Scilab-users] libsciparallel.so not provided

2012-12-02 Thread Paul Carrico
Dear, I installed Scilab binary files under 2 different linux OS (Opensuse and Centos) ; in both cases the libsciparallel.so library is missing . is there any workaround in order to use parallel_run function ? (I haven't seen any rpm file of something like this .) A subsidiary question

Re: [Scilab-users] libsciparallel.so not provided

2012-12-02 Thread paul . carrico
I don't know how to say ... I'm using the 5.4.0 binary release and I've such kind of message see http://mailinglists.scilab.org/Scilab-users-parallilization-error-on-opensuse-td4025260.html Paul - Mail original - De: Martin Helm mar...@null-a.de À: users@lists.scilab.org Envoyé:

Re: [Scilab-users] libsciparallel.so not provided

2012-12-02 Thread paul . carrico
thanks for your suggestion ; unfortunately nothing changes in my opensuse OS ... I had a look in a Suse package but the latest Scilabk is not available ... it's a pitty Paul #

Re: [Scilab-users] libsciparallel.so not provided

2012-12-02 Thread paul . carrico
Hi Sylvestre, Let me asking the following : in order to use parallelization in a multicore environnent (serveur or station), what is the best way ? NB : - As I ever told in the current list, I use as often as possible the vectorization in my current develoment, but the same elementary scheme

Re: [Scilab-users] On the needs of a Scilab Vectorization Oriented Help

2012-11-26 Thread Paul Carrico
Dear Daniel, Here is a personal « reminder » I’m making for a current development … by replacing almost all the loops by a “vectorized” variables, the time CPU has been divided by nearly 10 for a complex modeling. Hope this help Some advices : - You’ve to understand how

[Scilab-users] csvWrite trouble

2012-11-24 Thread Paul Carrico
Hi, It's a pity but when I use csvWrite function, each line is separated by a blank line .. Paul # mode(0) PATH = get_absolute_file_path(test_csvWrite.sce); FILE_NAME = test_csvwrite.csv; A = rand(10,3); // test

[Scilab-users] vectoriztion and sets of data

2012-11-22 Thread Paul Carrico
Dear All, On the above example, it should be possible to select a sets of rows, should not ? if so how please ? Thanks Paul ### mode(0) // initial matrix A = rand(8,6); B = zeros(8,6); C = [A ; A; B; A; B; B; A]; [nr,nc] = size(C);

  1   2   >