[Scilab-users] modifying a variable changes the value of another variable!!!

2013-01-25 Thread ezequiel soule
Hello, I am using some iterative algorithm defined as a function in a .sci file, and I have the following problem: the iterations in the algorithm are controlled by a given variable. Now, if I define another variable, (which DO NOT affect the values of the control variable nor the way it is calcul

[Scilab-users] modifying a variable changes the value of another variable!!!

2013-01-28 Thread Ezequiel Soule
Hello, I am using some iterative algorithm defined as a function in a .sci file, and I have the following problem: the iterations in the algorithm are controlled by a given variable. Now, if I define another variable, (which DO NOT affect the values of the control variable nor the way it is cal

Re: [Scilab-users] modifying a variable changes the value of another variable!!!

2013-01-28 Thread Ezequiel Soule
Sorry I didn't clarify that: I define the initial random positions, I store them in a variable, say pos_in, and then I call the functions (the different versions) with pos_in as input, so the initial positions are the same in every case. On 28/01/13 14:07, Serge Steer wrote: If the initial pos

Re: [Scilab-users] modifying a variable changes the value of another variable!!!

2013-01-29 Thread Ezequiel Soule
Hi Rafael, thank you for your answer. I'm running the code with the minimum variables required for it (positions, radius, number of spheres). it can be some sort of error generating in the output (or in some internal calculation) of calc_D_superp_dobcel, but I don't think it is roundoff, why wo

[Scilab-users] voronoi in 3D space

2013-01-31 Thread Ezequiel Soule
Hello, does anyone one if there is any tool to calculate voronoi diagrams in a 3D space? I coulnd't find anything for scilab, but it exists in matlab, so maybe I just missed it... ___ users mailing list users@lists.scilab.org http://lists.scilab.org/ma

[Scilab-users] problem loading enviroment

2013-03-21 Thread Ezequiel Soule
Hello, sometimes, when I try to load an eviroment, I got a message like this: loading initial environment Warning : redefining function: %_sodload . Use funcprot(0) to avoid this message inside function: createMacro . = (pos,V,R,calc_D_superp_dobcel(N, N2))

Re: [Scilab-users] problem loading environments

2013-08-05 Thread Ezequiel Soule
works fine! Any help will be appreciated. El 03/08/2013 08:34 a.m., Mathieu Dubois escribió: Could you send a simple example which creates a simple environement that shows the problem when saved and restored? Mathieu Le 31/07/2013 14:51, Ezequiel Soule a écrit : Hello, I keep having this

[Scilab-users] problem with splin3D

2013-09-05 Thread Ezequiel Soule
Hello: I have a problem using the function splin3D(x,y,z,V) (for spline interpolation in 3D): whenever the vectors x,y,z have a diferent size, I get an error message: problem with flag "n", where n is the number of elements of one of the vectors (not always the same). The dimensions are correc

Re: [Scilab-users] Pairwise distance of a huge amount of points

2014-09-01 Thread Ezequiel Soule
Hi, I am working in something related, which is deteriming overlaps in a sistem of spheres with random positions. So I have to compute the distance between centers of spheres, and compare it with the contact distance. I implemented a cell algorithm, which is used in molecular dynamics (you can

Re: [Scilab-users] Problems using save

2014-10-21 Thread Ezequiel Soule
Hello, unfortunately I cannot give you a solution, instead I´ll give you another problem! I had the problems you mention also, and in addition, another one. When I try to load a file, I get an error: !--error 41 Argumento de salida incompatible. at line 16 of function coord called by : at

[Scilab-users] ODE is returning a vector of wrong size

2014-12-29 Thread Ezequiel Soule
Hello, when ODE is called to solve a differential equation: x=ode(y0, t0, t, f) "t" is the vector containing the times at which the solution is computed. In some cases, it returns a vector x which has less elements than t! When this happens I get a warning message: lsoda-- at t (=r1) and ste