isnan

(method of quaternion)

check for nan values

Syntax

b = isnan(q)