help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replace NaN with 0


From: the_verge
Subject: replace NaN with 0
Date: Sat, 2 Dec 2006 17:40:38 -0800 (PST)

Hi, 

I was wondering if there is a quick way to replace NaNs in a vector with
zeros without running a loop on the vector and calling isnan() for each
element?

Thanks,
Vergil
-- 
View this message in context: 
http://www.nabble.com/replace-NaN-with-0-tf2745299.html#a7659602
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]