NaN in matrix

Xin Dong xdong at cse.unl.edu
Thu May 14 08:45:51 CDT 2009


Hi,

I wanna calculate the correlation of a matrix but I got a lot of NaN. I
guess the problem is that some of the elements are NaN. Because the matrix
is very big, I can't print it out to check. How can I know if there are NaNs
in the matrix? And if there are, how can I change them to 0?

Thanks,
Xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090514/c6354cec/attachment.html 


More information about the Help-octave mailing list