Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I'm starting to think that returning a undefined element in a matrix should return a zero, otherwise one would be required to deal with a NaN string.
Mike