Re: [Scilab-users] Linearizing a model with COSELICA blocks

2013-01-28 Thread Clément David
Hello, It is possible to linearize a modelica model however I should compile (in the sense of producing an Xcos block from a modelica diagram) first. Just define needcompile=4 before calling lincos and open a non-documented bug. -- Clément Le vendredi 25 janvier 2013 à 09:26 -0800, amiege a

Re: [Scilab-users] Problem with ATOMS

2013-01-28 Thread Stéphane Mottelet
Hello, this problem is fixed in the current developpement version of the plotlib, a new version will be released this week. S. Le 28/01/13 08:52, Vincent COUVERT a écrit : Hello, It seems that this error is due to plotlib since the error message indicates that the error occurred at line

Re: [Scilab-users] Identification Toolbox Documentation

2013-01-28 Thread Serge Steer
The identification functions help pages can be found in the CACSD chapter look at findABCD, findBD, findAC,... but also imprep2ss, armax, ... Serge Steer Le 25/01/2013 18:18, AntonSeab a écrit : Hi It would be great if you could point me to some documentation for the Identification Toolbox.

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

2013-01-28 Thread Dang, Christophe
Hello, Now, if I define another variable, the number of iterations to converge changes! [...] the problem is that this difference propagates exponentially Maybe you could send us a minimal script reproducing the problem? Regards -- Christophe Dang Ngoc Chan Mechanical calculation

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread Dang, Christophe
Hello, If I have a vector , por example M= rand(418,1) Just a question of vocabulary, are you lookng for peaks with a given width, such as or for one-pixel wide peaks, which are sometimes refered to as spikes? For spikes, you can use the cade given by Samuel, just removing the pC. If the

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

2013-01-28 Thread Ezequiel Soulé
The algorithm essentially starts with a set of spheres in random positions and in a relatively dense state, and runs an iterative process where the spheres are moved in each iteration in order to reduce the overlaps. The core of the script is more or less like this

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread constantina
yes, you're right, the correct word is spike. My problem consist: a matrix like [v,k1,k2], the first letter is time, k1 and k2 are values of a time series. So... if I plot the values, Im gonna find spikes that means errors, happens the same with zero values... I have to eliminate the wrong

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

2013-01-28 Thread Serge Steer
If the initial position of your sphere are randomly set, it can be normal than you do not have the same number of iteration from one simulation to an other one. can you check using rand(seed,0) to force identical initial points for your various tests. Serge Steer Le 28/01/2013 16:18, Ezequiel

Re: [Scilab-users] Problem with ATOMS

2013-01-28 Thread Giovanni Tirelli
Hi, i've got the same error type in function plot of scilab 5.4 running over mountain lion e.g. (scilab help ode exampe) function ydot=f(t, y) ydot=y^2-y*sin(t)+cos(t) endfunction y0=0; t0=0; t=0:0.1:%pi; y=ode(y0,t0,t,f); plot(y,t) executing with echo: --function ydot=f(t, y) --

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

Re: [Scilab-users] Help files seem to be missing.

2013-01-28 Thread ledlighter
I reinstalled Scilab and everything works fine now. The new features and environment in this version are very nice. Thanks to all those who contributed to its development. As a user only, I am grateful. Best regards. -- View this message in context:

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread Berns Buenaobra
Hi Samuel: I'd like to understand the $ inside the would mean from the script? Thanks, Berns B. On Sun, Jan 27, 2013 at 12:46 AM, Samuel Gougeon sgoug...@free.fr wrote: Le 26/01/2013 17:00, constantina a écrit : Sorry, I know is a basic question, i now the answer in matlab but not in

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread Stefan Du Rietz
It means the last element of the vector/matrix. /Stefan On 2013-01-28 22:30, Berns Buenaobra wrote: Hi Samuel: I'd like to understand the $ inside the would mean from the script? Thanks, Berns B. On Sun, Jan 27, 2013 at 12:46 AM, Samuel Gougeon sgoug...@free.fr

Re: [Scilab-users] Peaks and positions

2013-01-28 Thread Berns Buenaobra
Thanks! Understood much better to ask some experienced fellow than dig in the pile of hay. Berms B. On Tue, Jan 29, 2013 at 6:03 AM, Samuel Gougeon sgoug...@free.fr wrote: Le 28/01/2013 22:30, Berns Buenaobra a écrit : Hi Samuel: I'd like to understand the $ inside the would mean from