Solved
filterNaN weirdness
- May 14, 2018
- 4 replies
- 6603 views
Hi,
I have a rather large matrix (1100 x 40) from which I tried to filter out the data that have NaN content, but to no avail.
When I searched for the problem in my code I found that the the filterNaN function sometimes didn't filter NaNs although the entite columns was filled with NaN. I tested this by checking whether the value is indeed NaN, which it is. Checking whether the same value is a scalar returned also a positive?!? (see attache sheet which contains a subset of that data).
Does anybody have an explanation for this contradiction and/or can tell me how to avoid this?
Thanks
Raiko




