<div dir="ltr">Dear NCL,<div><br></div><div style>How can I change the values which are not associated with list of index to be missing values, for instance let&#39;s say I have set of data in array A, and list of index in array B,</div><div style>then I need to get array C where, the values of A which are not associated with indices in B, will be missing values?</div><div style><br></div><div style>A=(/1,12,3,14,5,26,7,18,9,10/) ;data</div><div style>B=(/1,3,5/) ;index</div><div style><br></div><div style>then, the result will be:</div><div style><br></div><div style>C=(/-999, 12, -999, 14,-999,26, -999, -999, -999, -999/)</div><div style><br></div><div style>Thank you.</div></div>