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] O

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, wh

[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 Pau

[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 o

[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 Paul__

Re: [Scilab-users] OpenFEM

2018-02-06 Thread paul . carrico
Thanks Clément I saw it, but I've been thinking that a more recent release may exist (in some personal archives?) Paul e 2018-02-06 17:37, Clément David a écrit : > Hello Paul, > > May be at INRIA GForge [1 [1]] ? > > [1]: https://gforge.inria.fr/projects/openfem/ > > -- > Clément > > Le

[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 mai

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-18 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 mg

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 = [1

[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 to

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 fsolve.

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 t

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 = linspace(

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 09:

Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread paul . carrico
Hi Tim That's indeed what I've read as well; my need remains to get a linear interpolation between physical points ... I'm still digging in order to find a "pleasant" code :_) Thanks for the feedback Paul Le 2017-03-25 17:52, t...@wescottdesign.com a écrit : > The help says that splin2d g

[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 "cross-sections

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 201

[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 temp

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 variables.

[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 us

Re: [Scilab-users] optim vs Neldermead: improvement

2017-01-23 Thread paul . carrico
Of course I did :-) It is a way as well to share feedback on the influence of some flags; as it has been said 'it is my understanding" ... Paul Le 2017-01-23 11:37, Paul Bignier a écrit : > Hi Paul, > > As I'm sure you've read them, optim [1 [1]], neldermead [2 [2]] & > numderivative [3 [3

[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); v

[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 Pau

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 Le

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", w

[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 valid

[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] find & vectorization

2016-12-28 Thread paul . carrico
Thanks for your help. Well I wanted to get the position of each scalar, as the loop does; I'll be content to use a loop Thanks for your time. Paul Le 2016-12-28 14:43, Samuel Gougeon a écrit : > Le 28/12/2016 09:16, paul.carr...@free.fr a écrit : > >> Hi all >> >> I do not understand wh

[Scilab-users] find & vectorization

2016-12-28 Thread paul . carrico
Hi all I do not understand why the following code does not work when I try to use vectorization (many trials)? What am I doing wrong ? Thanks Paul mode(0) A = [ 1 2 9 0 10 6 ; 5 3 8 8 0 9 ; 5 9 1 0 3 9]' v = [2 9 6]' index

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 inpu

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 ho

[Scilab-users] Surface calculation

2016-12-23 Thread paul . carrico
Hi All I'm wondering how I can calculate (with accuracy) the value of any closed surface composed of edges; these ones come from a mesh and the surface is no more than a hole. In a first step I'm thinking in Delaunay triangulation based on the edges to mesh the surface (triangles), but mayb

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 loo

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
= 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" mailto:paul.carr...@esterline.com>> À: "International users mailing list for Scilab. (users@lists.scilab

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

2016-10-22 Thread paul . carrico
e(0) >> >> 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) >

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

2016-10-22 Thread paul . carrico
rintf ( " 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"

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 mo

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 Hi Paul, Would Scilab's try-catch block do what you

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 dedicated to Scilab developments -> practical concern] H

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) t

[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 ask

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

2016-10-05 Thread paul . carrico
oject 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" À: "Users mailing list for Scilab

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 t

[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 w

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] shift phase in fft Hi Paul, Your phase rotation see

[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 = 2*%pi*f;

[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 disa

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 transpose is *conjugate transpose*, use .' instead. S. L

[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. - 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 = zeros

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 u

[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 Hi Paul, Fyi, Tom Co's simple tutorial: http://ww

Re: [Scilab-users] fourier series and fft

2016-09-22 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 and fft Hey Paul: If you mean the 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 same

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 - Arduino Dear Paul! I'm on Ubuntu 12.04.5

Re: [Scilab-users] Scilab - Arduino

2016-09-05 Thread paul . carrico
Scilab 5.5.2 for me ... the latest stable release - Mail original - De: "Samuel Gougeon" À: "Users mailing list for Scilab" Envoyé: Lundi 5 Septembre 2016 21:43:36 Objet: Re: [Scilab-users] Scilab - Arduino Hello, Le 05/09/2016 21:22, Claus Futtrup a écrit : Hi Paul It's not

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é: Lundi 5 Septembre 201

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 Envoyé: Lundi 5 Septem

[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 http://lists.scilab.org/mailm

[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 distribution: histplot(10,10+grand(1,100

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 more

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

2015-06-17 Thread paul . carrico
oups I probably did something wrong when I tested it ... Thanks Paul - Mail d'origine - De: Pierre-Aimé Agnel À: users@lists.scilab.org Envoyé: Wed, 17 Jun 2015 09:28:38 +0200 (CEST) Objet: Re: [Scilab-users] Re : Re: opposite to 'diag' keyword Hello, diag works both ways: Le 17/06

[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] 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 http://lists.scilab

[Scilab-users] equivalent to eigs in scilab

2015-06-10 Thread paul . carrico
Dear All I get a Matlab file and I would like to know what is the equivalent to Matlab: n = 6; [u,v]=eigs(K,M,n,'SM'); // where K and U and 2 sparse matrix //'SM' means Smallest for my understanting -> looking for the 6th lower eigen values, isn't it ? Scilab: Spec or bd

[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 À: users@lists.scilab.

[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 À: users@lists.scilab.org Envoyé: Fri, 15 May 2015 10:07:48 +0200 (CEST) Objet: Re: [Scilab-users] Command lauch using a string On 2015-05-14 22:51,

[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-26 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 À: International users mailing list for Scilab. Envoyé: Fri, 24 Apr 2015 21:03:23 +0200 (CES

[Scilab-users] Envelop of a noisy curve

2015-04-24 Thread paul . carrico
Dear All, I am absolutly not familiar with "signal processing" field, so my question is probably naïve: how can I proceed to get the envelop curve (maximum values) of a non periodic noisy signal ? Thanks for any suggestion Have a good WE Paul ___ us

[Scilab-users] Real time acquisition in Scilab

2014-08-17 Thread paul . carrico
Dear All, I'm a complete beginner in such item and I think it has ever been implemented in Scilab : what module can handle real time (signal) plotting ? (google searches has been unsuccessfull using such words or close ones) Thanks Paul ___ users mail

Re: [Scilab-users] tic toc time

2014-05-25 Thread Paul CARRICO
toc() … i.e with () … instead of toc Paul De : users [mailto:users-boun...@lists.scilab.org] De la part de Claus Futtrup Envoyé : dimanche 25 mai 2014 12:21 À : International users mailing list for Scilab. Objet : [Scilab-users] tic toc time Hi there Converting from matlab to scilab is f

Re: [Scilab-users] RE(2): finding roots

2014-03-30 Thread Paul CARRICO
ational users mailing list for Scilab. Subject: [Scilab-users] Re : finding roots Hooops I make a mistake : cos(x)*cosh(x)+1=0 Paul - Mail d'origine - De: paul carrico À: International users mailing list for Scilab. Envoyé: Sun, 30 Mar 2014 11:30:23 +0200 (CEST) Objet: [Scilab-users]

[Scilab-users] Re : Re: Re : finding roots

2014-03-30 Thread paul . carrico
r Sent: Sunday, March 30, 2014 10:48 AM To: International users mailing list for Scilab. Subject: [Scilab-users] Re : finding roots Hooops I make a mistake : cos(x)*cosh(x)+1=0 Paul - Mail d'origine - De: paul carrico À: International users mailing list for Scilab. Envoyé: Sun, 30

[Scilab-users] Re : Re: Re : finding roots

2014-03-30 Thread paul . carrico
ee.fr Sent: Sunday, March 30, 2014 10:48 AM To: International users mailing list for Scilab. Subject: [Scilab-users] Re : finding roots Hooops I make a mistake : cos(x)*cosh(x)+1=0 Paul - Mail d'origine - De: paul carrico À: International users mailing list for Scilab. Envoyé: Su

[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 À: International users mailing list for Scilab. Envoyé: Sun, 30 Mar 2014 11:30:23 +0200 (CEST) Objet: [Scilab-users] finding roots Dear All I would like to find the first 10 roots of the foll

[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 http://lists.scil

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

2014-02-22 Thread Paul CARRICO
x/Awk.html http://www.cs.unibo.it/~renzo/doc/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: [S

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 d'origine--

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

2014-02-21 Thread Paul CARRICO
Did you have a look to "awk" and "sed" tools that can be used in conjunction with Scilab ? -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de samaelkreutz Envoyé : vendredi 21 février 2014 06:18 À : users@lists.scilab.org Objet : [Scilab-users] finding s

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: [Scila

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) +")(:,

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" À: users@lists.scilab.org Envoyé: Samedi 4 Janvier 2014

Re: [Scilab-users] how to read huge ascii files

2013-12-30 Thread Paul CARRICO
[mailto:users-boun...@lists.scilab.org] De la part de Paul CARRICO Envoyé : dimanche 29 décembre 2013 23:25 À : users@lists.scilab.org Objet : [Scilab-users] how to read huge ascii files Dear All How can I read and record huge ascii file when mgetl leads to memory troubles (even using stacksize

[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 yea

Re: [Scilab-users] Help with text files

2013-11-26 Thread Paul Carrico
Try basicaly … phrase=mgetl(fd) then you’ve an array of characters … Paul De : users [mailto:users-boun...@lists.scilab.org] De la part de Eduardo Torrecillas Envoyé : mardi 26 novembre 2013 19:14 À : International users mailing list for Scilab. Objet : [Scilab-users] Help with text fil

  1   2   >