nan

NaN function returns a matrix filled with the numerical representation of Not-a-Number.

Examples

> NaN(2)#

	NaN          NaN
	NaN          NaN
> NaN(2,3)#

	NaN          NaN          NaN
	NaN          NaN          NaN
> NaN([2,3])#

	NaN          NaN          NaN
	NaN          NaN          NaN

Resources

See also

inf | isfinite | isfloat | isnan