Hi, all a vector such as (1,2,4,-1,NaN,2,4,NaN) if try to replace all the NaN with a numerical value, what's the easiest way? thanks a lot best yong