Constants and Test Matrices

Pi, Not-a-Number, infinity; Hadamard, Companion, Pascal, and other specialized matrices


epsFloating-point relative accuracy
flintmaxLargest consecutive integer in floating-point format
iImaginary unit
jImaginary unit
InfCreate array of all Inf values
piRatio of circle's circumference to its diameter
NaNCreate array of all NaN values
isfiniteArray elements that are finite
isinfArray elements that are infinite
isnanArray elements that are NaN
companCompanion matrix
galleryTest matrices
hadamardHadamard matrix
hankelHankel matrix
hilbHilbert matrix
invhilbInverse of Hilbert matrix
magicMagic square
pascalPascal matrix
rosserClassic symmetric eigenvalue test problem
toeplitzToeplitz matrix
vanderVandermonde matrix
wilkinsonWilkinson's eigenvalue test matrix


Missing Data in MATLAB

Handle missing values in data sets.