标签: replace
i want to replace all the numeric values by 1 except 0. i am creating a matrix of zero and one. where zero is Nan and 1 is any number which is 1 or greater than one