[Scilab-users] TR: Peaks and valleys [was: Forum dedicated to Scilab developments -> practical concern]

Dang Ngoc Chan, Christophe Christophe.Dang at sidel.com
Fri Oct 7 11:40:35 CEST 2016


Small error

> De : Dang Ngoc Chan, Christophe
> Envoyé : vendredi 7 octobre 2016 10:50
>
> band = (sign(Ysecond (1:$-1)).*sign(Ysecond (2:$))==1)

It's of course minus one

band = (sign(Ysecond (1:$-1)).*sign(Ysecond (2:$))==-1)

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