how do I get the “other” matrix where i have only the non-NaN values?
I tried
So = !isnan.(YY)
but that doesn’t work. I would do this in Matlab (with ~) and somehow I expected this to work because I have seen similar synthax in Julia, for example with findall for Cartesian Indices
CI_nan =findall(isnan,YYt) # works
CI_non = findall(!isnan,YYt) # also works
but I don’t seem to find the correct syntax for the bit matrix…
What I meant was that it would be possible to interpret (parse) !isnan.() as (!isnan).(), but it is actually parsed as !(isnan.()). I was wondering why that should be the case.