majeti dinesh <firstname.lastname@example.org> wrote in message <email@example.com>... > Yes I am using mexPrintf to display values from a mex file. I am also using sqrt function for the computation of the value which I am displaying. What should I do? > > Does anyone know when MATLAB gives the output 1.#QNAN0? What does it mean?