Miscellaneous Toolkit - Functions


The following functions are available:

miscellaneous

asciiPrint ASCII table.
cell2cellReturn a one-dimensional cell array, extending along dimension DIM, which con...
chebyshevpolyCompute the coefficients of the Chebyshev polynomial, given the ORDER.
clipClip X values outside the range.to the value at the boundary of the range.
colorboardDisplays a color board corresponding to a numeric matrix M.
csv2latexCreates a latex file from a csv file.
gameoflifeRuns the Conways' game of life from a given initial state for a given number ...
hermitepolyCompute the coefficients of the Hermite polynomial, given the ORDER.
hilbert_curveCreates an iteration of the Hilbert space-filling curve with N points.
hc2indConverts Hilbert curve to linear matrix indices.
idxmatrixCreate matrix of subindexes
infoskeletonGenerate TeXinfo skeleton documentation of PROTOTYPE.
laguerrepolyCompute the coefficients of the Laguerre polynomial, given the ORDER.
legendrepolyCompute the coefficients of the Legendre polynomial, given the ORDER.
matchmatch is filter, like Lisp's ( & numerous other language's ) function for Pyt...
normcNormalize the columns of a matrix to a length of 1 and return the matrix.
normrNormalize the rows of a matrix to a length of 1 and return the matrix.
nzeExtract nonzero elements of X.
partcntCalculate integer partition count.
partintCalculate all integer partitions.
peano_curveCreates an iteration of the Peano space-filling curve with N points.
physical_constantGet physical constant ARG.
read_optionsThe function read_options parses arguments to a function as, [ops,nread] = re...
reduceImplements the 'reduce' operator like in Lisp, or Python.
rolldicesReturns N random numbers from the 1:6 range, displaying a visual selection ef...
sampleReturn M unique random integer values from 0..N-1, sorted in ascending order.
slurp_fileslurp_file return a whole text file F as a string S.
solvesudokuSolves a classical 9x9 sudoku.
text_waitbarDisplay text-based waitbar/progress bar.
textableSave MATRIX in LaTeX format (tabular or array).
truncateTruncates X to ORDER of magnitude.
unitsReturn the conversion factor from FROMUNIT to TOUNIT measurements.
zagzigReturns zagzig walk-off of the elements of MTRX.
z_curveCreates an iteration of the Z-order space-filling curve with N points.
zigzagReturns zigzag walk-off of the elements of MTRX.