Use the isnan function to detect NaN s in an array. isnan([1 1 NaN NaN]) ans = 0 0 1 1. See Also. Inf , isnan ...
確定! 回上一頁