Re: [Scilab-users] find and locate local maxima

2021-03-17 Thread Stéphane Mottelet
Thanks Clément. Interested users can readily download the files if they want to test the implementation even if it has not been reviewed. Particularly, it has not been discussed if we want to stick to the Matlab's implementation and API for this particular feature. Comments are welcome. S.

Re: [Scilab-users] find and locate local maxima

2021-03-17 Thread Clément David
Hello all, I take your question as a way to explain / remind how we validate user contributions into the Scilab source code. Any change to the source code should be pushed to the codereview.scilab.org website (this is a gerrit instant, a git server that help reviewing changes). This help

Re: [Scilab-users] find and locate local maxima

2021-03-17 Thread Dang Ngoc Chan, Christophe
Hello, > De : users De la part de CHEZE David > 227480 Envoyé : mardi 16 mars 2021 14:53 > > I'm looking for function that could find and locate every local maxima > of any discrete time signal I suggest you to detect the local minima of the second derivative obtained by the Savitzky-Golay

Re: [Scilab-users] find and locate local maxima

2021-03-17 Thread CHEZE David 227480
Thank you all for your quick and rich solutions ! Indeed the Savitsky-Golay filters look especially good to properly smooth the data before hunting the remaining true extrema. Waiting for the coming next Scilab 6.1.0 that will include this feature, meanwhile I will give a try with more common

Re: [Scilab-users] Scilab stops calculus

2021-03-17 Thread Jean-Yves Baudais
Hi, Bad news for me, but good ones for Scilab. I checked the following code i=0; a=getdate(); while 1 then i=i+1; b=getdate()-a; mprintf("%d: %d/%d %d:%d:%d,%d\n",i,b([6,2,7:10])); sleep(1,"s"); end on two computers, desktop Ubuntu 16.04 Gnome X11 and laptop Ubuntu 18.04 Gnome X11,