MATLAB Source Codes


This is a collection of routines for use with MATLAB.

Available software includes:

  1. args, a program which shows how to count and report command line arguments;
  2. arpack, a library which computes eigenvalues and eigenvectors of large sparse matrices, accessible via the built-in EIGS command;
  3. asa005 a library which evaluates the lower tail of the noncentral Student's T distribution; this is Applied Statistics Algorithm 5;
  4. asa006 a library which computes the Cholesky factor of a positive definite symmetric matrix; this is Applied Statistics Algorithm 6;
  5. asa007 a library which computes the inverse of a positive definite symmetric matrix; this is Applied Statistics Algorithm 7;
  6. asa032 a library which evaluates the incomplete Gamma function; this is Applied Statistics Algorithm 32;
  7. asa047 a library which minimizes a scalar function of several variables using the Nelder-Mead algorithm; this is Applied Statistics Algorithm 47;
  8. asa058 a library which carries out clustering of data; this is Applied Statistics Algorithm 58;
  9. asa063 a library which evaluates the incomplete Beta function; this is Applied Statistics Algorithm 63;
  10. asa066 a library which computes the cumulative density function of the standard normal distribution; this is Applied Statistics Algorithm 66;
  11. asa076 a library which evaluates Owen's T function; this is Applied Statistics Algorithm 76;
  12. asa091, a library which computes the percentage points of the Chi-square distribution; this is Applied Statistics Algorithm 91;
  13. asa103, a library which evaluates the digamma or psi function; this is Applied Statistics Algorithm 103;
  14. asa109 a library which inverts the incomplete Beta function; this is Applied Statistics Algorithm 109;
  15. asa111 a library which evaluates the percentage points of the normal distribution; this is Applied Statistics Algorithm 111;
  16. asa113 a library which clusters data using the Banfield and Bassill transfer and swap algorithm; this is Applied Statistics Algorithm 113;
  17. asa121, a library which evaluates the trigamma function; this is Applied Statistics Algorithm 121;
  18. asa136 a library which clusters data using the Hartigan and Wong algorithm; this is Applied Statistics Algorithm 136;
  19. asa144 a library which randomly generates tables with given row and column sums; this is Applied Statistics Algorithm 144;
  20. asa147 a library which evaluates the incomplete Gamma function; this is Applied Statistics Algorithm 147;
  21. asa152, a library which evaluates point and cumulative probabilities associated with the hypergeometric distribution; this is Applied Statistics Algorithm 152;
  22. asa226 a library which evaluates the noncentral incomplete Beta function; this is Applied Statistics Algorithm 226;
  23. asa239 a library which evaluates the incomplete Gamma function; this is Applied Statistics Algorithm 239;
  24. asa241, a library which computes the inverse of the normal CDF; this is Applied Statistics Algorithm 241;
  25. asa243 a library which evaluates the lower tail of the noncentral Student's T distribution; this is Applied Statistics Algorithm 243;
  26. asa245 a library which evaluates the logarithm of the Gamma function; this is Applied Statistics Algorithm 245;
  27. asa299, a library which computes the lattice points (integer coordinates) in an M-dimensional simplex; this is Applied Statistics Algorithm 299;
  28. asa310 a library which evaluates the noncentral incomplete Beta function; this is Applied Statistics Algorithm 310;
  29. beta_nc, a library which evaluates the CDF of the noncentral Beta distribution;
  30. bezier_surface, a library which reads, writes, prints and manipulates the data that defines a Bezier surface;
  31. bezier_surface_display, a program which displays a Bezier surface;
  32. black_scholes, a library which implements some simple approaches to the Black-Scholes option valuation theory;
  33. blas1, a library which implements the Basic Linear Algebra Subprograms, level 1;
  34. blas1_c, a library which implements the Level 1 Basic Linear Algebra Subprograms, using single precision complex arithmetic;
  35. blas1_d, a library which implements the Level 1 Basic Linear Algebra Subprograms, using double precision real arithmetic;
  36. blas1_s, a library which implements the Level 1 Basic Linear Algebra Subprograms, using single precision real arithmetic;
  37. blas1_z, a library which implements the Level 1 Basic Linear Algebra Subprograms, using double precision complex arithmetic;
  38. box_plot, a program which displays a box plot of data that consists of pairs of integers;
  39. brent a library which contains Richard Brent's routines for finding zeroes or minima of functions, without the use of derivative information.
  40. cavity_flow_display, a library which displays a single velocity field solution for the driven cavity;
  41. cavity_flow_movie, a library which animates the velocity solutions for the driven cavity;
  42. cc_display, a program which displays the points used in a 2D Clenshaw-Curtis quadrature rule;
  43. ccvt_box, a program which calculates a constrained CVT for points constrained to lie in a box, with some points moved to the boundary;
  44. ccvt_reflect, a program which calculates a constrained CVT for points constrained to lie in a box, with some points "pushed" towards the boundary;
  45. cg_lab_triangles, a collection of programs associated with a computer lab assignment on computational geometry and triangles;
  46. chebyshev1_rule, a program which computes and writes out a Gauss-Chebyshev type 1 quadrature rule of given order.
  47. chebyshev2_rule, a program which computes and writes out a Gauss-Chebyshev type 2 quadrature rule of given order.
  48. chrpak, a library which manipulates characters and strings;
  49. claw_pix, a library which visualizes the output of of the 1D version of CLAWPACK;
  50. clawpack_plot, a library which visualizes the output of of CLAWPACK;
  51. clenshaw_curtis, a library which implements Clenshaw Curtis and Fejer quadrature;
  52. collatz, a library which computes and analyzes the Collatz sequence (or "hailstone" sequence or "3n+1 sequence");
  53. contour_sequence, a program which creates images suitable for animation from a sequence of (X,Y,U(X,Y)) data files;
  54. contour_sequence3, a program which creates images suitable for animation from one pair of X, Y files, and a sequence of U(X,Y) data files;
  55. contour_sequence4, a program which creates images suitable for animation from one XY file and a sequence of U(X,Y) data files;
  56. coordinate_search, a program which implements the coordinate search algorithm for the minimization of a scalar function of several variables.
  57. cordic, a library which computes a few special functions using the CORDIC algorithm.
  58. cvt, a library which computes an N-point Centroidal Voronoi Tesselation in M dimensions;
  59. cvt_1d_nonuniform, a program which computes an N-point Centroidal Voronoi Tesselation in 1 dimension, under a nonuniform density, and plots the evolution of the locations of the generators during the iteration;
  60. cvt_dataset a program which creates a CVT dataset;
  61. cvt_demo, a program which interactively, graphically demonstrates a CVT calculation;
  62. cvt_metric, a program which computes a CVT under a spatially varying metric;
  63. cvt_movie, a program which creates an animation of the evolution of a CVT;
  64. cvt_movie2, a program which creates a CVT movie;
  65. cvt_movie3, a program which creates a CVT movie in a region of unusual shape;
  66. cvt_movie4, a program which creates a CVT movie in a square, with a density function that drives points to the corners;
  67. cvt_movie5, a program which repeats cvt_movie3, but with hexagonal grid initialization, fixed points, and boundary projection;
  68. direction_arrows, a program which reads coordinate data from one file, velocity data from another file, and makes an arrow plot of the direction field.
  69. direction_arrows_grid, a program which reads velocity data at "scattered" points, and makes a direction vector plot on a uniform grid of user-specified density.
  70. direction_arrows_sequence, a program which reads a fixed coordinate file, and a sequence of velocity data files and makes a sequence of velocity direction arrow plots.
  71. direction_arrows_sequence2, a program which reads a sequence of coordinate and velocity data and makes a sequence of velocity direction arrow plots.
  72. direction_arrows2, a program which reads coordinate and velocity data from a single file and makes an arrow plot of the direction field.
  73. dist_plot, a program which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh code;
  74. distmesh, a library which carries out Persson and Strang's method of mesh generation;
  75. distmesh_3d, a library which constitutes the 3D subset of Persson and Strang's distmesh code;
  76. divdif, a library which constructs, evaluates and manipulates divided difference tables;
  77. dunavant, a library which defines Dunavant quadrature rules in a triangle;
  78. entrust, a library which uses trust-region methods to solve problems in scalar optimization or nonlinear least squares, by Borggaard and Cliff.
  79. faure, a library which computes the Faure M-dimensional quasirandom sequence;
  80. fd1d, a program which implements a finite difference algorithm for a 1D predator-prey system;
  81. fd1d_heat, a program which implements a finite difference solution of the 1D heat equation;
  82. fd1d_plot, a program which plots solutions from the FD1D program.
  83. fekete, a library which sets up one of seven Fekete rules for interpolation or quadrature in a triangle;
  84. fem_50, a program which implements a Finite Element Method solver using about 50 lines of MATLAB code;
  85. fem_50_heat, a program which is a version of fem_50 for the time-dependent heat equation;
  86. fem_basis_t3_display, a program which displays any single basis function associated with an arbitrary linear triangle ("T3") mesh;
  87. fem_basis_t6_display, a program which displays any single basis function associated with an arbitrary quadratic triangle ("T6") mesh;
  88. fem_io, a library which reads or writes FEM files, (three text files describing a finite element model);
  89. fem_sample, a library which samples a finite element function, defined by FEM files, (three text files describing the nodes, triangles, and coefficients); at arbitrary points.
  90. fem_to_tec, a program which reads a set of FEM files, (three text files describing a finite element model), and writes a TEC filesuitable for display by TECPLOT;
  91. fem1d, a program which applies the finite element method, using piecewise linear basis functions, to a linear two point boundary value problem in 1D;
  92. fem1d_adaptive, a program which uses an adaptive mesh when applying the finite element method, with piecewise linear basis functions, to a linear two point boundary value problem in 1D;
  93. fem1d_nonlinear, a program which applies the finite element method, with piecewise linear basis functions, to a nonlinear two point boundary value problem in 1D;
  94. fem1d_pmethod, a program which applies the p-method version of the finite element method to a linear two point boundary value problem in 1D;
  95. fem2d_heat, a program which applies the finite element method for the time-dependent heat equation on a triangulated square in 2D;
  96. fem2d_poisson, a program which applies the finite element method for Poisson's equation on a triangulated square in 2D;
  97. fempack, a library which performs simple finite element computations;
  98. ffh_sparse, a program which applies the finite element method to the heat equations on an arbitrary triangulated region in 2D. This is a special version of FREE_FEM_HEAT that uses MATLAB's sparse matrix features;
  99. ffns_sparse, a program which applies the finite element method to the steady incompressible Navier Stokes equations on an arbitrary triangulated region in 2D. This is a special version of FREE_FEM_NAVIER_STOKES that uses MATLAB's sparse matrix features;
  100. ffp_sparse, a program which applies the finite element method to the Poisson equations on an arbitrary triangulated region in 2D. This is a special version of FREE_FEM_POISSON that uses MATLAB's sparse matrix features;
  101. ffs_sparse, a program which is a finite element code for the steady incompressible Stokes equations on an arbitrary triangulated region in 2D. This is a special version of FREE_FEM_STOKES that uses MATLAB's sparse matrix features;
  102. filum, a library which handles files and filenames;
  103. free_fem_heat, a program which applies the finite element method to the time dependent heat equation on an arbitrary triangulated region in 2D;
  104. free_fem_navier_stokes, a program which applies the finite element method to the steady incompressible Navier Stokes equations on an arbitrary triangulated region in 2D;
  105. free_fem_poisson, a program which applies the finite element method to Poisson's equation on an arbitrary triangulated region in 2D;
  106. free_fem_stokes, a program which applies the finite element method for the steady incompressible Stokes equations on an arbitrary triangulated region in 2D;
  107. gegenbauer_rule, a program which computes and writes out a Gauss-Gegenbauer quadrature rule of given order.
  108. gen_hermite_rule, a program which computes and writes out a generalized Gauss-Hermite quadrature rule of given order and parameter value ALPHA.
  109. gen_laguerre_rule, a program which computes and writes out a generalized Gauss-Laguerre quadrature rule of given order and parameter value ALPHA.
  110. geometry, a library which performs 2D/3D geometric calculations;
  111. geompack, a library which computes the Delaunay triangulation for a set of points in 2D;
  112. gl_display, a program which displays the points used in a 2D Gauss-Legendre quadrature rule;
  113. gm_rules, a library which defines Grundmann-Moeller quadratures rules for an M-dimensional simplex.
  114. grid, a library which computes N random points on a uniform M dimensional grid;
  115. grid_dataset, a program which creates a grid dataset;
  116. halton, a library which calculates the Halton M-dimensional quasirandom sequence;
  117. halton_dataset, a program which creates N elements of an M dimensional Halton sequence and write them to a file.
  118. hammersley, a library which computes the Hammersley M-dimensional quasirandom sequence;
  119. hammersley_dataset, a program which creates N elements of an M dimensional Hammersley sequence and write them to a file.
  120. hb_io, a library which reads and writes files in the Harwell Boeing sparse matrix format;
  121. hb_to_msm, a program which converts a sparse matrix stored in a Harwell Boeing file to MATLAB sparse matrix format;
  122. hcell_flow_display, a program which plots the physical data, pressures or velocities, from a run of the HCELL program;
  123. hermite_phys_product, a library which writes out a table of the integrals of products of pairs of Hermite (physicist) polynomials with a linear or exponential weight.
  124. hermite_prob_product, a library which writes out a table of the integrals of products of pairs of Hermite (probabilist) polynomials with a linear or exponential weight.
  125. hermite_rule, a program which computes and writes out a Gauss-Hermite quadrature rule of given order.
  126. hex_grid, a library which generates a hexagonal grid of points in the unit square or an arbitrary rectangle;
  127. hex_grid_angle, a library which defines a hexagonal grid of points in the unit square, with an arbitrary center, angle, and spacing.
  128. hex_grid_dataset, a program which creates a hexagonal grid of points in a rectangle, and write them to a file, using the hex_grid library.
  129. histogram_display, a program which makes a bar plot of a set of data stored as columns in a file; the first column is the X values, and all the other columns are Y values to be shown as a stack of bars;
  130. hot_pipe, a program which demonstrates fem_50_heat to solve a particular heat equation problem;
  131. hot_point, a program which demonstrates fem_50_heat to solve a particular heat equation problem;
  132. ihs, a library which generates the Improved Distributed Hypercube Sampling M-dimensional quasirandom sequence;
  133. ihs_dataset, a program which creates an IHS dataset and writes it to a file;
  134. inout_flow_display, a library which displays a single velocity field solution for the INOUT flow;
  135. inout_flow_movie, a library which creates an animation of the velocity solutions for the INOUT cell;
  136. int_exactness, a program which tests the polynomial exactness of quadrature rules for a finite interval;
  137. int_exactness_chebyshev1, a program which tests the polynomial exactness of Gauss-Chebyshev type 1 quadrature rules.
  138. int_exactness_chebyshev2, a program which tests the polynomial exactness of Gauss-Chebyshev type 2 quadrature rules.
  139. int_exactness_gegenbauer, a program which tests the polynomial exactness of Gauss-Gegenbauer quadrature rules.
  140. int_exactness_gen_hermite, a program which tests the polynomial exactness of generalized Gauss-Hermite quadrature rules.
  141. int_exactness_gen_laguerre, a program which tests the polynomial exactness of generalized Gauss-Laguerre quadrature rules.
  142. int_exactness_hermite, a program which tests the polynomial exactness of Gauss-Hermite quadrature rules.
  143. int_exactness_jacobi, a program which tests the polynomial exactness of Gauss-Jacobi quadrature rules.
  144. int_exactness_laguerre, a program which tests the polynomial exactness of Gauss-Laguerre quadrature rules.
  145. int_exactness_legendre, a program which tests the polynomial exactness of Gauss-Legendre quadrature rules.
  146. jacobi_rule, a program which computes and writes out a Gauss-Jacobi quadrature rule of given order.
  147. keast, a library which defines Keast quadrature rules in a tetrahedron;
  148. kelley, a library which implements iterative methods for linear and nonlinear equations, by Tim Kelley;
  149. laguerre_product, a library which writes out a table of the integrals of products of pairs of Laguerre polynomials with a linear or exponential weight.
  150. laguerre_rule, a program which computes and writes out a Gauss-Laguerre quadrature rule of given order.
  151. latin_center, a library which computes N points in an M-dimensional Latin Center square;
  152. latin_edge, a library which returns N points in an M-dimensional Latin Edge square;
  153. latin_random, a library which returns N points in an M-dimensional Latin Random square;
  154. latinize, a program which adjusts N points in M dimensions to form a Latin hypercube;
  155. lcvt, a library which makes a sort of Latinized CVT (centroidal Voronoi tesselation);
  156. lcvt_dataset, a program which creates a Latinized CVT dataset;
  157. legendre_product, a library which writes out a table of the integrals of products of pairs of Legendre polynomials with a linear or exponential weight.
  158. legendre_rule, a program which writes out a Gauss-Legendre quadrature rule of given order.
  159. lemke, a library which implements Lemke's algorithm for the linear complementarity problem, by Paul Fackler and Mario Miranda.
  160. levels, a library which makes a contour plot, choosing the contour levels using random sampling.
  161. linpack, a library which constitutes a linear algebra library;
  162. linpack_bench, a program which is the LINPACK benchmark;
  163. linpack_bench_backslash, a program which is the LINPACK benchmark, using MATLAB's buildin "backslash" operator;
  164. linpack_c, a library which constitutes a linear algebra library for single precision complex arithmetic;
  165. linpack_d, a library which constitutes a linear algebra library for double precision real arithmetic;
  166. linpack_s, a library which constitutes a linear algebra library; for single precision real arithmetic;
  167. linpack_z, a library which constitutes a linear algebra library; for double precision complex arithmetic (NOTHING HERE)
  168. linplus, a library which factors/solves/multiplies matrices in a variety of formats;
  169. lorenz_demo, a program which computes and displays solutions of the Lorenz equations;
  170. machar, a library which dynamically computes the value of various machine characteristic constants;
  171. machine, a library which returns tabulated values of the constants associated with computer arithmetic
  172. matlab, examples which illustrate the use of MATLAB scripts and M-files;
  173. matlab_batch, examples which illustrate how MATLAB can be run in "batch" mode, that is, non-interactively, on a UNIX system;
  174. matlab_c, examples which illustrate how C functions can be written, compiled, and called from MATLAB using the MEX facility;
  175. matlab_f77, examples which illustrate how FORTRAN77 functions can be written, compiled, and called from MATLAB using MATLAB's mex facility;
  176. matlab_movies, examples which illustrate making movies using MATLAB;
  177. matlab_os, examples which illustrate how the system command can be used to allow MATLAB to issue commands to the computer operating system (UNIX or DOS);
  178. memory_test, a program which tests the memory available on the computer by declaring and using big vectors.
  179. mesh_bandwidth, a program which returns the geometric bandwidth associated with a mesh of elements of any order and in a space of arbitrary dimension.
  180. mgmres, a library which applies the restarted GMRES algorithm to a sparse linear system;
  181. mm_io, a library which reads and writes a Matrix Market Sparse Matrix File;
  182. msm_to_hb, a program which writes a MATLAB sparse matrix to a Harwell Boeing file;
  183. mxv, a program which compares the performance of (DO I, DO J) loops and (DO J, DO I ) loops for computing the product of an MxN matrix A and an N vector X.
  184. nast2d_contour, a program which reads a data file from NAST2D_F90 and creates a contour plot;
  185. nast2d_streak_display, a program which reads a streakline data file from NAST2D_F90 and displays an image of one time frame;
  186. nast2d_streak_movie, a program which reads a streakline data file from NAST2D_F90 and creates a movie;
  187. ncc_tetrahedron, a library which defines Newton-Cotes closed quadrature rules in a tetrahedron;
  188. ncc_triangle, a library which defines Newton-Cotes closed quadrature rules in a triangle;
  189. nco_tetrahedron, a library which defines Newton-Cotes open quadrature rules in a tetrahedron;
  190. nco_triangle, a library which defines Newton-Cotes open quadrature rules in a triangle;
  191. nelder_mead, a program which implements the Nelder-Mead algorithm for the minimization of a scalar function of several variables.
  192. nested_sequence_display, a program which displays a set of nested sequences.
  193. niederreiter2, a library which computes the Niederreiter M-dimensional quasirandom sequence, base 2;
  194. nint_exactness, a program which demonstrates how to test the polynomial exactness of a multidimensional quadrature rule;
  195. nint_exactness_tet, a program which tests the polynomial exactness of a quadrature rule for the tetrahedron;
  196. nint_exactness_tri, a program which tests the polynomial exactness of a quadrature rule for the triangle;
  197. nintlib, a library which carries out approximate integration (quadrature) in multiple dimensions;
  198. normal, a library which generates uniform pseudorandom numbers;
  199. optimal_control_1d, a program which seeks the optimal control function for a one dimensional system which is represented using the finite element formulation;
  200. owens a library which evaluates Owen's T function;
  201. pbma_io, a library which reads or writes an ASCII PBM; (Portable Bit Map) image file;
  202. pce_legendre, a program which assembles the system matrix associated with a polynomal chaos expansion of a 2D stochastic PDE, using Legendre polynomials;
  203. pgma_io, a library which reads or writes an ASCII PGM; (Portable Gray Map) image file;
  204. ply_io, a library which reads or writes a PLY file.
  205. ply_to_tri_mesh, a program which reads a PLY file, and extracts the surface mesh data as a TRI_MESH dataset.
  206. points_01_plot, a program which reads an ASCII file containing points in the unit square, and makes an Encapsulated PostScript image;
  207. points_display a program which reads a TABLE file containing the coordinates of points in 2D or 3D, and displays a plot of the points in a MATLAB graphics window;
  208. polking programs, DFIELD5 and PPLANE5, for direction fields and phase planes of differential equations;
  209. polpak a library which evaluates recursively defined polynomials and other special functions;
  210. polygonal_surface_display a program which displays a surface in 3D described as a set of polygons;
  211. power_method a library which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  212. ppma_io a library which reads or writes an ASCII PPM; (Portable Pixel Map) image file;
  213. prob a library which evaluates and samples various probability density functions;
  214. product_factor, a program which creates a multidimensional quadrature rule from a product of distinct 1d quadrature rules;
  215. product_rule a program which creates a multidimensional quadrature rule from a product of identical 1d quadrature rules;
  216. profile a directory of programs which illustrate the use of the MATLAB profile utlity, which monitors the execution of a series of MATLAB commands, and then produces a performance profile report afterwards.
  217. puzzles, executable programs which solve simple puzzles;
  218. quad_mesh_display, a program which plots piecewise bilinear data associated with a quadrilateral mesh;
  219. quadrature_test a program which reads the definition of a multidimensional quadrature rule from three files, applies the rule to a number of test integrals, and prints the results.
  220. quadrule a library which defines quadrature rules for approximating an integral;
  221. quadrule_fast a library which rapidly defines certain quadrature rules for approximating an integral;
  222. quality a library which measures the dispersion of pointsets in M dimensions;
  223. random_data, a library which generates sample points for various probability density functions, geometries, and dimensions;
  224. rcm, a library which applies the reverse Cuthill McKee algorithm for reordering the nodes of a graph, and reducing the bandwidth of a corresponding sparse matrix;
  225. region_sample, a program which returns sample points from a region;
  226. sandia_rules, a library which produces a standard 1D Gauss quadrature rule of Chebyshev, Gegenbauer, generalized Hermite, generalized Laguerre, Hermite, Jacobi, Laguerre, and Legendre types.
  227. sandia_sparse, a library which can produce a multidimensional sparse grid, based on a variety of 1D quadrature rules; only isotropic grids are generated, that is, the same rule is used in each dimension, and the same maximum order is used in each dimension.
  228. satisfiability is a program which demonstrates, for a particular circuit, an exhaustive search for solutions of the circuit satisfiability problem.
  229. sde, a library which illustrates the properties of stochastic differential equations, and common algorithms for their analysis, by Desmond Higham;
  230. sequence_streak_display, a program which displays a "streak plot" of a numeric sequence;
  231. sobol, a library which generates elements of the Sobol M-dimensional quasirandom sequence;
  232. sp_level_closed, a program which creates a sparse grid dataset based on closed rules (Clenshaw-Curtis, Newton-Cotes-Closed).
  233. sp_level_open, a program which creates a sparse grid dataset based on open rules (Fejer 1, Fejer 2, Gauss-Patterson, Newton-Cotes-Open, Newton-Cotes-Open-Half).
  234. sparse, a directory of example programs which illustrate the use of MATLAB's SPARSE matrix utilities;
  235. sparse_grid_cc, a library which creates sparse grids based on Clenshaw-Curtis rules.
  236. sparse_grid_cc_dataset, a program which creates sparse grids based on Clenshaw-Curtis rules.
  237. sparse_grid_closed, a library which creates sparse grids based on closed rules (Clenshaw-Curtis, Newton-Cotes-Closed).
  238. sparse_grid_display, a program which reads a file of points on a sparse grid, displays the grid and save the image in a PNG file;
  239. sparse_grid_gl, a library which creates sparse grids based on Gauss-Legendre rules.
  240. sparse_grid_gl_dataset, a program which creates a sparse grid dataset based on Gauss-Legendre rules.
  241. sparse_grid_hermite, a library which creates sparse grids based on Gauss-Hermite rules.
  242. sparse_grid_hermite_dataset, a program which creates a sparse grid dataset based on Gauss-Hermite rules.
  243. sparse_grid_laguerre, a library which creates sparse grids based on Gauss-Laguerre rules.
  244. sparse_grid_laguerre_dataset, a program which creates a sparse grid dataset based on Gauss-Laguerrre rules.
  245. sparse_grid_open, a library which creates sparse grids based on open rules (Fejer 1, Fejer 2, Gauss-Patterson, Newton-Cotes-Open, Newton-Cotes-Open-Half).
  246. sparse_grids_display, a program which reads two files of sparse grids, displaying the first with hollow blue dots, the second with solid red dots.
  247. spinterp, a library which carries out piecewise multilinear hierarchical sparse grid interpolation, by Andreas Klimke; ACM TOMS Algorithm 847.
  248. spline, a library which interpolates and approximates via splines;
  249. stla_display, a program which displays an STLA file (ASCII stereolithography 3D graphics file);
  250. stla_io, a library which reads and writes an STLA file (ASCII stereolithography 3D graphics file);
  251. stroud, a library which implements numerical integration over M-dimensional regions, including spheres, toruses and other shapes;
  252. subpak, a library which includes many utility routines;
  253. subset, a library which ranks, unranks, and generates random subsets, combinations, permutations, and so on;
  254. sudoku, a library which handles Sudoku puzzles;
  255. svd_basis, a program which applies the singular value decomposition to a collection of data vectors, extracting dominant modes;
  256. svd_demo, a program which demonstrates the calculation of the singular value decomposition and some of its properties;
  257. table_io, a library which reads and writes a simple TABLE file;
  258. table_latinize, a program which reads a TABLE file of N points in M dimensions, adjusts to form a Latin hypercube;
  259. table_merge, a program which reads a TABLE file of N points in M dimensions, removes duplicates or points that are closer than some tolerance, and writes the reduced set of points to a file.
  260. table_quality, a program which reads a TABLE file of N points in M dimensions, in the unit hypercube, and returns estimates of the quality of the point dispersion;
  261. table_read, a program which reads a TABLE file containing comment lines beginning with '#', and a matrix of data, one row per line;
  262. tcell_flow_display, a library which displays a single velocity field solution for the T cell;
  263. tcell_flow_movie, a library which creates an animation of the velocity solutions for the T cell;
  264. tcell_rom, a program which solves a reduced order model of a finite element solution of the Navier Stokes equations in a "T-Cell" flow region;
  265. tec_io, a library which reads or writes a TEC file containing finite element information;
  266. tec_to_fem, a program which reads a TEC file suitable for display by TECPLOT, extracts the information, and writes a corresponding set of FEM files, three text files describing the finite element model;
  267. templates, a library which carries out the iterative solution of linear systems;
  268. test_int_hermite, a library which implements test problems for approximate integration over an infinite interval.
  269. test_int_laguerre, a library which implements test problems for approximate integration over a semi-infinite interval.
  270. test_mat a library which defines a set of test matrices.
  271. test_matrix, a library which defines a set of test matrices and utilities, by Nick Higham;
  272. test_nint, a library which implements test problems for approximate integration (quadrature) in multiple dimensions.
  273. test_ode, a library which defines some sample ODE's for testing initial value problem solvers;
  274. test_tri_int, a library which implements test functions for integration over a triangle in 2 dimensions.
  275. test_triangulation, a library which defines test problems for triangulation;
  276. test_values, a library which returns selected values of some special functions;
  277. test_zero, a library which defines some functions f(x) suitable for testing software that solves f(x)=0;
  278. testpack a library which defines a set of test integrand functions by Alan Genz.
  279. tet_mesh a library which works with tetrahedral meshes in 3D;
  280. tet_mesh_display, a program which reads data defining a (small) tet mesh, displays a wireframe image of the nodes and edges;
  281. tet_mesh_l2q, a program which reads information about a 4-node (linear) tet mesh and creates data defining a corresponding 10-node (quadratic) tet mesh;
  282. tet_mesh_q2l, a program which reads information about a 10-node (quadratic) tet mesh and creates data defining a corresponding 4-node (linear) tet mesh;
  283. tet_mesh_quality, a program which computes various quality measures for a tet mesh of a set of nodes in 3D;
  284. tet_mesh_rcm, a program which computes the reverse Cuthill-McKee reordering for the nodes of a tet mesh that uses 4-node or 10-node tetrahedrons;
  285. tet_mesh_refine, a program which refines a tet mesh;
  286. tet_mesh_tet_neighbors, a program which reads information about a tet mesh and writes out a list of the tetrahedrons that are adjacent to a given tetrahedron;
  287. timer, examples which illustrate how to time a piece of code;
  288. timestamp, a library which prints the current YMDHMS date as a timestamp;
  289. toms178 a library which seeks the minimizer of a scalar function of several variables using the Hooke-Jeeves method;
    this is a MATLAB version of ACM TOMS algorithm 178.
  290. toms179 a library which calculates the incomplete Beta ratio;
    this is a MATLAB version of ACM TOMS algorithm 179.
  291. toms291 a library which approximates the logarithm of the Gamma function;
    this is a MATLAB version of ACM TOMS algorithm 291.
  292. tri_mesh_display, a program which displays a surface in 3D described as a mesh of triangles;
  293. tri_mesh_to_ply, a program which converts a TRI_MESH dataset to a dataset suitable for storage as a PLY file.
  294. triangulation, a library which computes the triangulation of a set of points in the plane, and to perform various operations using a triangulation;
  295. triangulation_boundary_nodes, a program which reads data defining a triangulation, determines which nodes lie on the boundary, and writes their coordinates to a file;
  296. triangulation_corner, a program which modifies triangulations in which one or more triangles have more than one boundary edge.
  297. triangulation_l2q, a program which reads information about a 3-node (linear) triangulation and creates data defining a corresponding 6-node (quadratic) triangulation;
  298. triangulation_mask, a program which reads a triangulation and calls a user-supplied routine to consider each triangle for deletion;
  299. triangulation_order1_display, a program which plots piecewise constant data associated with a triangulation;
  300. triangulation_order3_contour, a program which plots color contours of a scalar quantity evaluated at the nodes of a 3-node triangle triangulation.
  301. triangulation_order6_contour, a program which plots color contours of a scalar quantity evaluated at the nodes of a 6-node triangle triangulation.
  302. triangulation_orient, a program which ensures that the triangles in an order 3 or order 6 triangulation have positive orientation;
  303. triangulation_plot, a program which plots the nodes and elements of a triangulation;
  304. triangulation_q2l, a program which reads information about a 6-node triangulation and creates data defining a corresponding 3-node triangulation;
  305. triangulation_quality, a program which reads information about a triangulation and computes various quality measures;
  306. triangulation_rcm, a program which computes the reverse Cuthill-McKee reordering for the nodes of a triangulation that uses 3-node or 6-node triangles;
  307. triangulation_refine, a program which refines a triangulation;
  308. triangulation_triangle_neighbors, a program which reads data defining a triangulation, finds the three neighbor triangles for each triangle, and writes them to a file;
  309. tumor, a program which demonstrates a model of tumor growth;
  310. uniform, a library which computes N elements of a uniform pseudorandom sequence;
  311. uniform_dataset, a program which creates N elements of an M dimensional uniform pseudorandom sequence and writes them to a file.
  312. van_der_corput, a library which computes elements of the van der Corput 1-dimensional quasirandom sequence;
  313. van_der_corput_dataset, a program which creates N elements of a van der Corput sequence and writes them to a file.
  314. vector_magnitude_grid, a program which reads vector data at "scattered" points, computes an interpolatory function, evaluates it on a uniform grid of user-specified density, and produces a contour plot of the vector magnitude.
  315. vector_stream_grid, a program which reads vector data at "scattered" points, computes an interpolatory function, evaluates it on a uniform grid of user-specified density, and produces a streamline plot.
  316. velocity_arrows, a program which reads coordinate data and velocity data from two files and makes an arrow plot of the velocity field.
  317. velocity_arrows_grid, a program which reads node and velocity data, stored in two files, at "scattered" points, and makes a velocity vector plot on a uniform grid of user-specified density.
  318. velocity_arrows_grid_sequence2, a program which reads a single XYUV file of nodes and velocities, interpolates the data onto a smooth grid, plots the data and writes it to a PNG file, and then repeats the process for the next file.
  319. velocity_arrows_grid2, a program which reads node and velocity data, stored in one file, at "scattered" points, and makes a velocity vector plot on a uniform grid of user-specified density.
  320. velocity_arrows_sequence, a program which reads a fixed coordinate data file, and a sequence of velocity data files, and makes a sequence of velocity arrow plots.
  321. velocity_arrows_sequence2, a program which reads a single XYUV file of nodes and velocities, plots the data and writes it to a PNG file, and then repeats the process for the next file.
  322. velocity_arrows2, a program which reads coordinate and velocity data from a single file and makes an arrow plot of the velocity field.
  323. voronoi_mountains, a program which makes a "mountain plot" of a Voronoi diagram, that is, a surface plot of the distance from each point to its nearest Voronoi generator.
  324. voronoi_new, a program which is a revised version of MATLAB's voronoi command, and does a better job with the boundaries of the infinite regions;
  325. wandzura, a library which returns one of 6 Wandzura rules for quadrature in a triangle;
  326. ziggurat, a library which samples the uniform, normal or exponential distributions, using the ziggurat method.

You can go up one level to the main web page.


Last revised on 16 May 2008.