<div dir="ltr"><div>Dear NCL support,</div><div><br></div><div>is there any built-in function which can compare consecutive steps and assign true/false if difference is positive or negative? for example:<br></div><div>input  :1,2,3,2,-1,-1,2  <br></div><div>output:1,1,0,0, 1, 1</div><div><br></div><div>all the best!</div><div>Damjan<br></div></div>