[Scilab-users] Peaks and positions

Dang, Christophe Christophe.Dang at sidel.com
Tue Jan 29 09:47:19 CET 2013


One more (rather big) detail,

the script I sent only works when the spike is in the 1st column
(which is the case of the data I use).

please replace

line 22 :
slope = abs(M(2:$, :) - M(1:$-1,:));

line 29 :
    if max(slope(i, :)) >= upperthreshold then

Regards

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the users mailing list