MATLAB Source Codes


  1. allen_cahn_ode, a MATLAB code which sets up and solves the 1D Allen-Cahn reaction-diffusion ordinary differential equation (ODE).
  2. allen_cahn_ode_test
  3. alpert_rule, a MATLAB code which can set up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.
  4. alpert_rule_test
  5. analemma, a MATLAB code which evaluates the equation of time, a formula for the difference between the uniform 24 hour day and the actual position of the sun, based on a C program by Brian Tung.
  6. analemma_test
  7. annulus_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate the integral of a function over the interior of a circular annulus in 2D.
  8. annulus_monte_carlo_test
  9. annulus_rule, a MATLAB code which computes a quadrature rule for estimating integrals of a function over the interior of a circular annulus in 2D.
  10. annulus_rule_test
  11. approx_bernstein, a MATLAB code which interactively approximates a function f(x) in the interval [a,b] by constructing a Bernstein polynomial.
  12. approx_bernstein_test
  13. approx_chebyshev, a MATLAB code which interactively approximates a function f(x) in the interval [a,b] by constructing a Chebyshev polynomial interpolant that is often a good estimate of the minmax polynomial.
  14. approx_chebyshev_test
  15. approx_leastsquares, a MATLAB code which interactively approximates a function f(x) in the interval [a,b] by constructing an m-degree polynomial which minimizes the square root of the sum of the squares of the error with n sample data points.
  16. approx_leastsquares_test
  17. area_under_curve, a function which displays the area under a curve, that is, the points (x,y) between the x axis and the curve y=f(x).
  18. area_under_curve_test
  19. arenstorf_ode, a MATLAB code which describes an ordinary differential equation (ODE) which defines a stable periodic orbit of a spacecraft around the Earth and the Moon.
  20. arenstorf_ode_test
  21. args, a function which shows how to count and report command line arguments;
  22. args_test
  23. arpack_test
  24. asa005, a MATLAB code which evaluates the lower tail of the noncentral Student T distribution, by BE Cooper. This is a version of Applied Statistics Algorithm 5;
  25. asa005_test
  26. asa006, a MATLAB code which computes the Cholesky factor of a positive definite symmetric matrix, by Michael Healy; This is a version of Applied Statistics Algorithm 6;
  27. asa006_test
  28. asa007, a MATLAB code which computes the inverse of a positive definite symmetric matrix, by Michael Healy; This is a version of Applied Statistics Algorithm 7.
  29. asa007_test
  30. asa032, a MATLAB code which evaluates the incomplete Gamma function, by G Bhattacharjee. This is a version of Applied Statistics Algorithm 32;
  31. asa032_test
  32. asa047, a MATLAB code which minimizes a scalar function of several variables using the Nelder-Mead algorithm, by R ONeill. This is a version of Applied Statistics Algorithm 47;
  33. asa047_test
  34. asa053, a MATLAB code which produces sample matrices from the Wishart distribution, by William Smith and Ronald Hocking. This is a version of Applied Statistics Algorithm 53.
  35. asa053_test
  36. asa058, a MATLAB code which carries out clustering of data, by David Sparks. This is a version of Applied Statistics Algorithm 58;
  37. asa058_test
  38. asa063, a MATLAB code which evaluates the incomplete Beta function, by KL Majumder and G Bhattacharjee. This is a version of Applied Statistics Algorithm 63;
  39. asa063_test
  40. asa066, a MATLAB code which computes the cumulative density function (CDF) of the standard normal distribution, by David Hill. This is a version of Applied Statistics Algorithm 66;
  41. asa066_test
  42. asa076, a MATLAB code which evaluates the Owen T function, by Young and Minder. This is a version of Applied Statistics Algorithm 76;
  43. asa076_test
  44. asa082, a MATLAB code which computes the determinant of an orthogonal matrix; this is Applied Statistics Algorithm 82, by J C Gower.
  45. asa082_test
  46. asa091, a MATLAB code which computes the percentage points of the Chi-square distribution, by Best and Roberts. This is a version of Applied Statistics Algorithm 91;
  47. asa091_test
  48. asa103, a MATLAB code which evaluates the digamma or psi function, by Jose Bernardo. This is a version of Applied Statistics Algorithm 103;
  49. asa103_test
  50. asa109 a MATLAB code which inverts the incomplete Beta function, by Cran, Martin and Thomas. This is a version of Applied Statistics Algorithm 109;
  51. asa109_test
  52. asa111 a MATLAB code which evaluates the percentage points of the normal distribution, by Beasley and Springer. This is a version of Applied Statistics Algorithm 111;
  53. asa111_test
  54. asa113 a MATLAB code which clusters data using a transfer and swap algorithm, by Banfield and Bassill; This is a version of Applied Statistics Algorithm 113;
  55. asa113_test
  56. asa121, a MATLAB code which evaluates the trigamma function, by BE Schneider. This is a version of Applied Statistics Algorithm 121;
  57. asa121_test
  58. asa136, a MATLAB code which implements a clustering algorithm, by Hartigan and Wong. This is a version of Applied Statistics Algorithm 136;
  59. asa136_test
  60. asa144, a MATLAB code which randomly generates tables with given row and column sums, by James Boyett. This is a version of Applied Statistics Algorithm 144;
  61. asa144_test
  62. asa147, a MATLAB code which evaluates the incomplete Gamma function, by Chi Leung Lau. This is a version of Applied Statistics Algorithm 147;
  63. asa147_test
  64. asa152, a MATLAB code which evaluates the probability density function (PDF) and cumulative density function (CDF) associated with the hypergeometric distribution, by Richard Lund; This is a version of Applied Statistics Algorithm 152;
  65. asa152_test
  66. asa159, a MATLAB code which computes a random table with given row and column sums, by Michael Patefield; This is a version of Applied Statistics Algorithm 159;
  67. asa159_test
  68. asa172, a MATLAB code which generates all M dimensional indices in a given range, simulating the behavior of an arbitrary number of nested loops, by OFlaherty and MacKenzie; this is a version of Applied Statistics Algorithm 172;
  69. asa172_test
  70. asa183, a MATLAB code which implements a random number generator (RNG), by Wichman and Hill; this is a version of Applied Statistics Algorithm 183;
  71. asa183_test
  72. asa226, a MATLAB code which evaluates the noncentral incomplete Beta function, by Russell Lenth; this is a version of Applied Statistics Algorithm 226;
  73. asa226_test
  74. asa239, a MATLAB code which evaluates the incomplete Gamma function, by Shea; this is a version of Applied Statistics Algorithm 239;
  75. asa239_test
  76. asa241, a MATLAB code which computes the inverse of the normal cumulative density function (CDF), by Michael Wichura; this is a version of Applied Statistics Algorithm 241;
  77. asa241_test
  78. asa243, a MATLAB code which evaluates the lower tail of the noncentral Student T distribution, by Russell Lenth; this is a version of Applied Statistics Algorithm 243;
  79. asa243_test
  80. asa245, a MATLAB code which evaluates the logarithm of the Gamma function, by Allan Mcleod; this is a version of Applied Statistics Algorithm 245;
  81. asa245_test
  82. asa266, a MATLAB code which evaluates various properties of the Dirichlet probability density function (PDF); this is a version of Applied Statistics Algorithm 266;
  83. asa266_test
  84. asa299, a MATLAB code which computes the lattice points (integer coordinates) in an M dimensional simplex, by Chasalow and Brand; this is a version of Applied Statistics Algorithm 299;
  85. asa299_test
  86. asa310, a MATLAB code which evaluates the noncentral incomplete Beta function, by Chattamvelli and Shanmugam. This is a version of Applied Statistics Algorithm 310;
  87. asa310_test
  88. asa314, a MATLAB code which computes the inverse of a matrix whose elements are subject to modulo arithmetic, by Roger Payne. This is a version of Applied Statistics Algorithm 314.
  89. asa314_test
  90. atbash, a MATLAB code which applies the Atbash substitution cipher to a string of text.
  91. atbash_test
  92. atkinson, a MATLAB code which contains examples from the text "Elementary Numerical Analysis", by Atkinson.
  93. atkinson_test
  94. backtrack_binary_rc, a MATLAB code which carries out a backtrack search for a set of binary decisions, using reverse communication (RC).
  95. backtrack_binary_rc_test
  96. ball_and_stick_display, a MATLAB code which demonstrates the creation of a 3D image constructed from balls and sticks;
  97. ball_and_stick_display_test
  98. ball_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the interior of the unit ball in 3D.
  99. ball_distance_test
  100. ball_grid, a MATLAB code which computes a grid of points over the interior of the unit ball in 3D.
  101. ball_grid_test
  102. ball_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit ball in 3D.
  103. ball_integrals_test
  104. ball_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit ball in 3D;
  105. ball_monte_carlo_test
  106. bank, a MATLAB code which computes the check digit associated with a US Bank Routing Number check digit, or reports whether a 9-digit code is actually valid.
  107. bank_test
  108. barycentric_interp_1d, a MATLAB code which defines and evaluates the barycentric Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i). The barycentric approach means that very high degree polynomials can safely be used.
  109. barycentric_interp_1d_test
  110. bellman_ford, a MATLAB code which implements the Bellman-Ford algorithm for finding the shortest distance from a given node to all other nodes in a directed graph whose edges have been assigned real-valued lengths.
  111. bellman_ford_test
  112. bernstein_approximation, a MATLAB code which looks at some simple cases of approximation of a function f(x) by a Bernstein polynomial.
  113. bernstein_approximation_test
  114. bernstein_polynomial, a MATLAB code which evaluates the Bernstein polynomials;
  115. bernstein_polynomial_test
  116. besselj, a MATLAB code which evaluates Bessel J functions of noninteger order;
  117. besselj_test
  118. besselzero, a MATLAB code which computes the zeros of Bessel functions j or y, by Greg van Winckel and Jason Nicholson.
  119. besselzero_test
  120. beta_nc, a MATLAB code which evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
  121. beta_nc_test
  122. bezier_surface, a MATLAB code which reads, writes, prints and manipulates the data that defines a Bezier surface;
  123. bezier_surface_test
  124. bezier_surface_display, a MATLAB code which displays a Bezier surface;
  125. bezier_surface_display_test
  126. bicg, a MATLAB code which implements the biconjugate gradient method (BICG), which estimates the solution of a large sparse nonsymmetric linear system.
  127. bicg_test
  128. bicycle_lock, a MATLAB code which simulates the process of determining the secret combination of a bicycle lock, an integer between 000 and 999.
  129. bicycle_lock_test
  130. biochemical_linear_ode, a MATLAB code which defines a linear biochemical ordinary differential equation (ODE).
  131. biochemical_linear_ode_test
  132. biochemical_nonlinear_ode, a MATLAB code which defines a nonlinear biochemical ordinary differential equation (ODE).
  133. biochemical_nonlinear_ode_test
  134. bisection_integer, a MATLAB code which seeks an integer solution to the equation F(X)=0, using bisection within a user-supplied change of sign interval [a,b].
  135. bisection_integer_test
  136. bisection_rc, a MATLAB code which seeks a solution to the equation F(X)=0 using bisection within a user-supplied change of sign interval [a,b]. The procedure is written using reverse communication (RC).
  137. bisection_rc_test
  138. black_scholes, a MATLAB code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
  139. black_scholes_test
  140. blas0, a MATLAB code which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
  141. blas0_test
  142. blas1_d, a MATLAB code which implements the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic;
  143. blas1_d_test
  144. blas1_z, a MATLAB code which implements the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision complex arithmetic;
  145. blas1_z_test
  146. blas2_d, a MATLAB code which contains the Level 2 Basic Linear Algebra Subprograms (BLAS) for matrix-vector operations, using double precision real arithmetic.
  147. blas2_d_test
  148. blas3_d, a MATLAB code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS), for matrix-matrix operations using double precision real arithmetic.
  149. blas3_d_test
  150. blend, a MATLAB code which carries out 1D/2D/3D blending interpolation;
  151. blend_test
  152. blsprice_test
  153. boundary_locus, a MATLAB code which uses the boundary locus method to display the region of absolute stability for a solver of ordinary differential equations (ODE).
  154. boundary_locus_test
  155. boundary_locus2, a MATLAB code which uses the boundary locus method to display the region of absolute stability for a solver of ordinary differential equations (ODE), based on a procedure by Randall Leveque.
  156. boundary_locus2_test
  157. boundary_word, a MATLAB code which works with a polyomino that is described by its boundary word, a sequence of U/D/L/R symbols that indicate how to trace out its boundary.
  158. boundary_word_test
  159. box_behnken, a MATLAB code which computes a Box-Behnken design, that is, a set of arguments to sample the behavior of a function of multiple parameters;
  160. box_behnken_test
  161. box_display, a MATLAB code which displays a box plot, over integer pairs of data, of a function defined by two formulas.
  162. box_display_test
  163. box_flow, a MATLAB code which solves the Navier Stokes equations (NSE), replacing the continuity equation with a pressure Poisson equation (PPE), by John Cornthwaite.
  164. box_flow_test
  165. box_games, a MATLAB code which assists in the display of game boards (checkers, cellular automatons, life);
  166. box_games_test
  167. box_plot, a MATLAB code which displays a box plot of data that consists of pairs of integers;
  168. box_plot_test
  169. brain_sensor_pod, a MATLAB code which applies the method of Proper Orthogonal Decomposition (POD) to seek underlying patterns in sets of 40 sensor readings of brain activity.
  170. brain_sensor_pod_test
  171. brent, a MATLAB code which contains routines for finding zeroes or minima of a scalar function of a scalar variable, without the use of derivative information, including a reverse communication (RC) option, by Richard Brent.
  172. brent_test
  173. brownian_motion_simulation, a MATLAB code which simulates Brownian motion in an M dimensional region.
  174. brownian_motion_simulation_test
  175. brusselator_ode, a MATLAB code which defines the Brusselator ordinary differential equation (ODE) system.
  176. brusselator_ode_test
  177. buckling_spring, a MATLAB code which plots solutions of the buckling spring equations.
  178. buckling_spring_test
  179. burgers_solution, a MATLAB code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
  180. burgers_solution_test
  181. burgers_steady_viscous, a MATLAB code which solves the steady (time-independent) viscous Burgers equation using the finite difference method (FDM) applied to the conservative form of the equation, using the Newton method to solve the resulting nonlinear system.
  182. burgers_steady_viscous_test
  183. burgers_time_inviscid, a MATLAB code which solves the time-dependent inviscid Burgers equation using the finite difference method (FDM), and one of six solution methods selected by the user.
  184. burgers_time_inviscid_test
  185. burgers_time_viscous, a MATLAB code which solves the time-dependent viscous Burgers equation using the finite difference method (FDM) applied to the conservative form of the equation.
  186. burgers_time_viscous_test
  187. bvec, a MATLAB code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.
  188. bvec_test
  189. bvp_fd_test, a MATLAB code which demonstrates the use of the finite element method to solve a boundary value problem (BVP).
  190. bvp4c_test
  191. bvp_shooting_test, a MATLAB code which demonstrates the use of the shooting method to solve a boundary value problem (BVP).
  192. bvp4c_test
  193. c8lib, a MATLAB code which implements certain elementary functions for double precision complex ("C8") variables;
  194. c8lib_test
  195. caesar, a MATLAB code which can apply a Caesar Shift Cipher to a string of text.
  196. caesar_test
  197. calendar_nyt, a MATLAB code which shows the correspondence between dates and the New York Times volume and issue number;
  198. calendar_nyt_test
  199. calpak, a MATLAB code which makes various calendar calculations;
  200. calpak_test
  201. cauchy_principal_value, a MATLAB code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
  202. cauchy_principal_value_test
  203. cavity_flow_display, a MATLAB code which displays a single velocity field solution for the driven cavity;
  204. cavity_flow_display_test
  205. cavity_flow_movie, a MATLAB code which animates the velocity solutions for the driven cavity;
  206. cc_display, a MATLAB code which displays the points used in a 2D Clenshaw-Curtis quadrature rule;
  207. cc_display_test
  208. cc_project, a MATLAB code which investigates generalized Clenshaw-Curtis quadrature rules for semi-infinite and infinite intervals, by John Boyd.
  209. cc_project_test
  210. ccl_test, a MATLAB code which estimates the Lebesgue constants for sets of points in [-1,+1] computed in several ways. The program is probably of limited interest except as an example of an application of the lebesgue_constant() function.
  211. ccn_rule, a MATLAB code which defines a Clenshaw Curtis Nested (CCN) quadrature rule.
  212. ccn_rule_test
  213. ccs_io a MATLAB code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
  214. ccs_io_test
  215. ccs_to_st a MATLAB code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
  216. ccs_to_st_test
  217. ccvt_reflect, a MATLAB code which calculates a Constrained Centroidal Voronoi Tessellation (CCVT) for points constrained to lie in a box, with some points pushed towards the boundary;
  218. ccn_reflect_test
  219. cell, a MATLAB code which defines a cell array, a generalization of an array which can compactly store and retrieve vector or matrix data of varying size, such as the rows of a triangular matrix.
  220. cell_test
  221. cellular_automaton, a MATLAB code which demonstrates the 1D Cellular Automaton known as rule #30.
  222. cellular_automaton_test
  223. cg, a MATLAB code which implements a simple version of the conjugate gradient (CG) method for solving a system of linear equations of the form A*x=b, suitable for situations in which the matrix A is symmetric positive definite (SPD).
  224. cg_test
  225. cg_lab_triangles, a collection of programs associated with a computer lab assignment on computational geometry and triangles;
  226. cg_rc, a MATLAB code which implements the conjugate gradient (CG) method for solving a symmetric positive definite (SPD) sparse linear system A*x=b, using reverse communication (RC).
  227. cg_rc_test
  228. cg_squared, a MATLAB code which implements the conjugate gradient squared (CGS) method for solving a nonsymmetric sparse linear system A*x=b.
  229. cg_squared_test
  230. cgne, a MATLAB code which implements the conjugate gradient method (CG) for the normal equations, where the matrix A is not symmetric positive definite (SPD). In this case, it is attempted to set up and solve the normal equations A'*A*x=A'*b.
  231. cgne_test
  232. chain_letter_tree, a MATLAB code which analyzes a similarity matrix for 11 versions of a single chain letter and produces a dendrogram or tree diagram that suggests the degrees of relatedness and the evolutionary history of the letters.
  233. change_making, a MATLAB code which considers the change making problem, in which a given sum is to be formed using coins of various denominations.
  234. change_making_test
  235. chebyshev, a MATLAB code which computes the Chebyshev interpolant/approximant to a given function over an interval.
  236. chebyshev_test
  237. chebyshev_interp_1d, a MATLAB code which determines the combination of Chebyshev polynomials which interpolates a set of data, so that p(x(i)) = y(i).
  238. chebyshev_interp_1d_test
  239. chebyshev_polynomial, a MATLAB code which considers the Chebyshev polynomials T(i,x), U(i,x), V(i,x) and W(i,x).
  240. chebyshev_polynomial_test
  241. chebyshev_series, a MATLAB code which can evaluate a Chebyshev series approximating a function f(x), while efficiently computing one, two or three derivatives of the series, which approximate f'(x), f''(x), and f'''(x), by Manfred Zimmer.
  242. chebyshev_series_test
  243. chebyshev1_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Chebyshev type 1 quadrature rules.
  244. chebyshev1_exactness_test
  245. chebyshev1_rule, a MATLAB code which computes and writes out a Gauss-Chebyshev type 1 quadrature rule of given order.
  246. chebyshev1_rule_test
  247. chebyshev2_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Chebyshev type 2 quadrature rules.
  248. chebyshev2_exactness_test
  249. chebyshev2_rule, a MATLAB code which computes and writes out a Gauss-Chebyshev type 2 quadrature rule of given order.
  250. chebyshev2_rule_test
  251. cheney_kincaid, a MATLAB code which contains examples from the text "Numerical Mathematics and Computing", by Cheney and Kincaid.
  252. chrpak, a MATLAB code which manipulates characters and strings;
  253. chrpak_test
  254. chuckaluck_simulation, a MATLAB code which simulates the Chuck-a-Luck gambling game.
  255. chuckaluck_simulation_test
  256. circle_arc_grid, a MATLAB code which computes grid points along a circular arc.
  257. circle_arc_grid_test
  258. circle_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected on the circumference of the unit circle in 2D.
  259. circle_distance_test
  260. circle_grid_display a MATLAB code which reads a matrix of integers, and draws a corresponding grid of circles filled with color.
  261. circle_grid_display_test
  262. circle_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the circumference of the unit circle in 2D.
  263. circle_integrals_test
  264. circle_map, a MATLAB code which illustrates how a matrix maps points on the unit circle to an ellipse.
  265. circle_map_test
  266. circle_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function along the circumference of the unit circle in 2D;
  267. circle_monte_carlo_test
  268. circle_rule, a MATLAB code which computes quadrature rules for the unit circle in 2D, that is, the circumference of the circle of radius 1 and center (0,0).
  269. circle_rule_test
  270. circle_segment, a MATLAB code which carries out computations associated with a circle segment, including height, angle, area, centroid, sampling, and quadrature.
  271. circle_segment_test
  272. circles, a MATLAB code which can be used, when creating graphics, to draw one or more circles, while controlling the center locations, radii, colors, edge colors, and transparency, by Chad Greene.
  273. circles_test
  274. cities, a MATLAB code which works with city-to-city distance matrices;
  275. cities_test
  276. clausen, a MATLAB code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
  277. clausen_test
  278. clenshaw_curtis_rule, a MATLAB code which implements a Clenshaw Curtis quadrature rule;
  279. clenshaw_curtis_rule_test
  280. cnoise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law, by Miroslav Stoyanov.
  281. cnoise_test
  282. cobweb_plot, a MATLAB code which displays a cobweb plot illustrating the process of function iteration.
  283. cobweb_plot_test
  284. coin_simulation, a MATLAB code which looks at ways of simulating or visualizing the results of many tosses of a fair or biased coin.
  285. coin_simulation_test
  286. collatz, a MATLAB code which computes and analyzes the Collatz sequence, also known as the hailstone sequence or 3n+1 sequence;
  287. collatz_test
  288. collatz_recursive, a MATLAB code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
  289. collatz_recursive_test
  290. collocation, a MATLAB code which demonstrates the use of collocation to produce a function g(x) that satisfies the same constraints as a function f(x), but only at a discrete set of points.
  291. collocation_test
  292. colored_noise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law.
  293. colored_noise_test
  294. combination_lock, a MATLAB code which simulates the process of determining the secret combination of a lock.
  295. combination_lock_test
  296. combo, a MATLAB code which includes routines for ranking, unranking, enumerating and randomly selecting balanced sequences, cycles, graphs, Gray codes, subsets, partitions, permutations, restricted growth functions, Pruefer codes and trees.
  297. combo_test
  298. compass_search, a MATLAB code which seeks the minimizer of a scalar function of several variables using compass search, a direct search algorithm that does not use derivatives.
  299. compass_search_test
  300. complex_numbers_test
  301. complexity_test
  302. condition, a MATLAB code which implements methods of computing or estimating the condition number of a matrix.
  303. condition_test
  304. conte_deboor, a MATLAB code which contains examples from Conte and deBoor's Elementary Numerical Analysis text.
  305. conte_deboor_test
  306. continuation, a MATLAB code which implements the continuation method for a simple 2D problem.
  307. continuation_test
  308. continued_fraction a MATLAB code which implements some simple algorithms for dealing with simple and generalized continued fractions.
  309. continued_fraction_test
  310. contour_gradient, a MATLAB code which displays contours and gradient vectors for a function f(x,y).
  311. contour_gradient_test
  312. contour_gradient_3d, a MATLAB code which displays contours and gradient vectors for a function f(x,y) in a 3D display.
  313. contour_gradient_3d_test
  314. contour_sequence4, a MATLAB code which creates images suitable for animation from one XY file and a sequence of u(x,y) data files;
  315. contour_sequence4_test
  316. convex_hull, a MATLAB code which demonstrates the computation of the convex hull of a set of 2D points.
  317. convex_hull_test
  318. coordinate_search, a MATLAB code which seeks the minimizer of a scalar function of several variables, by Jeff Borggaard.
  319. coordinate_search_test
  320. cordic, a MATLAB code which computes a few special functions using the CORDIC algorithm.
  321. cordic_test
  322. correlation, a MATLAB code which contains statistical correlation functions.
  323. correlation_test
  324. cosine_transform, a MATLAB code which demonstrates some simple properties of the discrete cosine transform (DCT).
  325. cosine_transform_test
  326. counterfeit_detection, a MATLAB code which considers problems in which one or more counterfeit coins are to be identified by the fact that they do not have the standard weight.
  327. counterfeit_detection_test
  328. cplex_solution_read, a MATLAB code which extracts solution data from a CPLEX result file.
  329. cplex_solution_read_test
  330. cube_arbq_rule, a MATLAB code which returns quadrature rules, with exactness up to total degree 15, over the interior of the symmetric cube in 3D, by Hong Xiao and Zydrunas Gimbutas.
  331. cube_arbq_rule_test
  332. cube_display, a MATLAB code which displays a cube plot, over integer triples of data, of a function defined by two formulas, using plotcube.m, by Thomas Montagnon.
  333. cube_display_test
  334. cube_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the interior of the unit cube in 3D.
  335. cube_distance_test
  336. cube_exactness, a MATLAB code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
  337. cube_exactness_test
  338. cube_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a cube in 3D.
  339. cube_felippa_rule_test
  340. cube_grid, a MATLAB code which computes a grid of points over the interior of a cube in 3D.
  341. cube_grid_test
  342. cube_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit cube in 3D.
  343. cube_integrals_test
  344. cube_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit cube in 3D.
  345. cube_monte_carlo_test
  346. cuda_loop, a MATLAB code which shows how, in a CUDA program, the choice of block and thread factors determines the allocation of tasks to processors.
  347. cuda_loop_test
  348. cvt, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) in M dimensions;
  349. cvt_test
  350. cvt_1d_lloyd, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using the Lloyd method to compute the Voronoi regions exactly.
  351. cvt_1d_lloyd_test
  352. cvt_1d_lumping, a MATLAB code which allows the user to carry out a lumped version of the Lloyd iterative algorithm for a centroidal Voronoi Tessellation (CVT() in the interval [-1,+1], and is applied to investigate a relationship between a CVT and the Chebyshev Zero nodes.
  353. cvt_1d_lumping_test
  354. cvt_1d_nonuniform, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) in 1 dimension, under a nonuniform density, and plots the evolution of the locations of the generators during the iteration;
  355. cvt_1d_nonuniform_test
  356. cvt_1d_sampling, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the interval [0,1], under a uniform density, using sampling to estimate the Voronoi regions.
  357. cvt_1d_sampling_test
  358. cvt_2d_lumping, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit square [-1,1]^2, under a Chebyshev density, using weighted sampling ("lumping") to estimate the Voronoi regions.
  359. cvt_2d_lumping_test
  360. cvt_2d_sampling, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit square [0,1]x[0,1], under a uniform density, using sampling to estimate the Voronoi regions.
  361. cvt_2d_sampling_test
  362. cvt_3d_lumping, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit cube [-1,1]^3, under a Chebyshev density, using weighted sampling ("lumping") to estimate the Voronoi regions.
  363. cvt_3d_lumping_test
  364. cvt_3d_sampling, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) within the unit cube [0,1]x[0,1]x[0,1], under a uniform density, using sampling to estimate the Voronoi regions.
  365. cvt_3d_sampling_test
  366. cvt_box, a MATLAB code which calculates a Centroidal Voronoi Tessellation (CVT) for points constrained to lie in a box, with some points moved to the boundary;
  367. cvt_box_test
  368. cvt_circle_nonuniform, a MATLAB code which demonstrates the computation of a centroidal Voronoi Tessellation (CVT) over a circular region, using a nonuniform density.
  369. cvt_circle_nonuniform_test
  370. cvt_circle_uniform, a MATLAB code which demonstrates the computation of a centroidal Voronoi Tessellation (CVT) over a circular region, using a uniform density.
  371. cvt_circle_uniform_test
  372. cvt_corn, a MATLAB code which studies a 2D model of the growth of a corn kernel, by treating the surface and interior biological cells as points to be organized by a Centroidal Voronoi Tessellation (CVT) with a nonuniform density; during a sequence of growth steps, new biological cells are randomly added to the surface and interior.
  373. cvt_ellipse_uniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over an ellipse, with a uniform density.
  374. cvt_ellipse_uniform_test
  375. cvt_example_fifty_points, a MATLAB code which illustrates the steps involved in the calculation of a Centroidal Voronoi Tessellation (CVT) of the unit square, with 50 generator points.
  376. cvt_example_five_points, a MATLAB code which illustrates the steps involved in the calculation of a Centroidal Voronoi Tessellation (CVT) of the unit square, with 5 generator points.
  377. cvt_metric, a MATLAB code which computes a Centroidal Voronoi Tessellation (CVT) under a spatially varying metric;
  378. cvt_metric_test
  379. cvt_movie, a MATLAB code which creates an animation of the evolution of a Centroidal Voronoi Tessellation (CVT);
  380. cvt_movie2, a MATLAB code which creates a Centroidal Voronoi Tessellation (CVT) movie;
  381. cvt_movie3, a MATLAB code which creates a Centroidal Voronoi Tessellation (CVT) movie in a region of unusual shape;
  382. cvt_movie4, a MATLAB code which creates a Centroidal Voronoi Tessellation (CVT) movie in a square, with a density function that drives points to the corners;
  383. cvt_movie5, a MATLAB code which repeats cvt_movie3, but with hexagonal grid initialization, fixed points, and boundary projection;
  384. cvt_square_nonuniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a nonuniform density.
  385. cvt_square_nonuniform_test
  386. cvt_square_pdf_discrete, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a density determined from a discrete PDF.
  387. cvt_square_pdf_discrete_test
  388. cvt_square_uniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a uniform density.
  389. cvt_square_uniform_test
  390. cvt_triangle_uniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a triangle, with a uniform density.
  391. cvt_triangle_uniform_test
  392. cvtm_1d, a MATLAB code which estimates a mirror-periodic centroidal Voronoi Tessellation (CVTM) in the periodic interval [0,1], using a version of the Lloyd iteration.
  393. cvtm_1d_test
  394. cvtp, a MATLAB code which creates a CVTP dataset, that is, a Centroidal Voronoi Tessellation on a periodic region.
  395. cvtp_test
  396. cvtp_1d, a MATLAB code which estimates a periodic centroidal Voronoi Tessellation (CVTP) in the periodic interval [0,1], using a version of the Lloyd iteration.
  397. cvtp_1d_test
  398. cycle_brent, a MATLAB code which carries out an iterated function evaluation, and seeks to determine the nearest element of a cycle, and the cycle length, using the Brent method.
  399. cycle_brent_test
  400. cycle_floyd, a MATLAB code which carries out an iterated function evaluation, and seeks to determine the nearest element of a cycle, and the cycle length, using the Floyd method.
  401. cycle_floyd_test
  402. cyclic_reduction, a MATLAB code which solves a tridiagonal linear system using cyclic reduction;
  403. cyclic_reduction_test
  404. dfield9, a MATLAB code which allows a user to interactively specify the right hand side of an ordinary differential equation (ODE). The program then displays the corresponding direction field. If the user clicks on any point in the image as an initial condition, the program displays the corresponding solution curve. The original version of this code was by John Polking.
  405. dg1d_advection, a MATLAB code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the advection equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  406. dg1d_advection_test
  407. dg1d_burgers, a MATLAB code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the unsteady 1D Burgers equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  408. dg1d_burgers_test
  409. dg1d_heat, a MATLAB code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the unsteady 1D heat equation. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  410. dg1d_heat_test
  411. dg1d_maxwell, a MATLAB code which uses the Discontinuous Galerkin Method (DG) to approximate a solution of the Maxwell equations. The original version of the code was written by Jan Hesthaven and Tim Warburton.
  412. dg1d_maxwell_test
  413. dg1d_poisson, a MATLAB code which applies the discontinuous Galerkin method (DG) to a 1D version of the Poisson equation; the original version of the code was written by Beatrice Riviere.
  414. dg1d_poisson_test
  415. diaphony, a MATLAB code which reads a file of N points in M dimensions and computes its diaphony, a measure of point dispersion.
  416. diaphony_test
  417. dice_simulation, a MATLAB code which simulates N tosses of M dice, making a histogram of the results.
  418. dice_simulation_test
  419. dictionary_code, a MATLAB code which demonstates how a text file can be compressed and decompressed using a dictionary code.
  420. dictionary_code_test
  421. diff_test
  422. diff_center, a MATLAB code which interactively uses centered differences to estimate the derivative of a function f(x), using a stepsize h.
  423. diff_center_test
  424. diff_forward, a MATLAB code which interactively uses forward differences to estimate the derivative of a function f(x), using a stepsize h.
  425. diff_forward_test
  426. diff2_center, a MATLAB code which interactively uses centered differences to estimate the second derivative of a function f(x), using a stepsize h.
  427. diff2_center_test
  428. differ, a MATLAB code which determines the finite difference coefficients necessary in order to combine function values at known locations to compute an approximation of given accuracy to a derivative of a given order.
  429. differ_test
  430. digital_dice, a MATLAB code which carries out the probability simulations described in "Digital Dice", by Paul Nahin;
  431. digital_dice_test
  432. dijkstra, a MATLAB code which implements a simple version of the Dijkstra minimum distance algorithm for graphs.
  433. dijkstra_test
  434. diophantine, a MATLAB code which finds one solution of a diophantine equation in any number of variables.
  435. diophantine_test
  436. diophantine_2d, a MATLAB code which solves diophantine equations in two variables, linear equations with integer coefficients, for which only integer solutions are allowed.
  437. diophantine_2d_test
  438. diophantine_3d, a MATLAB code which is given a Diophantine equation in 3 variables, and returns all nonnegative solutions, or all strictly positive solutions.
  439. diophantine_3d_test
  440. diophantine_4d, a MATLAB code which is given a Diophantine equation in 4 variables, and returns all nonnegative solutions, or all strictly positive solutions.
  441. diophantine_4d_test
  442. diophantine_5d, a MATLAB code which is given a Diophantine equation in 5 variables, and returns all nonnegative solutions, or all strictly positive solutions.
  443. diophantine_5d_test
  444. diophantine_nd, a MATLAB code which is given a Diophantine equation in N variables, and returns all nonnegative solutions, or all strictly positive solutions.
  445. diophantine_nd_doc
  446. diophantine_nd_test
  447. discrete_pdf_sample_2d, a MATLAB code which demonstrates how to construct a Probability Density Function (PDF) from a table of sample data, and then to use that PDF to create new samples.
  448. discrete_pdf_sample_2d_test
  449. disk_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the interior of the unit disk in 2D.
  450. disk_distance_test
  451. disk_grid, a MATLAB code which computes grid points within the interior of a disk of user specified radius and center in 2D, using gnuplot to create an image of the grid.
  452. disk_grid_test
  453. disk_integrands, a MATLAB code which defines several test integrals over the unit disk, making it possible to check the accuracy of quadrature rules.
  454. disk_integrands_test
  455. disk_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate integrals of a function over the interior of the general disk in 2D.
  456. disk_monte_carlo_test
  457. disk_rule, a MATLAB code which computes quadrature rules for the general disk in 2D.
  458. disk_rule_test
  459. disk01_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit disk in 2D.
  460. disk01_integrals_test
  461. disk01_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit disk in 2D;
  462. disk01_monte_carlo_test
  463. disk01_quarter_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit quarter disk in 2D;
  464. disk01_quarter_monte_carlo_test
  465. disk01_quarter_rule, a MATLAB code which computes a quadrature rule for the unit quarter disk in 2D, that is, the interior of the circle of radius 1 and center (0,0).
  466. disk01_quarter_rule_test
  467. disk01_rule, a MATLAB code which computes quadrature rules for the unit disk in 2D.
  468. disk01_rule_test
  469. dist_plot, a MATLAB code which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh() code;
  470. dist_plot_test
  471. distance_to_position, a MATLAB code which estimates the positions of cities which minimizes the discrepancy with a city-to-city distance table.
  472. distance_to_position_test
  473. distance_to_position_sphere, a MATLAB code which estimates the positions of cities on a sphere (such as the earth) based on a city-to-city distance table.
  474. distance_to_position_sphere_test
  475. distmesh, a MATLAB code which carries out a method of mesh generation; by Per-Olof Persson and Gilbert Strang.
  476. distmesh_test
  477. distmesh_3d, a MATLAB code which carries out a method of mesh generation in 3D, by Per-Olof Persson and Gilbert Strang.
  478. distmesh_3d_test
  479. divdif, a MATLAB code which uses divided differences to compute the polynomial interpolant to a given set of data.
  480. divdif_test
  481. dlap_io, a MATLAB code which reads and writes DLAP sparse matrix files;
  482. dlap_io_test
  483. doomsday, a MATLAB code which is given the year, month and day of a date, and uses John Conway's doomsday algorithm to determine the corresponding day of the week.
  484. doomsday_test
  485. dot_l2, a MATLAB code which interactively estimates the L2 dot product of two functions over an interval [a,b], with the functions entered as a string.
  486. dot_l2_test
  487. double_c_data, MATLAB codes which generate, plot or write out 2D data that forms two interlocking "C" shapes.
  488. double_c_data_test
  489. double_pendulum_movie, a MATLAB code which solves the double pendulum ordinary differential equation (ODE) for a given set of initial conditions and parameters, and makes a movie of the results.
  490. double_pendulum_movie_test
  491. double_pendulum_ode, a MATLAB code which defines the double pendulum ordinary differential equation (ODE).
  492. double_pendulum_ode_test
  493. dream, a MATLAB code which implements the DREAM algorithm for accelerating Markov Chain Monte Carlo (MCMC) convergence using differential evolution, using five user functions to define the problem, by Guannan Zhang.
  494. dream_test
  495. drug_dosage, a MATLAB code which simulates the variation in the blood levels of a medicinal drug being administered at specific dosages and times over a course of treatment. The level should rise about a given medicinal level for some time, but stay below the toxic level.
  496. drug_dosage_test
  497. duel_simulation, a MATLAB code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
  498. duel_simulation_test
  499. dueling_idiots, a MATLAB code which carries out the probability simulations described in "Dueling Idiots", by Paul Nahin;
  500. dueling_idiots_test
  501. e_spigot, a MATLAB code which produces N digits of the decimal expansion of e.
  502. e_spigot_test
  503. earth_sphere, a MATLAB code which can display a 3D image of the earth;
  504. earth_sphere_test
  505. edge, a MATLAB code which defines some test functions in 1D, 2D and 3D for the detection of edges or discontinuities.
  506. edge_test
  507. eigenfaces, a MATLAB code which applies principal component analysis to a set of images.
  508. eigenfaces_test
  509. ellipse_grid, a MATLAB code which computes a grid of points over the interior of an ellipse in 2D.
  510. ellipse_grid_test
  511. ellipse_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipse in 2D.
  512. ellipse_monte_carlo_test
  513. ellipsoid_grid, a MATLAB code which computes a grid of points over the interior of an ellipsoid in 3D.
  514. ellipsoid_grid_test
  515. ellipsoid_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate the value of integrals over the interior of an ellipsoid in M dimensions.
  516. ellipsoid_monte_carlo_test
  517. elliptic_integral, a MATLAB code which evaluates complete elliptic integrals of first, second and third kind, using the Carlson elliptic integral functions.
  518. elliptic_integral_test
  519. epicycloid, a MATLAB code which computes, plots and tabulates an epicycloid curve.
  520. epicycloid_test
  521. equidistribution, investigates equidistribution properties relating to density functions and point sets.
  522. equidistribution_test
  523. eros, a MATLAB code which implements elementary row operations (EROs) for the interactive solution of a system of linear equations.
  524. eros_test
  525. errors, MATLAB codes which illustrate the failure of numerical algorithms;
  526. errors_test
  527. etdrk4, a MATLAB code which uses the ETD RK4 method to solve systems of stiff ordinary differential equations (ODE), by Aly-Khan Kassam, Lloyd Trefethen.
  528. etdrk4_test
  529. euler, a MATLAB code which solves one or more ordinary differential equations (ODE) using the forward Euler method.
  530. euler_test
  531. exactness, a MATLAB code which investigates the exactness of quadrature rules that estimate the integral of a function with a density, such as 1, exp(-x) or exp(-x^2), over an interval such as [-1,+1], [0,+oo) or (-oo,+oo).
  532. exactness_test
  533. exm, a MATLAB code which illustrates the computational experiments in "Experiments with Matlab", by Cleve Moler.
  534. exm_test
  535. faces_average, a MATLAB code which averages several images of the same face;
  536. faces_average_test
  537. fair_dice_simulation, a MATLAB code which simulates N tosses of 2 dice, making a histogram of the results.
  538. fair_dice_simulation_test
  539. fastgl, a MATLAB code which carries out the rapid computation of the Kth value and weight of an N point Gauss-Legendre quadrature rule, by Ignace Bogaert.
  540. fastgl_test
  541. faure, a MATLAB code which computes the Faure M dimensional Quasi Mont Carlo (QMC) sequence;
  542. faure_test
  543. fd_predator_prey, a MATLAB code which solves a time-dependent predator prey system using the finite difference method (FDM).
  544. fd_predator_prey_test
  545. fd1d_advection_diffusion_steady, a MATLAB code which applies the finite difference method (FDM) to solve the steady advection diffusion equation v*ux-k*uxx=0 in one spatial dimension, with constant velocity v and diffusivity k.
  546. fd1d_advection_diffusion_steady_test
  547. fd1d_advection_ftcs, a MATLAB code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the forward time centered space (FTCS) difference scheme.
  548. fd1d_advection_ftcs_test
  549. fd1d_advection_lax, a MATLAB code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax method to approximate the time derivative.
  550. fd1d_advection_lax_test
  551. fd1d_advection_lax_wendroff, a MATLAB code which applies the finite difference method (FDM) to solve the time-dependent advection equation ut = - c * ux in one spatial dimension, with a constant velocity, using the Lax-Wendroff method to approximate the time derivative.
  552. fd1d_advection_lax_wendroff_test
  553. fd1d_burgers_lax, a MATLAB code which applies the finite difference method (FDM) and the Lax Wendroff method to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
  554. fd1d_burgers_lax_test
  555. fd1d_burgers_leap, a MATLAB code which applies the finite difference method (FDM) and the leapfrog approach to solve the non-viscous time-dependent Burgers equation in one spatial dimension.
  556. fd1d_burgers_leap_test
  557. fd1d_bvp, a MATLAB code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
  558. fd1d_bvp_test
  559. fd1d_display, a MATLAB code which reads a pair of files defining a 1D model for the finite difference method (FDM), and plots the data.
  560. fd1d_display_test
  561. fd1d_heat_explicit, a MATLAB code which implements a finite difference method (FDM), explicit in time, to solve the time dependent 1D heat equation;
  562. fd1d_heat_explicit_test
  563. fd1d_heat_implicit, a MATLAB code which implements a finite difference method (FDM), implicit in time, to solve the time dependent 1D heat equation;
  564. fd1d_heat_implicit_test
  565. fd1d_heat_steady, a MATLAB code which implements a finite difference method (FDM) for the steady (time independent) 1D heat equation;
  566. fd1d_heat_steady_test
  567. fd1d_poisson, a MATLAB code which solves a Poisson equation over a user-specified discretized interval, with given functions f(x) (right hand side) and g(x) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).
  568. fd1d_poisson_test
  569. fd1d_predator_prey, a MATLAB code which implements a finite difference method (FDM) for a time and 1D space dependent predator-prey system, by Marcus Garvie.
  570. fd1d_predator_prey_test
  571. fd1d_predator_prey_plot, a MATLAB code which plots solutions from the fd1d_predator_prey program, by Marcus Garvie.
  572. fd1d_predator_prey_plot_test
  573. fd1d_wave, a MATLAB code which applies the finite difference method (FDM) to solve the time-dependent wave equation utt = c * uxx in one spatial dimension.
  574. fd1d_wave_test
  575. fd2d_convergence_test
  576. fd2d_heat_steady, a MATLAB code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation;
  577. fd2d_heat_steady_test
  578. fd2d_poisson, a MATLAB code which solves a Poisson equation over a user-specified discretized rectangle, with given functions f(x,y) (right hand side) and g(x,y) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).
  579. fd2d_poisson_test
  580. fd2d_predator_prey, a MATLAB code which implements a finite difference method (FDM) for a time and 2D space dependent predator-prey system, by Marcus Garvie.
  581. fd2d_predator_prey_test
  582. fd3d_poisson, a MATLAB code which solves a Poisson equation over a user-specified discretized 3d block, with given functions f(x,y,z) (right hand side) and g(x,y,z) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).
  583. fd3d_poisson_test
  584. fe2d_predator_prey_fast, MATLAB codes which implement a finite element method (FEM) for a time and 2D space dependent predator-prey system, on an arbitrary triangulated region, with a variety of possible boundary conditions, incorporating some Matlab optimizations, by Marcus Garvie.
  585. fe2d_predator_prey_fast_test
  586. fem_basis, a MATLAB code which can define and evaluate finite element method (FEM) basis functions for any degree in an M dimensional simplex (1D interval, 2D triangle, 3D tetrahedron, and higher dimensional generalizations.)
  587. fem_basis_test
  588. fem_basis_q4_display, a MATLAB code which displays any single finite element method (FEM) basis function associated with an arbitrary linear quadrilateral Q4 mesh;
  589. fem_basis_q4_display_test
  590. fem_basis_t3_display, a MATLAB code which displays a basis function for the finite element method (FEM) associated with an arbitrary 3-node triangle T3 mesh;
  591. fem_basis_t3_display_test
  592. fem_basis_t4_display, a MATLAB code which displays a basis function for the finite element method (FEM) associated with an arbitrary 4-node triangle T4 mesh;
  593. fem_basis_t6_display, a MATLAB code which displays a basis function for the finite element method (FEM) associated with an arbitrary 6-node triangle T6 mesh;
  594. fem_io, a MATLAB code which reads or writes FEM files, which describe the nodes, elements, and function values associated with a finite element method (FEM) model;
  595. fem_io_test
  596. fem_neumann, a MATLAB code which sets up a time-dependent reaction-diffusion equation in 1D, with Neumann boundary conditions, discretized using the finite element method (FEM).
  597. fem_neumann_test
  598. fem_to_gmsh, a MATLAB code which reads a pair of FEM files defining node coordinates and elements, of a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a Gmsh mesh file.
  599. fem_to_gmsh_test
  600. fem_to_mesh, a MATLAB code which reads a set of FEM files defining the node coordinates, boundary nodes, and elements of a finite element mesh, and rewrites the data as a MESH file.
  601. fem_to_mesh_test
  602. fem_to_triangle, a MATLAB code which reads FEM files defining a 2D mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by Jonathan Shewchuk's triangle program.
  603. fem_to_triangle_test
  604. fem_to_xml, reads a pair of FEM files defining node coordinates and elements, of a 1D, 2D or 3D mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding XML file for input to DOLFIN or FENICS.
  605. fem_to_xml_test
  606. fem1d, a MATLAB code which applies the finite element method (FEM), using piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  607. fem1d_test
  608. fem1d_adaptive, a MATLAB code which uses an adaptive mesh when applying the finite element method (FEM), with piecewise linear basis functions, to a linear two point boundary value problem (BVP) in 1D;
  609. fem1d_adaptive_test
  610. fem1d_approximate, a MATLAB code which uses a given finite element mesh and piecewise linear basis functions to approximate a set of data points, while controlling the variation in the derivative.
  611. fem1d_approximate_test
  612. fem1d_bvp_linear, a MATLAB code which applies the finite element method (FEM), with piecewise linear elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
  613. fem1d_bvp_linear_test
  614. fem1d_bvp_quadratic, a MATLAB code which applies the finite element method (FEM), with piecewise quadratic elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
  615. fem1d_bvp_quadratic_test
  616. fem1d_display, a MATLAB code which reads three files defining a 1D arbitrary degree basis function associated with the finite element method (FEM), and displays a plot.
  617. fem1d_display_test
  618. fem1d_function_10_display, a MATLAB code which reads three files defining a 1D piecewise linear finite element method (FEM) function and displays a plot.
  619. fem1d_display_function_10_test
  620. fem1d_heat_explicit, a MATLAB code which uses the finite element method (FEM) and explicit time stepping to solve the time dependent heat equation in 1D.
  621. fem1d_heat_explicit_test
  622. fem1d_heat_implicit, a MATLAB code which uses the finite element method (FEM) and implicit time stepping to solve the time dependent heat equation in 1D.
  623. fem1d_heat_implicit_test
  624. fem1d_heat_steady, a MATLAB code which implements the finite element method (FEM) for the steady (time independent) 1D heat equation;
  625. fem1d_heat_steady_test
  626. fem1d_lagrange, a MATLAB code which sets up the matrices and vectors associated with the finite element method (FEM) solution of a boundary value problem (BVP) -u''+u=f(x), using Lagrange basis polynomials.
  627. fem1d_lagrange_test
  628. fem1d_nonlinear, a MATLAB code which applies the finite element method (FEM), with piecewise linear basis functions, to a nonlinear two point boundary value problem (BVP) in 1D;
  629. fem1d_nonlinear_test
  630. fem1d_pack, a MATLAB code which contains utilities for 1D finite element method (FEM) calculations.
  631. fem1d_pack_test
  632. fem1d_pmethod, a MATLAB code which applies the p-method version of the finite element method (FEM) to a linear two point boundary value problem (BVP) in 1D;
  633. fem1d_pmethod_test
  634. fem1d_project, a MATLAB code which projects data into a finite element space, including the least squares approximation of data, or the projection of a finite element solution from one mesh to another.
  635. fem1d_project_test
  636. fem1d_sample, a MATLAB code which samples a scalar or vector finite element function of one variable, defined by FEM files, returning interpolated values at the sample points.
  637. fem1d_sample_test
  638. fem1d_spectral_numeric, a MATLAB code which applies the spectral finite element method (FEM) to solve the problem u'' = - pi^2 sin(x) over [-1,+1] with zero boundary conditions, using as basis elements the functions x^n*(x-1)*(x+1), and carrying out the integration numerically, using the MATLAB quad() function, by Miro Stoyanov.
  639. fem1d_spectral_numeric_test
  640. fem1d_spectral_symbolic, a MATLAB code which applies the spectral finite element method (FEM) to solve the problem u'' = - pi^2 sin(x) over [-1,+1] with zero boundary conditions, using as basis elements the functions x^n*(x-1)*(x+1), and carrying out the integration using the MATLAB symbolic toolbox, by Miro Stoyanov.
  641. fem1d_spectral_symbolic_test
  642. fem2d_bvp_linear, a MATLAB code which applies the finite element method (FEM), with piecewise bilinear elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  643. fem2d_bvp_linear_test
  644. fem2d_bvp_quadratic, a MATLAB code which applies the finite element method (FEM), with piecewise quadratic elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  645. fem2d_bvp_quadratic_test
  646. fem2d_bvp_serene, a MATLAB code which applies the finite element method (FEM), with serendipity elements, to a 2D boundary value problem (BVP) in a rectangle, and compares the computed and exact solutions with the L2 and seminorm errors.
  647. fem2d_bvp_serene_test
  648. fem2d_heat, a MATLAB code which applies the finite element method (FEM) to the time dependent heat equation on an arbitrary triangulated region in 2D;
  649. fem2d_heat_test
  650. fem2d_heat_rectangle, a MATLAB code which applies the finite element method (FEM) for the time-dependent heat equation on a triangulated square in 2D;
  651. fem2d_heat_rectangle_test
  652. fem2d_heat_sparse, a MATLAB code which applies the finite element method (FEM) to the heat equation on an arbitrary triangulated region in 2D, using the MATLAB sparse matrix features;
  653. fem2d_heat_sparse_test
  654. fem2d_mesh_display, a MATLAB code which reads a FEM model of a 2D mesh of elements of any uniform order and displays a plot of the elements and nodes, with optional numbering.
  655. fem2d_mesh_display_test
  656. fem2d_pack, a MATLAB code which performs simple 2D finite element method (FEM) computations;
  657. fem2d_pack_test
  658. fem2d_poisson_rectangle, a MATLAB code which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise quadratic triangular elements.
  659. fem2d_poisson_rectangle_linear, a MATLAB code which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise linear triangular elements.
  660. fem2d_project, a MATLAB code which projects a function f(x,y), given as data, into a given finite element space of piecewise linear triangular elements.
  661. fem2d_project_test
  662. fem2d_project_function, a MATLAB code which projects a function f(x,y), given as a formula, into a given finite element space of piecewise linear triangular elements.
  663. fem2d_project_function_test
  664. fem2d_sample, a MATLAB code which samples a finite element function, defined by FEM files, (three text files describing the nodes, triangles, and coefficients); at arbitrary points.
  665. fem2d_sample_test
  666. fem2d_scalar_display, a MATLAB code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a surface plot of U(X,Y), using the MATLAB graphics system.
  667. fem2d_scalar_display_test, a MATLAB code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a surface plot of U(X,Y), using the MATLAB graphics system.
  668. fem2d_scalar_display_brief, a MATLAB code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a surface plot of U(X,Y), using the MATLAB graphics system, in 5 lines of code.
  669. fem2d_scalar_display_brief_test
  670. fem2d_scalar_display_gpl, a MATLAB code which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a GPL file describing a surface plot of U(X,Y), which can be displayed by GNUPLOT.
  671. fem2d_scalar_display_gpl_test,
  672. fem3d_pack, a MATLAB code which contains utilities for 3D finite element method (FEM) calculations.
  673. fem3d_pack_test
  674. fem3d_project, a MATLAB code which projects a function f(x,y,z), given as a data, into a given space of piecewise linear tetrahedral elements for use in the finite element method (FEM).
  675. fem3d_project_test
  676. fem3d_sample, a MATLAB code library which evaluates a function defined on a 3D tetrahedral mesh as part of the finite element method (FEM).
  677. fem3d_sample_test
  678. fern, a MATLAB code which uses MATLAB graphics to compute and display the Barnsley fractal fern.
  679. fern_test
  680. feynman_kac_1d, a MATLAB code which demonstrates the use of the Feynman-Kac algorithm to solve the Poisson equation in a 1D interval by averaging stochastic paths to the boundary.
  681. feynman_kac_1d_test
  682. feynman_kac_2d, a MATLAB code which demonstrates the use of the Feynman-Kac algorithm to solve the Poisson equation in a 2D ellipse by averaging stochastic paths to the boundary.
  683. feynman_kac_2d_test
  684. feynman_kac_3d, a MATLAB code which demonstrates the use of the Feynman-Kac algorithm to solve the Poisson equation in a 3D ellipsoid by averaging stochastic paths to the boundary.
  685. feynman_kac_1d_test
  686. fft_serial, a MATLAB code which computes a Fast Fourier Transform (FFT), and is intended as a starting point for implementing a parallel version.
  687. fft_serial_test
  688. fibonacci_spiral, a MATLAB code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.
  689. fibonacci_spiral_test
  690. file_increment, a MATLAB code which makes a copy of a file containing an integer array, after incrementing each entry by a given value.
  691. file_increment_test
  692. file_name_sequence, a MATLAB code which demonstrates ways to generate a sequence of filenames, which can be useful when generating a sequence of still snapshots to be animated later.
  693. file_name_sequence_test
  694. files_multiple_test
  695. filon, a MATLAB code which can approximate integrals in which the integrand includes an oscillatory factor of sin(k*x) or cos(k*x).
  696. filon_test
  697. filum, a MATLAB code which handles files and filenames;
  698. filum_test
  699. fire_simulation, a MATLAB code which simulates a forest fire over a rectangular array of trees, starting at a single random location.
  700. fire_simulation_test
  701. fitnlm_test, a MATLAB code which tests the MATLAB fitnlm() function, which fits a nonlinear regression model.
  702. flame_ode, a MATLAB code which considers an ordinary differential equation (ODE) which models the growth of a ball of flame in a combustion process.
  703. flame_ode_test
  704. florida_cvt_geo, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the state of Florida, based solely on geometric considerations.
  705. florida_cvt_geo_test
  706. florida_cvt_pop, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the state of Florida, based on population considerations.
  707. florida_cvt_pop_test
  708. floyd, a MATLAB code which implements the Floyd algorithm for finding the shortest distance between pairs of nodes on a directed graph.
  709. floyd_test
  710. fmincon_test
  711. fn, a MATLAB code which evaluates elementary and special functions using Chebyshev polynomials; functions include Airy, Bessel I, J, K and Y, beta, confluent hypergeometric, error, gamma, log gamma, Pochhammer, Spence; integrals include hyperbolic cosine, cosine, Dawson, exponential, logarithmic, hyperbolic sine, sine; by Wayne Fullerton.
  712. fn_test
  713. freefem++_msh_io, a MATLAB code which can read and write files used by the FreeFem++ finite element program to store mesh information.
  714. freefem++_msh_io_test
  715. gamblers_ruin_simulation, a MATLAB code which simulates the game of gambler's ruin.
  716. gamblers_ruin_simulation_test
  717. gauss_seidel, a MATLAB code which implements the Gauss-Seidel iteration for linear systems.
  718. gauss_seidel_test
  719. gauss_seidel_poisson_1d, a MATLAB code which demonstrates how the linear system for a discretized version of the steady 1D Poisson equation can be solved by the Gauss-Seidel iteration.
  720. gauss_seidel_poisson_1d_test
  721. gaussian, a MATLAB code which evaluates the Gaussian function and its derivatives.
  722. gaussian_test,
  723. gdls, a MATLAB code which uses gradient descent to solve a linear least squares problem.
  724. gdls_test
  725. ge_to_crs, a MATLAB code which converts a matrix from General (GE) to Compressed Row Storage (CRS) format.
  726. ge_to_crs_test
  727. gegenbauer_cc, a MATLAB code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
  728. gegenbauer_cc_test
  729. gegenbauer_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Gegenbauer quadrature rules.
  730. gegenbauer_exactness_test
  731. gegenbauer_polynomial, a MATLAB code which evaluates the Gegenbauer polynomial and associated functions.
  732. gegenbauer_polynomial_test
  733. gegenbauer_rule, a MATLAB code which computes and writes out a Gauss-Gegenbauer quadrature rule of given order.
  734. gegenbauer_rule_test
  735. gen_hermite_exactness, a MATLAB code which tests the polynomial exactness of generalized Gauss-Hermite quadrature rules.
  736. gen_hermite_exactness_test
  737. gen_hermite_rule, a MATLAB code which computes and writes out a generalized Gauss-Hermite quadrature rule of given order and parameter value.
  738. gen_hermite_rule_test
  739. gen_laguerre_exactness, a MATLAB code which tests the polynomial exactness of generalized Gauss-Laguerre quadrature rules.
  740. gen_laguerre_exactness_test
  741. gen_laguerre_rule, a MATLAB code which computes and writes out a generalized Gauss-Laguerre quadrature rule of given order and parameter value.
  742. gen_laguerre_rule_test
  743. geometry, a MATLAB code which performs geometric calculations in 2, 3 and M dimensional space, including the computation of angles, areas, containment, distances, intersections, lengths, and volumes.
  744. geometry_test
  745. gl_display, a MATLAB code which displays the points used in a 2D Gauss-Legendre quadrature rule;
  746. gl_display_test
  747. gmres, a MATLAB code which implements the generalized minimum residual (GMRES) method for solving a nonsymmetric sparse linear system A*x=b.
  748. gmres_test
  749. gmsh_io, a MATLAB code which can read or write some of the files created by the Gmsh program for 1D, 2D or 3D meshes used by the finite element method (FEM).
  750. gmsh_io_test
  751. gmsh_to_fem, a MATLAB code which reads a mesh data file created by the GMSH program and writes a pair of node and element files that correspond to the FEM format.
  752. gmsh_to_fem_test
  753. gnuplot_test, MATLAB codes which use gnuplot() to create various kinds of plots.
  754. gpl_display, a MATLAB code which tries to read the data in a typical gnuplot GPL file, and display it in a more attractive way than gnuplot is capable of.
  755. gpl_display_test
  756. gram_polynomial, a MATLAB code which evaluates the Gram polynomials and associated functions.
  757. gram_polynomial_test
  758. gram_schmidt, a MATLAB code which implements the Gram-Schmidt process to orthogonalize and normalize a set of vectors.
  759. gram_schmidt_test
  760. graph_representation, a MATLAB code which can express the representation of an abstract mathematical graph in several ways.
  761. graph_representation_test
  762. graphics_test, MATLAB codes which demonstrate how to make various kinds of plots.
  763. gray_code_display, a MATLAB code which computes the Hamming distance tables for both the binary and Gray codes, and displays 3D plots that illustrate how the Gray code does a better job of providing nearby representations for nearby numbers.
  764. gray_code_display_test
  765. grf_display, a MATLAB code which reads a GRF file defining a mathematical graph and displays it in the MATLAB graphics window.
  766. grf_display_test
  767. grf_io, a MATLAB code which reads or writes a GRF file;
  768. grf_io_test
  769. grid_display, a MATLAB code which reads a file of points on a grid or sparse grid, displays the grid and saves the image in a png file;
  770. grid_display_test
  771. gridlines, a MATLAB code which gives the user more control over drawing gridlines on a graph than the built in "grid on" command.
  772. gridlines_test
  773. grids_display, a MATLAB code which reads two files of grids or sparse grids, displaying the first with hollow blue dots, the second with solid red dots.
  774. grids_display_test
  775. gurobi_solution_read, a MATLAB code which reads a file created by the optimization package GUROBI, representing the solution of a polyomino tiling problem, and writes out a simple ASCII file that can be read by load().
  776. gurobi_solution_read_test
  777. haar, a MATLAB code which computes the Haar transform of data.
  778. haar_test
  779. halton, a MATLAB code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
  780. halton_test
  781. hammersley, a MATLAB code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
  782. hammersley_test
  783. hamming, a MATLAB code which implements some simple versions of Hamming codes which can detect and correct errors in data.
  784. hamming_test
  785. hand_area, a MATLAB code which estimates the area of a curve which outlines a hand.
  786. hand_area_test
  787. hand_data, MATLAB codes which carry out some numerical exercises based on data that came from tracing several points on a hand.
  788. hand_data_test
  789. hankel_cholesky, a MATLAB code which computes the upper Cholesky factor R of a nonnegative definite symmetric Hankel matrix so that H = R' * R.
  790. hankel_cholesky_test
  791. hankel_inverse, a MATLAB code which computes the inverse of a Hankel matrix.
  792. hankel_inverse_test
  793. hankel_spd, a MATLAB code which can compute a lower triangular matrix L which is the Cholesky factor of a symmetric positive definite (SPD) Hankel matrix H, that is, H = L * L'.
  794. hankel_spd_test
  795. hb_io, a MATLAB code which reads and writes sparse linear systems stored in the Harwell Boeing (HB) format for sparse matrices. This library is intended to handle the full range of HB formats.
  796. hb_io_test
  797. hb_to_mm, a MATLAB code which converts a sparse matrix from Harwell Boeing (HB) to Matrix Market (MM) format.
  798. hb_to_mm_test
  799. hb_to_msm, a MATLAB code which converts a sparse matrix stored in a Harwell Boeing (HB) format to MATLAB sparse matrix format;
  800. hb_to_msm_test
  801. hb_to_st, a MATLAB code which converts a sparse matrix from Harwell Boeing (HB) format to Sparse Triplet (ST) format.
  802. hb_to_st_test
  803. heated_plate, a MATLAB code which solves the steady state heat equation in a 2D rectangular region, and is intended as a starting point for a parallel version.
  804. heated_plate_test
  805. hello, a MATLAB code which prints out "Hello, world!".
  806. hello_test
  807. henon_heiles_ode, a MATLAB code which solves the Henon-Heiles system of ordinary differential equations (ODE) which model the motion of a star around the galactic center.
  808. henon_heiles_ode_test
  809. hermite_cubic, a MATLAB code which can compute the value, derivatives or integral of a Hermite cubic polynomial, or manipulate an interpolating function made up of piecewise Hermite cubic polynomials.
  810. hermite_cubic_test
  811. hermite_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Hermite quadrature rules to estimate the integral of a function with density exp(-x^2) over the interval (-oo,+oo).
  812. hermite_exactness_test
  813. hermite_integrands, a MATLAB code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
  814. hermite_integrands_test
  815. hermite_interpolant, a MATLAB code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
  816. hermite_interpolant_test
  817. hermite_polynomial, a MATLAB code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
  818. hermite_polynomial_test
  819. hermite_product_display, a MATLAB code which displays an image of a function created by the Cartesian product of two Hermite polynomials, such as f(x,y) = h(3,x) * h(1,y).
  820. hermite_product_display_test
  821. hermite_product_polynomial, a MATLAB code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
  822. hermite_product_polynomial_test
  823. hermite_rule, a MATLAB code which computes and writes out a Gauss-Hermite quadrature rule to estimate the integral of a function with density exp(-x^2) over the interval (-oo,+oo).
  824. hermite_rule_test
  825. hexagon_rule, a MATLAB code which computes a quadrature rule over the interior of the unit hexagon.
  826. hexagon_rule_test
  827. high_card_simulation, a MATLAB code which simulates a situation in which you see the cards in a deck one by one, and must select the one you think is the highest and stop.
  828. high_card_simulation_test
  829. hilbert_curve, a MATLAB code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
  830. hilbert_curve_test
  831. hilbert_curve_display, a MATLAB code which can plot a Hilbert curve of given order.
  832. hilbert_curve_display_test
  833. histogram_data_2d_sample, a MATLAB code which demonstrates how to construct a Probability Density Function (PDF) from sample data over a 2D domain, and then to use that PDF to create new samples.
  834. histogram_data_2d_test
  835. histogram_discrete, a MATLAB code which tries to make a histogram of data without using bins.
  836. histogram_discrete_test
  837. histogram_display, a MATLAB code 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;
  838. histogram_display_test
  839. histogram_pdf_sample, a MATLAB code which demonstrates how sampling can be done by starting with the formula for a PDF, creating a histogram, constructing a histogram for the CDF, and then sampling.
  840. histogram_pdf_sample_test
  841. histogram_pdf_2d_sample, a MATLAB code which demonstrates how uniform sampling of a 2D region with respect to some known Probability Density Function (PDF) can be approximated by decomposing the region into rectangles, approximating the PDF by a piecewise constant function, constructing a histogram for the CDF, and then sampling.
  842. histogram_pdf_2d_sample_test
  843. histogramize, a MATLAB code which takes a vector of data and organizes it into a histogram of a given number of bins with given width and range, which can be displayed as a bar chart.
  844. histogramize_test
  845. hits, a MATLAB code which uses the HITS algorithm to assign authority and hub indices to a set of nodes in a directed network.
  846. hits_test
  847. house, a MATLAB code which includes a line segment outline of a house, and some programs to show how linear transformations affect the shape, by Cleve Moler.
  848. house_test
  849. humps, a MATLAB code which evaluates the humps function, its first and second derivatives and its antiderivative.
  850. humps_test
  851. humps_ode, a MATLAB code which solves an ordinary differential equation (ODE) whose solution is a double hump curve.
  852. humps_ode_test
  853. hyperball_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the interior of the unit hyperball in M dimensions.
  854. hyperball_distance_test
  855. hyperball_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit hyperball in M dimensions.
  856. hyperball_integrals_test
  857. hyperball_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit ball in M dimensions;
  858. hyperball_monte_carlo_test
  859. hypercube_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
  860. hyperball_exactness_test
  861. hypercube_grid, a MATLAB code which computes a grid of points over the interior of a hypercube in M dimensions.
  862. hypercube_grid_test
  863. hypercube_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit hypercube in M dimensions.
  864. hypercube_integrals_test
  865. hypercube_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit hypercube in M dimensions.
  866. hypercube_monte_carlo_test
  867. hypersphere_angle, a MATLAB code which considers the problem of describing the typical value of the angle between a pair of points randomly selected on the unit hypersphere in M dimensions. Since by symmetry, this will be zero, we instead look at the average of the absolute value of the dot product, and the corresponding angle. This starts out at 1 for dimension 1, and rapidly decreases as the spatial dimension increases.
  868. hypersphere_angle_test
  869. hypersphere_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the surface of the unit hypersphere in M dimensions.
  870. hypersphere_distance_test
  871. hypersphere_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the surface of the unit hypersphere in M dimensions.
  872. hypersphere_integrals_test
  873. hypersphere_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function on the surface of the unit sphere in M dimensions;
  874. hypersphere_monte_carlo_test
  875. hypersphere_properties, a MATLAB code which carries out various operations for an M dimensional hypersphere, including converting between Cartesian and spherical coordinates, stereographic projection, sampling the surface of the sphere, and computing the surface area and volume.
  876. hypersphere_properties_test
  877. hypersphere_surface, a MATLAB code which illustrates a procedure for estimating the location of a hypersurface in M dimensional space defined by a characteristic function or a signed function.
  878. hypersphere_surface_test
  879. i4lib, a MATLAB code which contains many utility routines, using single precision integer (I4) arithmetic.
  880. i4lib_test
  881. i4mat_rref2, a MATLAB code which computes a version of the reduced row echelon form of an integer matrix.
  882. i4mat_rref2_test
  883. image_boundary, a MATLAB code which reports the pixels which form the boundary between the black and white regions of a simple image.
  884. image_boundary_test
  885. image_components, a MATLAB code which seeks the connected nonzero or nonblack components of an image or an integer array.
  886. image_components_test
  887. image_contrast, MATLAB codes which applies image processing techniques to increase the contrast in an image.
  888. image_contrast_test
  889. image_decimate, a MATLAB code which drops the even rows and columns from an image.
  890. image_decimate_test
  891. image_denoise, a MATLAB code which applies simple filtering operations to a noisy image.
  892. image_denoise_test
  893. image_diffuse, a MATLAB code which uses diffusion to smooth out an image.
  894. image_diffuse_test
  895. image_double, a MATLAB code which doubles the height and width of an image by repeating each row and column.
  896. image_double_test
  897. image_edge, a MATLAB code which demonstrates a simple procedure for edge detection in images.
  898. image_edge_test
  899. image_match_genetic, a MATLAB code which tries to match a 256x256 JPEG image by blending 32 colored rectangles, using ideas from genetic algorithms, based on an program by Nick Berry.
  900. image_match_genetic_test
  901. image_noise, MATLAB codes which add noise to an image.
  902. image_noise_test
  903. image_normalize, a MATLAB code which reads image data from a file, converts it (if necessary) to grayscale, resizes it to H pixels by W pixels.
  904. image_normalize_test
  905. image_quantization, a MATLAB code which demonstrates how the KMEANS algorithm can be used to reduce the number of colors or shades of gray in an image.
  906. image_quantization_test
  907. image_rgb_to_gray, MATLAB codes which makes a grayscale version of an RGB image.
  908. image_rgb_to_gray_test
  909. image_threshold, MATLAB codes which make a black and white version of a grayscale image by setting all pixels below or above a threshold value to black or white.
  910. image_threshold_test
  911. imshow_numeric, a MATLAB code which accepts a numeric 2D array and displays it as a grayscale image.
  912. imshow_numeric_test
  913. index, a MATLAB code which converts an M dimensional vector index to a one-dimensional vector index; it can handle zero and one based indexing schemes, as well as column major and row major conventions.
  914. index_test
  915. interp, a MATLAB code which can be used for parameterizing and interpolating data;
  916. interp_test
  917. interp_cheby, a MATLAB code which interactively uses n Chebyshev spaced nodes in the interval [a,b] to interpolate a function f(x) with a polynomial.
  918. interp_cheby_test
  919. interp_equal, a MATLAB code which interactively uses n equally spaced nodes in the interval [a,b] to interpolate a function f(x) with a polynomial.
  920. interp_equal_test
  921. interp_ncs, a MATLAB code which interactively constructs a natural cubic spline (NCS) interpolant to a function f(x), using the "zero second derivative" condition at the endpoints.
  922. interp_ncs_test
  923. interp_spline, a MATLAB code which interactively constructs a cubic spline interpolant to a function f(x), using the 'not-a-knot' end conditions.
  924. interp_spline_test
  925. interp_spline_data, a MATLAB code which interactively constructs a cubic spline interpolant to (x,y) data, using the 'not-a-knot' end conditions.
  926. interp_spline_data_test
  927. interp_trig, a MATLAB code which interactively uses n equally spaced nodes in the interval [a,b] to interpolate a function f(x) with a trigonometric polynomial.
  928. interp_trig_test
  929. iplot, a MATLAB code which interactively plots a function f(x) over a domain a ≤ x ≤ b;
  930. iplot_test
  931. isbn, a MATLAB code which can determine the check digit for an International Standard Book Number or report whether a given ISBN is valid.
  932. isbn_test
  933. ising_2d_simulation, a MATLAB code which simulates the evolution of a 2D array of positive and negative charges, each of which is likely to flip to be in agreement with neighbors.
  934. ising_2d_simulation_test
  935. jacobi, a MATLAB code which implements the Jacobi iteration for the iterative solution of linear systems.
  936. jacobi_test
  937. jacobi_eigenvalue, a MATLAB code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
  938. jacobi_eigenvalue_test
  939. jacobi_exactness, a MATLAB code which tests the polynomial exactness of rules for integrals with a Jacobi weight function.
  940. jacobi_exactness_test
  941. jacobi_poisson_1d, a MATLAB code which demonstrates how the linear system for a discretized version of the steady 1D Poisson equation can be solved by the Jacobi iteration.
  942. jacobi_poisson_1d_test
  943. jacobi_polynomial, a MATLAB code which evaluates the Jacobi polynomial and associated functions.
  944. jacobi_polynomial_test
  945. jacobi_rule, a MATLAB code which computes and writes out a Gauss-Jacobi quadrature rule of given order.
  946. jacobi_rule_test
  947. jai_alai_simulation, a MATLAB code which simulates matches of jai alai.
  948. jai_alai_simulation_test
  949. jordan_random, a MATLAB code which returns a random matrix in Jordan canonical form.
  950. jordan_random_test
  951. kelley, a MATLAB code which implements iterative methods for linear and nonlinear problems, by Tim Kelley.
  952. kelley_test
  953. kepler_ode, a MATLAB code which defines the ordinary differential equations (ODE) for a Kepler two-body gravitational system.
  954. kepler_ode_test
  955. kepler_perturbed_ode, a MATLAB code which defines the ordinary differential equations (ODE) for a perturbed Kepler two-body gravitational system.
  956. kepler_perturbed_ode_test
  957. keyword_test, a MATLAB code which demonstrates how to write a function which accepts named keywords, using the MATLAB Name/Value paired argument convention.
  958. kmeans, a MATLAB code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
  959. kmeans_test
  960. kmeans_fast, a MATLAB code which contains several different algorithms for the K-Means problem, which organizes a set of N points in M dimensions into K clusters, by Charles Elkan.
  961. kmeans_fast_test
  962. knapsack_01, a MATLAB code which uses brute force to solve small versions of the 0/1 knapsack problem;
  963. knapsack_01_test
  964. kronrod, a MATLAB code which can compute a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
  965. kronrod_test
  966. l4lib, a MATLAB code which contains many utility routines, using one byte logical (L4) variables.
  967. l4lib_test
  968. lagrange_approx_1d, a MATLAB code which defines and evaluates the Lagrange polynomial p(x) of degree m which approximates a set of nd data points (x(i),y(i)).
  969. lagrange_approx_1d_test
  970. lagrange_basis_display, a MATLAB code which displays the basis functions associated with a given set of nodes used with the Lagrange interpolation scheme.
  971. lagrange_basis_display_test
  972. lagrange_interp_1d, a MATLAB code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on a 1D argument, so that p(x(i)) = y(i).
  973. lagrange_interp_1d_test
  974. lagrange_interp_2d, a MATLAB code which defines and evaluates the Lagrange polynomial p(x,y) which interpolates a set of data depending on a 2D argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).
  975. lagrange_interp_2d_test
  976. lagrange_interp_nd, a MATLAB code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on an M dimensional argument that was evaluated on a product grid, so that p(x(i)) = z(i).
  977. lagrange_interp_nd_test
  978. lagrange_nd, a MATLAB code which implements several multivariate Lagrange interpolation schemes developed by Tomas Sauer.
  979. lagrange_nd_test
  980. laguerre_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Laguerre quadrature rules for integrating functions with density exp(-x) over [0,+oo).
  981. laguerre_exactness_test
  982. laguerre_integrands, a MATLAB code which implements test problems for approximate integration over a semi-infinite interval, often carried out using Gauss-Laguerre quadrature.
  983. laguerre_integrands_test
  984. laguerre_polynomial, a MATLAB code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
  985. laguerre_polynomial_test
  986. laguerre_product, a MATLAB code which computes weighted integrals of products of Laguerre polynomials.
  987. laguerre_product_test
  988. laguerre_rule, a MATLAB code which computes a Gauss-Laguerre quadrature rule of given order, and writes it to a file.
  989. laguerre_rule_test
  990. laplacian, a MATLAB code which carries out computations related to the discrete Laplacian operator, including full or sparse evaluation, evaluation for unequally spaced data sampling points, application to a set of data samples, solution of associated linear systems, eigenvalues and eigenvectors, and extension to 2D and 3D geometry.
  991. laplacian_test
  992. latin_center, a MATLAB code which computes N points in an M dimensional Latin Center square;
  993. latin_center_test
  994. latin_cover, a MATLAB code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
  995. latin_cover_test
  996. latin_edge, a MATLAB code which returns N points in an M dimensional Latin Edge square;
  997. latin_edge_test
  998. latin_random, a MATLAB code which returns N points in an M dimensional Latin Random square;
  999. latin_random_test
  1000. latinize, a MATLAB code which adjusts N points in M dimensions to form a Latin hypercube;
  1001. latinize_test
  1002. lattice_rule, a MATLAB code which returns lattice rules for M dimensional integration;
  1003. lattice_rule_test
  1004. lcvt, a MATLAB code which makes a sort of Latinized Centroidal Voronoi Tessellation (LCVT);
  1005. lcvt_test
  1006. least_squares_approximant, a MATLAB code which finds a polynomial approximant to data using linear least squares (LLS).
  1007. least_squares_approximant_test
  1008. lebesgue, a MATLAB code which is given a set of nodes in 1D, and plots the Lebesgue function, and estimates the Lebesgue constant, which measures the maximum magnitude of the potential error of Lagrange polynomial interpolation.
  1009. lebesgue_test
  1010. legendre_exactness, a MATLAB code which tests the monomial exactness of quadrature rules for the Legendre problem of integrating a function with density 1 over the interval [-1,+1].
  1011. legendre_exactness_test
  1012. legendre_polynomial, a MATLAB code which evaluates the Legendre polynomial and associated functions.
  1013. legendre_polynomial_test
  1014. legendre_product, a MATLAB code which computes weighted integrals of products of Legendre polynomials.
  1015. legendre_product_test
  1016. legendre_product_polynomial, a MATLAB code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
  1017. legendre_product_polynomial_test
  1018. legendre_rule, a MATLAB code which writes out a Gauss-Legendre quadrature rule of given order.
  1019. legendre_rule_test
  1020. legendre_rule_fast, a MATLAB code which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
  1021. legendre_rule_fast_test
  1022. legendre_shifted_polynomial, a MATLAB code which evaluates the shifted Legendre polynomial, with the domain [0,1].
  1023. legendre_shifted_polynomial_test
  1024. levels, a MATLAB code which makes a contour plot, choosing the contour levels using random sampling.
  1025. levels_test
  1026. levenshtein, a MATLAB code which returns the Levenshtein distance between two strings.
  1027. levenshtein_test
  1028. life, a MATLAB code which computes a few steps of the evolution of John Conway's Game of Life, intended as a starting point for implementing a parallel version.
  1029. life_test
  1030. lights_out, a MATLAB code which sets up the "Lights Out" game and allows a user to try to solve it.
  1031. line_cvt_lloyd, a MATLAB code which applies the Lloyd iteration repeatedly to a set of N points, to compute a Centroidal Voronoi Tessellation (CVT) over the interior of a line segment in 1D.
  1032. line_cvt_lloyd_test
  1033. line_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit line segment.
  1034. line_distance_test
  1035. line_fekete_rule, a MATLAB code which estimates the location of N Fekete points, for polynomial interpolation or quadrature, over the interior of a line segment in 1D.
  1036. line_fekete_rule_test
  1037. line_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a line segment in 1D.
  1038. line_felippa_rule_test
  1039. line_grid, a MATLAB code which computes a grid of points over the interior of a line segment in 1D.
  1040. line_grid_test
  1041. line_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the length of the unit line in 1D.
  1042. line_integrals_test
  1043. line_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the length of the unit line in 1D.
  1044. line_monte_carlo_test
  1045. line_ncc_rule, a MATLAB code which computes a Newton Cotes Closed (NCC) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  1046. line_ncc_rule_test
  1047. line_nco_rule, a MATLAB code which computes a Newton Cotes Open (NCO) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.
  1048. line_nco_rule_test
  1049. linpack_bench, a MATLAB code which is the linpack benchmark;
  1050. linpack_bench_test
  1051. linpack_bench_backslash, a MATLAB code which is the linpack benchmark, using the MATLAB built-in backslash operator;
  1052. linpack_bench_backslash_test
  1053. linpack_d, a MATLAB code which constitutes a linear algebra library for double precision real arithmetic; it includes a function for the singular value decomposition (SVD) of a rectangular matrix. The original version of this library is by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
  1054. linpack_d_test
  1055. linpack_z, a MATLAB code which constitutes a linear algebra library for double precision complex arithmetic; it includes a function for the singular value decomposition (SVD) of a rectangular matrix. The original version of this library is by Jack Dongarra, Jim Bunch, Cleve Moler, Pete Stewart.
  1056. linpack_z_test
  1057. llsq, a MATLAB code which solves the simple linear least squares (LLS) problem of finding the formula of a straight line y=a*x+b which minimizes the root-mean-square error to a set of N data points.
  1058. llsq_test
  1059. load_test
  1060. lobatto_polynomial, a MATLAB code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
  1061. lobatto_polynomial_test
  1062. local_min_rc, a MATLAB code which finds a local minimum of a scalar function of a scalar variable, without the use of derivative information, using reverse communication (RC), by Richard Brent.
  1063. local_min_rc_test
  1064. log_normal, a MATLAB code which returns quantities related to the log normal Probability Distribution Function (PDF).
  1065. log_normal_test
  1066. log_normal_truncated_ab, a MATLAB code which returns quantities related to the log normal Probability Distribution Function (PDF) truncated to the interval [a,b].
  1067. log_normal_truncated_ab_test
  1068. lorenz_cluster_test
  1069. lorenz_ode, defines the right hand side of the Lorenz ODE system.
  1070. lorenz_ode_test
  1071. lorenz_sensitivity_test
  1072. luhn, a MATLAB code which can compute the Luhn check digit for a string, or verify a string, as used for error detection in credit card numbers.
  1073. luhn_test
  1074. machar, a MATLAB code which dynamically computes the values of various machine characteristic constants, by William Cody;
  1075. machar_test
  1076. machine, a MATLAB code which returns tabulated values of the constants associated with computer arithmetic;
  1077. machine_test
  1078. mandelbrot, a MATLAB code which generates an image of the Mandelbrot set;
  1079. mandelbrot_test
  1080. maple_area, a MATLAB code which takes the list of pixels that form the boundary of the image of a maple leaf within a picture, and uses grid, Monte Carlo, and Quasi Monte Carlo (QMC) sampling to estimate the area of the leaf.
  1081. maple_area_test
  1082. maple_boundary, a MATLAB code which reads an image of a maple leaf and extracts the list of pixels that form the boundary.
  1083. maple_boundary_test
  1084. mario, a MATLAB code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
  1085. mario_test
  1086. matlab_test, MATLAB codes which illustrate the use of MATLAB scripts and M-files;
  1087. matlab_calls_c, MATLAB codes which illustrate how C functions can be written, compiled, and called from MATLAB using the mex facility;
  1088. matlab_calls_c++, MATLAB codes which illustrate how C++ functions can be written, compiled, and called from MATLAB using the mex facility;
  1089. matlab_calls_f77, MATLAB codes which illustrate how FORTRAN77 functions can be written, compiled, and called from MATLAB using the mex facility;
  1090. matlab_calls_f90, MATLAB codes which illustrate how FORTRAN90 functions can be written, compiled, and called from MATLAB using the mex facility;
  1091. matlab_commandline, MATLAB codes which illustrate how MATLAB can be run from the UNIX command line, that is, not with the usual MATLAB command window.
  1092. matlab_compiler, MATLAB codes which illustrate the use of the Matlab compiler, which allows you to run a Matlab application outside the Matlab environment.
  1093. matlab_condor, MATLAB codes which illustrate how MATLAB can be run in batch mode using the condor queueing system.
  1094. matlab_graphics, MATLAB codes which demonstrate a few issues that arise when producing graphic images with MATLAB.
  1095. matlab_kmeans, MATLAB codes which illustrate the use of the Matlab kmeans() function for clustering N sets of M-dimensional data into K clusters.
  1096. matlab_map, MATLAB codes which illustrate the use of the MATLAB mapping toolbox to draw maps of the world, countries, the US, or individual states.
  1097. matlab_mistake, MATLAB codes which illustrate some simple but devious programming mistakes in MATLAB.
  1098. matlab_os, MATLAB codes which illustrate how the system command can be used to allow MATLAB to issue commands to the computer operating system (UNIX or DOS);
  1099. matlab_random, MATLAB codes which illustrate the use of the Matlab random number generator (RNG) routines.
  1100. matlab_return, MATLAB codes which illustrate that explicitly invoking the return statment can be surprisingly costly;
  1101. matrix_analyze, a MATLAB code which reports whether a matrix has various properties.
  1102. matrix_analyze_test
  1103. matrix_exponential, a MATLAB code which demonstrates some simple approaches to the problem of computing the exponential of a matrix.
  1104. matrix_exponential_test
  1105. md, a MATLAB code which carries out a molecular dynamics simulation, and is intended as a starting point for implementing a parallel version.
  1106. md_test
  1107. md_fast, a MATLAB code which carries out a molecular dynamics simulation; it is a version of MD that has been revised to take advantage of the MATLAB vector abilities.
  1108. md_fast_test
  1109. memory, a MATLAB code which declares and uses a sequence of larger and larger arrays, to see what the memory limits are on a given computer.
  1110. memory_test
  1111. mesh_bandwidth, a MATLAB code which returns the geometric bandwidth associated with a mesh of elements of any order and in a space of M dimensions.
  1112. mesh_bandwidth_test
  1113. mesh_display, a MATLAB code which plots the nodes and elements of a polygonal mesh, with optional numbering.
  1114. mesh_display_test
  1115. mesh_etoe, a MATLAB code which uses ETOV, the mesh element-to-vertex connectivity, to construct ETOE, the element-to-element connectivity.
  1116. mesh_etoe_test
  1117. mesh_vtoe, a MATLAB code which uses ETOV, the mesh element-to-vertex connectivity, to construct VTOE, the vertex-to-element connectivity.
  1118. mesh_vtoe_test
  1119. mesh2d, a MATLAB code which can automatically create a triangular mesh for a given polygonal region, by Darren Engwirda.
  1120. mesh2d_test
  1121. mesh2d_hand, a MATLAB code which reads in a set of 59 points which outline a human hand, and calls mesh2d(), which is able to create a fine triangular mesh of the region outlined by the points.
  1122. mesh2d_write, a MATLAB code which demonstrates how node and element data from mesh2d can be written to files.
  1123. mgmres, a MATLAB code which applies the restarted Generalized Minimum Residual (GMRES) algorithm to solve a sparse linear system, using Compressed Row Storage (CRS) or sparse triplet (ST) format, by Lili Ju.
  1124. mgmres_test
  1125. mgs, a MATLAB code which is a legacy code, which the student is encouraged to study, understand, and document. This example is due to Diane O'Leary.
  1126. mgs_test
  1127. midpoint, a MATLAB code which solves one or more ordinary differential equations (ODE) using the midpoint method.
  1128. midpoint_test
  1129. mm_io, a MATLAB code which reads and writes a Matrix Market (MM) Sparse Matrix File;
  1130. mm_io_test
  1131. mm_to_hb, a MATLAB code which reads the sparse matrix information from an Matrix Market (MM) file and writes a corresponding Harwell Boeing (HB) file.
  1132. mm_to_hb_test
  1133. mm_to_msm, a MATLAB code which reads a Matrix Market (MM) sparse matrix file and creates a corresponding MATLAB sparse matrix data structure.
  1134. mm_to_msm_test
  1135. mm_to_st, a MATLAB code which reads a Matrix Market (MM) sparse matrix file and writes a corresponding Sparse Triplet (ST) file.
  1136. mm_to_st_test
  1137. mnist_neural, a MATLAB code which constructs a neural network in order to classify images of digits.
  1138. mnist_neural_test
  1139. monoalphabetic, a MATLAB code which can apply a monoalphabetic substitution cipher to a string of text.
  1140. monoalphabetic_test
  1141. monomial, a MATLAB code which enumerates, lists, ranks, unranks and randomizes multivariate monomials in a space of M dimensions, with total degree less than N, equal to N, or lying within a given range.
  1142. monomial_test
  1143. monomial_value, a MATLAB code which evaluates a monomial in M dimensions.
  1144. monomial_value_test
  1145. monte_carlo_rule, a MATLAB code which generates a dataset of N random M dimensional points, regards it as a quadrature rule for the unit hypercube, and writes out three files of information.
  1146. monte_carlo_rule_test
  1147. msm_to_hb, a MATLAB code which writes a MATLAB sparse matrix to a Harwell Boeing (HB) file, by Xiaoye Li.
  1148. msm_to_hb_test
  1149. msm_to_mm, a MATLAB code which writes a MATLAB sparse matrix to a Matrix Market (MM) file;
  1150. msm_to_mm_test
  1151. msm_to_st, a MATLAB code which writes a MATLAB sparse matrix to a Sparse Triplet (ST) file;
  1152. msm_to_st_test
  1153. multigrid_poisson_1d, a MATLAB code which applies the multigrid method to a discretized version of the 1D Poisson equation.
  1154. multigrid_poisson_1d_test
  1155. mxm, a MATLAB code which sets up a matrix multiplication problem A=B*C of arbitrary size, and compares the time required for IJK, IKJ, JIK, JKI, KIJ and KJI orderings of the loops.
  1156. mxm_test
  1157. naca, a MATLAB code which can take the parameters of certain NACA airfoils and return the coordinates of a sequence of points that outline the wing shape. The shape can be displayed with MATLAB graphics.
  1158. naca_test
  1159. nas, a MATLAB code which runs the NASA kernel benchmark.
  1160. nas_test
  1161. navier_stokes_2d_exact, a MATLAB code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 2D.
  1162. navier_stokes_2d_exact_test
  1163. navier_stokes_3d_exact, a MATLAB code which evaluates an exact solution to the incompressible time-dependent Navier-Stokes equations (NSE) over an arbitrary domain in 3D.
  1164. navier_stokes_3d_exact_test
  1165. navier_stokes_mesh2d, data files which define meshes for several 2D test problems involving the Navier Stokes equations (NSE) for fluid flow, provided by Leo Rebholz.
  1166. navier_stokes_mesh2d_test
  1167. navier_stokes_mesh3d, data files which define meshes for several 3D test problems involving the Navier Stokes equations (NSE) for fluid flow, provided by Leo Rebholz.
  1168. navier_stokes_mesh3d_test
  1169. ncm, MATLAB codes which accompany the textbook "Numerical Computing with MATLAB", by Cleve Moler.
  1170. ncm_test
  1171. nearest_interp_1d, a MATLAB code which interpolates a set of data using a piecewise constant interpolant defined by the nearest neighbor criterion.
  1172. nearest_interp_1d_test
  1173. neighbors_to_metis_graph, a MATLAB code which reads a file describing the neighbor structure of a triangulation or tet mesh, and writes a metis graph file suitable for input to one of the family of programs based on metis.
  1174. neighbors_to_metis_graph_test
  1175. nelder_mead, a MATLAB code which implements the Nelder-Mead algorithm for the minimization of a scalar function of several variables, by Jeff Borggaard.
  1176. nelder_mead_test
  1177. nested_sequence_display, a MATLAB code which displays a set of nested sequences.
  1178. nested_sequence_display_test
  1179. netcdf_test
  1180. newton_interp_1d, a MATLAB code which finds a polynomial interpolant to data using Newton divided differences.
  1181. newton_interp_1d_test
  1182. niederreiter2, a MATLAB code which computes the Niederreiter M dimensional Quasi Mont Carlo (QMC) sequence, base 2;
  1183. niederreiter2_test
  1184. nint_exactness_mixed, a MATLAB code which measures the polynomial exactness of an M dimensional quadrature rule based on a mixture of 1D quadrature rule factors.
  1185. nint_exactness_mixed_test
  1186. nintlib, a MATLAB code which carries out approximate integration (quadrature) in M dimensions;
  1187. nintlib_test
  1188. nonlin_bisect, a MATLAB code which interactively uses bisection to seek a zero of a function f(x) within a domain a ≤ x ≤ b;
  1189. nonlin_bisect_test
  1190. nonlin_fixed_point, a MATLAB code which interactively uses fixed point iteration x=g(x) to seek a zero of a function f(x), given a starting value x0, and a number of iterations it;
  1191. nonlin_fixed_point_test
  1192. nonlin_newton, a MATLAB code which interactively uses the Newton method, given formulas for f(x) and f'(x) and a starting point a.
  1193. nonlin_newton_test
  1194. nonlin_regula, a MATLAB code which interactively uses the regula falsi method to seek a zero of a function f(x) within a domain a ≤ x ≤ b;
  1195. nonlin_regula_test
  1196. nonlin_secant, a MATLAB code which interactively uses the secant method to seek a zero of a function f(x) given two starting estimates a and b;
  1197. nonlin_secant_test
  1198. norm_l1, a MATLAB code which interactively estimates the L1 norm of a function over an interval [a,b], with the function entered as a string.
  1199. norm_l1_test
  1200. norm_l2, a MATLAB code which interactively estimates the L2 norm of a function over an interval [a,b], with the function entered as a string.
  1201. norm_l2_test
  1202. norm_loo, a MATLAB code which interactively estimates the L-infinity norm of a function over an interval [a,b], with the function entered as a string.
  1203. norm_loo_test
  1204. norm_rms, a MATLAB code which interactively estimates the root mean square (RMS) norm of a function over an interval [a,b], with the function entered as a string.
  1205. norm_rms_test
  1206. normal, a MATLAB code which implements normal random number generators (RNG) for real and complex arithmetic, for scalars, vectors, and matrices.
  1207. normal_test
  1208. normal01_multivariate_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from an isotropic standard normal distribution in M dimensions.
  1209. normal01_multivariate_distance_test
  1210. obj_display, a MATLAB code which displays an OBJ 3D graphics file;
  1211. obj_display_test
  1212. obj_io, a MATLAB code which reads and writes the data in an OBJ 3D graphics file;
  1213. obj_io_test
  1214. obj_to_tri_surface, a MATLAB code which reads an OBJ 3D graphics file and extracts the surface mesh data as a TRI_SURFACE dataset.
  1215. obj_to_tri_surface_test
  1216. octopus, a MATLAB code which contains some Octave utilities.
  1217. octopus_test
  1218. ode_conservation, a MATLAB code which monitors the conservation of a quantity that should be constant, during the solution of an ordinary differential equation (ODE).
  1219. ode_conservation_test
  1220. ode_euler, a MATLAB code which interactively applies the Euler method to estimate the solution of an ordinary differential equation y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.
  1221. ode_euler_test
  1222. ode_euler_backward, a MATLAB code which interactively applies the backward Euler method to estimate the solution of an ordinary differential equation y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.
  1223. ode_euler_backward_test
  1224. ode_euler_system, a MATLAB code which interactively applies the Euler method to estimate the solution of a system of ordinary differential equations y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.
  1225. ode_euler_system_test
  1226. ode_midpoint, a MATLAB code which interactively applies the midpoint method to estimate the solution of an ordinary differential equation y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.
  1227. ode_midpoint_test
  1228. ode_midpoint_system, a MATLAB code which interactively applies the midpoint method to estimate the solution of a system of ordinary differential equations y'=f(x,y), over the interval [a,b], with initial condition vector y(a)=ya, using n steps.
  1229. ode_midpoint_system_test
  1230. ode_rk4, a MATLAB code which interactively applies a fourth order Runge-Kutta method to estimate the solution of an ordinary differential equation y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.
  1231. ode_rk4_test
  1232. ode_trapezoidal, a MATLAB code which interactively applies the trapezoidal method to estimate the solution of an ordinary differential equation y'=f(x,y), over the interval [a,b], with initial condition y(a)=ya, using n steps.
  1233. ode_trapezoidal_test
  1234. ode_sweep, a MATLAB code which computes a grid of solutions to a parameterized system of ordinary differential equations (ODE).
  1235. ode_sweep_test
  1236. ode23_test
  1237. ode45_test
  1238. opt_golden, a MATLAB code which interactively estimates a minimizer of a function f(x) over the interval [a,b], assuming f(x) is unimodular ("U-shaped") over [a,b].
  1239. opt_golden_test
  1240. opt_gradient_descent, a MATLAB code which interactively seeks a local minimum of a function f(x), given a formula for the derivative f'(x), a starting point x0, and a stepsize factor gamma.
  1241. opt_gradient_descent_test
  1242. opt_quadratic, a MATLAB code which interactively uses quadratic interpolation to estimate a critical point of a function f(x) given three starting points, an iteration limit n, and tolerances for x and y.
  1243. opt_quadratic_test
  1244. opt_sample, a MATLAB code which interactively estimates the minimum and maximum of a function f(x) over an interval [a,b], using n random sample values, with the function entered as a string.
  1245. opt_sample_test
  1246. ornstein_uhlenbeck, a MATLAB code which approximates solutions of the Ornstein-Uhlenbeck stochastic ordinary differential equation (SODE) using the Euler method, the Euler-Maruyama method, and the Milstein method.
  1247. ornstein_uhlenbeck_test
  1248. outliers_test
  1249. optimal_control_1d, a MATLAB code which seeks the optimal control function for a 1-dimensional system which is represented using the finite element method (FEM);
  1250. optimal_control_1d_test
  1251. oscillator_ode, a MATLAB code which defines the highly oscillatory ordinary differential equation (ODE).
  1252. oscillator_ode_test
  1253. owen, a MATLAB code which evaluates the Owen T function;
  1254. owen_test
  1255. padua, a MATLAB code which returns the coordinates of the 2D Padua points, as well as interpolation weights or quadrature weights, and images of the points in MATLAB graphics files.
  1256. padua_test
  1257. pagerank, a MATLAB code which illustrates the eigenvalue (power method) and surfer (Markov chain) approaches to ranking web pages.
  1258. pagerank_test
  1259. paraheat_gaussian, a MATLAB code which sets up and solves a parameterized steady heat equation in a 2D spatial domain, with a gaussian diffusivity.
  1260. paraheat_gaussian_test
  1261. paraheat_gaussian_plot, a MATLAB code which use radial basis functions (RBF) to reconstruct the finite element solution sampled by paraheat_gaussian().
  1262. paraheat_gaussian_sample, a MATLAB code which repeatedly calls paraheat_gaussian() to set up and solve a parameterized steady heat equation in a 2D spatial domain, with a gaussian diffusivity, saving values of the finite element solution at selected points, and writing the saved data to a file.
  1263. paraheat_pwc, a MATLAB code which can set up and solve a parameterized steady heat equation in a 2D spatial domain, using diffusivity parameterized by vc, and reporting solution values vs at selected sensor locations. Options allow for this function to be sampled at many parameter values, or for the finite element function to be reconstructed from the sensor values.
  1264. paraheat_pwc_test
  1265. paraheat_pwc_1d, a MATLAB code which sets up and solves a parameterized steady heat equation in a 1D spatial domain, with a piecewise constant diffusivity.
  1266. paraheat_pwc_1d_test
  1267. paraheat_pwc_plot, a MATLAB code which use radial basis functions (RBF) to reconstruct the finite element solution sampled by paraheat_pwc().
  1268. paraheat_pwc_sample, a MATLAB code which repeatedly calls paraheat_pwc() to set up and solve a parameterized steady heat equation in a 2D spatial domain, with a piecewise constant diffusivity, saving values of the finite element solution at selected points, and writing the saved data to a file.
  1269. pariomino, a MATLAB code which considers pariominoes, which are polyominoes with a checkerboard parity, and the determination of tilings of a region using a specific set of pariominoes.
  1270. pariomino_test
  1271. partial_digest, a MATLAB code which seeks solutions of the partial digest problem.
  1272. partial_digest_test
  1273. partition_problem, a MATLAB code which seeks solutions of the partition problem, splitting a set of integers into two subsets with equal sum.
  1274. partition_problem_test
  1275. patterson_rule, a MATLAB code which returns the points and weights of a 1D Gauss-Patterson quadrature rule of order 1, 3, 7, 15, 31, 63, 127, 255 or 511.
  1276. patterson_rule_test
  1277. pbma_io, a MATLAB code which reads or writes an ASCII Portable Bit Map (PBM) graphics file;
  1278. pbma_io_test
  1279. pce_ode_hermite, a MATLAB code which sets up a scalar stochastic ordinary differential equation (SODE) for exponential decay with an uncertain decay rate, using a polynomial chaos expansion (PCE) in terms of Hermite polynomials.
  1280. pce_ode_hermite_test
  1281. pdepe_test
  1282. pdflib, a MATLAB code which evaluates Probability Density Functions (PDF) and produces random samples from them, including beta, binomial, chi, exponential, gamma, inverse chi, inverse gamma, multinomial, normal, scaled inverse chi, and uniform.
  1283. pdflib_test
  1284. peak_movie, a MATLAB code which creates the pieces of an animation, one frame at a time. Each frame is independently created and saved as a JPEG file.
  1285. pendulum_ode, a MATLAB code which sets up the ordinary differential equations (ODE) that represent a linear model of the behavior of a pendulum of length L under a gravitational force of strength G.
  1286. pendulum_ode_test
  1287. pendulum_nonlinear_ode, a MATLAB code which sets up the ordinary differential equations (ODE) that represent a nonlinear model of the behavior of a pendulum of length L under a gravitational force of strength G.
  1288. pendulum_nonlinear_ode_test
  1289. perceptron_test
  1290. pgma_io, a MATLAB code which reads or writes an ASCII Portable Gray Map (PGM) image file;
  1291. pgma_io_test
  1292. pi_spigot, a MATLAB code which produces N digits of the decimal expansion of pi.
  1293. pi_spigot_test
  1294. pic, a MATLAB code which uses the Particle In Cell (PIC) method to simulate the motion of electrically charged particles past a plate, and is intended as a starting point for implementing a parallel version.
  1295. pic_test
  1296. pink_noise, a MATLAB code which computes a pink noise signal obeying a 1/f power law.
  1297. pink_noise_test
  1298. plasma_matrix, a MATLAB code which demonstrates how a large sparse MATLAB matrix can be written to or read from a Harwell-Boeing sparse matrix file.
  1299. plasma_matrix_test
  1300. poisson, a MATLAB code which solves the Poisson equation in a rectangle, intended as the starting point for the creation of a parallel version.
  1301. poisson_test
  1302. poisson_simulation, a MATLAB code which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda.
  1303. poisson_simulation_test
  1304. polpak, a MATLAB code which evaluates a variety of mathematical functions, including Chebyshev, Gegenbauer, Hermite, Jacobi, Laguerre, Legendre polynomials, and the Collatz sequence.
  1305. polpak_test
  1306. polygon_average, a MATLAB code which demonstrates a process of repeatedly averaging and normalizing the vertices of a polygon, illustrating a property of the power method.
  1307. polygon_average_test
  1308. polygon_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the interior of a polygon in 2D.
  1309. polygon_distance_test
  1310. polygon_grid, a MATLAB code which generates a grid of points over the interior of a polygon in 2D.
  1311. polygon_grid_test
  1312. polygon_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
  1313. polygon_integrals_test
  1314. polygon_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.
  1315. polygon_monte_carlo_test
  1316. polygon_properties, a MATLAB code which computes properties of an arbitrary polygon in the plane, defined by a sequence of vertices, including interior angles, area, centroid, containment of a point, convexity, diameter, distance to a point, inradius, lattice area, nearest point in set, outradius, uniform sampling.
  1317. polygon_properties_test
  1318. polygon_triangulate, a MATLAB code which triangulates a (possibly nonconvex) polygon in 2D, based on a C program by Joseph ORourke;
  1319. polygon_triangulate_test
  1320. polygonal_surface_display, a MATLAB code which displays a surface in 3D described as a set of polygons;
  1321. polygonal_surface_display_test
  1322. polynomial, a MATLAB code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
  1323. polynomial_test
  1324. polynomials, a MATLAB code which defines multivariate polynomials over rectangular domains, for which certain information is to be determined, such as the maximum and minimum values.
  1325. polynomials_test
  1326. polyomino_parity, a MATLAB code which uses parity considerations to determine whether a given set of polyominoes can tile a specified region.
  1327. polyomino_parity_test
  1328. polyominoes, a MATLAB code which defines, solves, and plots a variety of polyomino tiling problems, which are solved by a direct algebraic approach, instead of the more typical brute-force or backtracking methods.
  1329. polyominoes_test
  1330. power_method, a MATLAB code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
  1331. power_method_test
  1332. power_rule, a MATLAB code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
  1333. power_rule_test
  1334. pplane8, a MATLAB code which allows a user to interactively explore the phase plane of a system of autonomous ordinary differential equations. On starting the program, the user is given an interface in which to enter the equations and the screen limits, as well as a graphics screen on which the direction field is shown. Clicking any point in the graphics screen results in a trace of the phase plane curve through that point. The program is by Hugh Harvey and George Williams.
  1335. ppma_io, a MATLAB code which reads or writes an ASCII Portable Pixel Map (PPM) image file;
  1336. ppma_io_test
  1337. praxis, a MATLAB code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
  1338. praxis_test
  1339. predator_prey_ode, a MATLAB code which solves a time-dependent predator-prey system of ordinary differential equations (ODE).
  1340. predator_prey_ode_test
  1341. prime, a MATLAB code which counts the number of primes between 1 and N, and is intended as a starting point for a parallel version.
  1342. prime_test
  1343. prime_plot, a MATLAB code which displays a box plot of the prime and composite numbers.
  1344. prime_plot_test
  1345. prob, a MATLAB code which evaluates, samples, inverts, and characterizes a number of Probability Density Functions (PDF) and Cumulative Density Functions (CDF), including anglit, arcsin, benford, birthday, bernoulli, beta_binomial, beta, binomial, bradford, burr, cardiod, cauchy, chi, chi squared, circular, cosine, deranged, dipole, dirichlet mixture, discrete, empirical, english sentence and word length, error, exponential, extreme values, f, fisk, folded normal, frechet, gamma, generalized logistic, geometric, gompertz, gumbel, half normal, hypergeometric, inverse gaussian, laplace, levy, logistic, log normal, log series, log uniform, lorentz, maxwell, multinomial, nakagami, negative binomial, normal, pareto, planck, poisson, power, quasigeometric, rayleigh, reciprocal, runs, sech, semicircular, student t, triangle, uniform, von mises, weibull, zipf.
  1346. prob_test
  1347. product_rule, a MATLAB code which creates an M dimensional quadrature rule from a product of distinct 1d quadrature rules;
  1348. product_rule_test
  1349. profile_test
  1350. profile_data, a MATLAB code which carries out some numerical exercises based on data that came from tracing the profile of a face.
  1351. profile_data_test
  1352. puzzles, MATLAB codes which solve simple puzzles;
  1353. pwc_plot_1d, a MATLAB code which converts the definition of a piecewise constant function of a 1D argument into plottable data.
  1354. pwc_plot_1d_test
  1355. pwc_plot_2d, a MATLAB code which converts the definition of a piecewise constant function of a 2D argument into plottable data.
  1356. pwc_plot_2d_test
  1357. pwl_approx_1d, a MATLAB code which approximates a set of data using a piecewise linear function.
  1358. pwl_approx_1d_test
  1359. pwl_interp_1d, a MATLAB code which interpolates a set of data using a piecewise linear function.
  1360. pwl_interp_1d_test
  1361. pwl_interp_2d, a MATLAB code which evaluates a piecewise linear interpolant to data defined on a regular 2D grid.
  1362. pwl_interp_2d_test
  1363. pwl_interp_2d_scattered, a MATLAB code which evaluates a piecewise linear interpolant to data which is available at an irregularly arranged set of points.
  1364. pwl_interp_2d_scattered_test
  1365. pwl_product_integral, a MATLAB code which calculates the exact value of the integral of the product of two piecewise linear functions f(x) and g(x).
  1366. pwl_product_integral_test
  1367. pyramid_exactness, a MATLAB code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
  1368. pyramid_exactness_test
  1369. pyramid_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a pyramid in 3D.
  1370. pyramid_felippa_rule_test
  1371. pyramid_grid, a MATLAB code which computes a grid of points over the interior of the unit pyramid in 3D;
  1372. pyramid_grid_test
  1373. pyramid_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit pyramid in 3D.
  1374. pyramid_integrals_test
  1375. pyramid_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit pyramid in 3D;
  1376. pyramid_monte_carlo_test
  1377. pyramid_rule, a MATLAB code which computes a quadrature rule over the interior of the unit pyramid in 3D.
  1378. pyramid_rule_test
  1379. qr_solve, a MATLAB code which computes the linear least squares (LLS) solution of a system A*x=b using the QR factorization.
  1380. qr_solve_test
  1381. quad, a MATLAB code which applies a quadrature rule to estimate an integral, intended as a starting point for parallelization exercises.
  1382. quad_test
  1383. quad_gauss, a MATLAB code which interactively uses an n-point Gauss quadrature rule to estimate the integral of a function f(x) over an interval [a,b].
  1384. quad_gauss_test
  1385. quad_mesh, a MATLAB code which handles meshes of quadrilaterals over a 2D region;
  1386. quad_mesh_test
  1387. quad_mesh_order1_display, a MATLAB code which plots piecewise constant data associated with a mesh of quadrilaterals;
  1388. quad_mesh_order1_display_test
  1389. quad_mesh_rcm, a MATLAB code which computes the Reverse Cuthill-McKee (RCM) reordering for nodes in a mesh of 4-node quadrilaterals.
  1390. quad_mesh_rcm_test
  1391. quad_monte_carlo, a MATLAB code which interactively uses n random samples to estimate the integral of a function f(x) over an interval [a,b].
  1392. quad_monte_carlo_test
  1393. quad_surface_display, a MATLAB code which plots piecewise bilinear data associated with a quad_surface, that is, a 3D surface defined by a quadrilateral mesh;
  1394. quad_surface_display_test
  1395. quad_trap, a MATLAB code which interactively applies a trapezoidal quadrature rule using n intervals to estimate the integral of a function f(x) over an interval [a,b].
  1396. quad_trap_test
  1397. quad2d_test
  1398. quadmom, a MATLAB code which computes a Gaussian quadrature rule for a weight function rho(x) based on the Golub-Welsch procedure that only requires knowledge of the moments of rho(x).
  1399. quadmom_test
  1400. quadprog_test
  1401. quadrature_golub_welsch, a MATLAB code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
  1402. quadrature_golub_welsch_test
  1403. quadrature_least_squares, a MATLAB code which computes weights for sub-interpolatory quadrature rules, that is, it estimates integrals by integrating a polynomial that approximates the function data in a least squares sense.
  1404. quadrature_least_squares_test
  1405. quadrature_test
  1406. quadrature_2d_test
  1407. quadrature_weights_vandermonde, a MATLAB code which computes the weights of a quadrature rule using the Vandermonde matrix, assuming that the points have been specified.
  1408. quadrature_weights_vandermonde_test
  1409. quadrature_weights_vandermonde_2d, a MATLAB code which computes the weights of a 2D quadrature rule using the Vandermonde matrix, assuming that the points have been specified.
  1410. quadrature_weights_vandermonde_2d_test
  1411. quadrule, a MATLAB code which defines quadrature rules for approximating an integral;
  1412. quadrule_test
  1413. quadrule_fast, a MATLAB code which rapidly defines certain quadrature rules for approximating an integral;
  1414. quadrule_fast_test
  1415. quality, a MATLAB code which measures the dispersion of pointsets in M dimensions;
  1416. quality_test
  1417. quasiperiodic_ode, a MATLAB code which sets up a system of ordinary differential equations (ODE) for a problem with a quasiperiodic solution.
  1418. quasiperiodic_ode_test
  1419. quaternions, a MATLAB code which carries out some simple arithmetic operations for quaternions.
  1420. quaternions_test
  1421. r8_scale, a MATLAB code which computes the "next" and "previous" real numbers.
  1422. r8_scale_test
  1423. r83, a MATLAB code which contains linear algebra routines for r83 matrices (real, 64 bit, tridiagonal 3xN format).
  1424. r83_test
  1425. r8col, a MATLAB code which contains utility routines for an R8COL, that is, a double precision real MxN array, considered as N column vectors, each of length M. The data may be thought of as a matrix of multiple columns, and many operations will be carried out columnwise.
  1426. r8col_test
  1427. r8crs, a MATLAB code which contains linear algebra routines for R8CRS matrices (real, 64 bit, Compressed Row Storage (CRS) format).
  1428. r8crs_test
  1429. r8ge, a MATLAB code which contains linear algebra routines for R8GE matrices (real, 64 bit, General format).
  1430. r8ge_test
  1431. r8lib, a MATLAB code which contains many utility routines, using double precision real (R8) arithmetic.
  1432. r8lib_test
  1433. r8lt, a MATLAB code which contains linear algebra routines for R8LT matrices (real, 64 bit, Lower Triangular).
  1434. r8lt_test
  1435. r8poly, a MATLAB code which contains a number of utilities for polynomials with R8 coefficients, that is, using double precision or 64 bit real arithmetic.
  1436. r8poly_test
  1437. r8row, a MATLAB code which contains utility routines for an R8ROW, that is, a double precision real MxN array, considered as M row vectors, each of length N. The data may be thought of as a matrix of multiple rows, and many operations will be carried out rowwise.
  1438. r8row_test
  1439. r8st, a MATLAB code which contains linear algebra routines for R8ST matrices (real, 64 bit, Sparse Triplet).
  1440. r8st_test
  1441. r8ut, a MATLAB code which contains linear algebra routines for R8UT matrices (real, 64 bit, Upper Triangular).
  1442. r8ut_test
  1443. random_data, a MATLAB code which uses a random number generator (RNG) to sample points distributed according to various probability density functions (PDF), spatial dimensions, and geometries, including the M-dimensional cube, ellipsoid, simplex and sphere.
  1444. random_data_test
  1445. random_sorted, a MATLAB code which generates vectors of random values which are already sorted.
  1446. random_sorted_test
  1447. random_walk_1d_simulation, a MATLAB code which simulates a random walk in a 1-dimensional region.
  1448. random_walk_1d_simulation_test
  1449. random_walk_2d_avoid_simulation, a MATLAB code which simulates a self-avoiding random walk in a 2-dimensional region.
  1450. random_walk_2d_avoid_simulation_test
  1451. random_walk_2d_simulation, a MATLAB code which simulates a random walk in a 2-dimensional region.
  1452. random_walk_2d_simulation_test
  1453. random_walk_3d_simulation, a MATLAB code which simulates a random walk in a 3-dimensional region.
  1454. random_walk_3d_simulation_test
  1455. ranlib, a MATLAB code which produces random samples from Probability Density Functions (PDF), including Beta, Chi-square Exponential, F, Gamma, Multivariate normal, Noncentral chi-square, Noncentral F, Univariate normal, random permutations, Real uniform, Binomial, Negative Binomial, Multinomial, Poisson and Integer uniform, by Barry Brown and James Lovato.
  1456. ranlib_test
  1457. rbf_interp_1d, a MATLAB code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
  1458. rbf_interp_1d_test
  1459. rbf_interp_2d, a MATLAB code which defines radial basis function (RBF) interpolants to 2D data.
  1460. rbf_interp_2d_test
  1461. rbf_interp_nd, a MATLAB code which defines and evaluates radial basis function (RBF) interpolants to M dimensional data.
  1462. rbf_interp_nd_test
  1463. rcm, a MATLAB code which applies the Reverse Cuthill McKee (RCM) algorithm for reordering the nodes of a graph, and reducing the bandwidth of a corresponding sparse matrix;
  1464. rcm_test
  1465. reactor simulation, a MATLAB code which is a simple Monte Carlo simulation of the shielding effect of a slab of a certain thickness in front of a neutron source. This program was provided as an example with the book "Numerical Methods and Software."
  1466. readmatrix_test, a MATLAB code which calls readmatrix(), a built-in function which reads a data file containing numeric data in columns; it can also skip one or more initial rows, read only a specified set of columns, to avoid dealing with text input.
  1467. readtable_test, a MATLAB code which calls readtable(), a built-in function which reads a data file containing data in columns, with some data being numeric and some text.
  1468. rejection_sample, a MATLAB code which demonstrates acceptance/rejection sampling.
  1469. rejection_sample_test
  1470. ring_data, a MATLAB code which can create, plot, or save data generated by sampling a number of concentric, possibly overlapping rings.
  1471. ring_data_test
  1472. risk_matrix, a MATLAB code which returns the transition and adjacency matrix for the game of RISK.
  1473. risk_matrix_test
  1474. rk12, a MATLAB code which applies Runge-Kutta (RK) solvers of order 1 and 2 to a system of ordinary differential equations (ODE);
  1475. rk12_test
  1476. rk12_adapt, a MATLAB code which defines an adaptive ordinary differential equation (ODE) solver, using Runge-Kutta (RK) solvers of order 1 and 2.
  1477. rk12_adapt_test
  1478. rk23, a MATLAB code which applies Runge-Kutta (RK) solvers of order 2 and 3 to a system of ordinary differential equations (ODE);
  1479. rk23_test
  1480. rk34, a MATLAB code which applies Runge-Kutta (RK) solvers of order 3 and 4 to a system of ordinary differential equations (ODE);
  1481. rk34_test
  1482. rk4, a MATLAB code which applies the fourth order Runge-Kutta (RK) algorithm to estimate the solution of an ordinary differential equation (ODE) at the next time step.
  1483. rk4_test
  1484. rk45, a MATLAB code which applies Runge-Kutta (RK) solvers of order 4 and 5 to a system of ordinary differential equations (ODE);
  1485. rk45_test
  1486. rkf45, a MATLAB code which applies a Runge-Kutta-Fehlberg (RKF) solver to a system of ordinary differential equations (ODE);
  1487. rkf45_test
  1488. rng_cliff, a MATLAB code which computes a sequence of values from the Cliff random number generator (RNG).
  1489. rng_cliff_test
  1490. rnglib, a MATLAB code which implements a random number generator (RNG) with splitting facilities, allowing multiple independent streams to be computed, by L'Ecuyer and Cote.
  1491. rnglib_test
  1492. robertson_ode, an Octave code which sets up a system of three nonlinear stiff ordinary differential equations (ODE) characterizing an autocatalytic chemical reaction.
  1493. robertson_ode_test
  1494. roessler_ode, a MATLAB code which defines the right hand side of the 3D Roessler system of ordinary differential equations (ODE).
  1495. roessler_ode_test
  1496. root_rc, a MATLAB code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
  1497. root_rc_test
  1498. roots_rc, a MATLAB code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
  1499. roots_rc_test
  1500. rot13, a MATLAB code which can encipher a string using the ROT13 cipher for letters, and the ROT5 cipher for digits.
  1501. rot13_test
  1502. roulette_simulation, a MATLAB code which simulates the spinning of a roulette wheel and the evaluation of certain common roulette bets.
  1503. roulette_simulation_test
  1504. row_echelon_integer, a MATLAB code which carries out the exact computation of the integer row echelon form (IREF) and integer reduced row echelon form (IRREF) of an integer matrix.
  1505. row_echelon_integer_test
  1506. rref_test
  1507. rubber_band_ode, a MATLAB code which defines and solves a set of ordinary differential equations (ODE) describing a mass suspended by a spring and rubber band, which can exhibit chaotic behavior.
  1508. rubber_band_ode_test
  1509. sammon_data, a MATLAB code which generates six M dimensional datasets for cluster analysis.
  1510. sammon_data_test
  1511. satisfy_test
  1512. scip_solution_read, a MATLAB code which reads a file created by the integer programming package SCIP, representing the solution of a polyomino tiling problem, and writes out a simple ASCII file that can be read by load().
  1513. scip_solution_read_test
  1514. sde, a MATLAB code which illustrates properties of stochastic differential equations (SODE), and common algorithms for their analysis, by Desmond Higham;
  1515. sde_test
  1516. search_test
  1517. sequence_streak_display, a MATLAB code which displays a streak plot of a numeric sequence;
  1518. sequence_streak_display_test
  1519. set_theory, a MATLAB code which demonstrates MATLAB commands that implement various set theoretic operations.
  1520. set_theory_test
  1521. sftpack, a MATLAB code which implements the slow Fourier transform (SFT), intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
  1522. sftpack_test
  1523. shallow_water_1d, a MATLAB code which simulates the evolution of a 1D fluid governed by the time-dependent shallow water equations.
  1524. shallow_water_1d_test
  1525. shallow_water_1d_display, a MATLAB code which can display a solution of the shallow water equations in 1D, generally as computed by the program shallow_water_1d.
  1526. shallow_water_1d_display_test
  1527. shepard_interp_1d, a MATLAB code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
  1528. shepard_interp_1d_test
  1529. shepard_interp_2d, a MATLAB code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
  1530. shepard_interp_2d_test
  1531. shepard_interp_nd, a MATLAB code which defines and evaluates Shepard interpolants to M dimensional data, based on inverse distance weighting.
  1532. shepard_interp_nd_test
  1533. shoreline, a MATLAB code which tries to identify and triangulate the 2D domain over which some function f(x,y) is nonnegative.
  1534. shoreline_test
  1535. side_by_side_display_test
  1536. simplex_coordinates, a MATLAB code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
  1537. simplex_coordinates_test
  1538. simplex_gm_rule, a MATLAB code which defines Grundmann-Moeller quadrature rules over the interior of a triangle in 2D, a tetrahedron in 3D, or over the interior of the simplex in M dimensions.
  1539. simplex_gm_rule_test
  1540. simplex_grid, a MATLAB code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
  1541. simplex_grid_test
  1542. simplex_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit simplex in M dimensions.
  1543. simplex_integrals_test
  1544. simplex_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate an integral over the interior of the unit simplex in M dimensions.
  1545. simplex_monte_carlo_test
  1546. sine_transform, a MATLAB code which demonstrates simple properties of the discrete sine transform (DST).
  1547. sine_transform_test
  1548. single_linkage_test
  1549. sir_ode, a MATLAB code which sets up the ordinary differential equations (ODE) which simulate the spread of a disease using the Susceptible/Infected/Recovered (SIR) model.
  1550. sir_ode_test
  1551. sir_simulation, a MATLAB code which simulates the spread of a disease through a hospital room of M by N beds, using the Susceptible/Infected/Recovered (SIR) model.
  1552. sir_simulation_test
  1553. smolyak_display, a MATLAB code which displays the exactness diagram for a 2D Smolyak sparse grid, by displaying and summing the exactness diagrams for the component product rules.
  1554. smolyak_display_test
  1555. snakes_and_ladders, a MATLAB code which simulates a one-player version of the game of Snakes and Ladders, by Mina Aymin.
  1556. snakes_bar, a MATLAB code which produces bar charts of the count, PDF and CDF estimates for the length of a one-player game of Snakes and Ladders, produced by simulating N games.
  1557. snakes_bar_test
  1558. snakes_histogram, a MATLAB code which produces histograms of the count, PDF and CDF estimates for the length of a one-player game of Snakes and Ladders, produced by simulating N games.
  1559. snakes_histogram_test
  1560. snakes_matrix, a MATLAB code which returns the transition matrix for the game of Snakes and Ladders.
  1561. snakes_matrix_test
  1562. snakes_probability, a MATLAB code which computes the game length probabilities for the game of Snakes and Ladders, by Desmond Higham and Nicholas Higham.
  1563. sobol, a MATLAB code which generates elements of the Sobol M dimensional Quasi Mont Carlo (QMC) sequence, by Bennett Fox.
  1564. sobol_test
  1565. solve, a MATLAB code which demonstrates how Gauss elimination can be used to solve a linear system A*x=b.
  1566. solve_test
  1567. sor, a MATLAB code which implements a simple version of the successive over-relaxation (SOR) method for the iteration solution of a linear system of equations.
  1568. sor_test
  1569. sort_rc, a MATLAB code which can sort a list of any kind of objects, using reverse communication (RC).
  1570. sort_rc_test
  1571. sort_test
  1572. sparse_count, a MATLAB code which is for the analysis and creation of sparse grids in which a single family of 1D quadrature rules is used for all spatial dimensions, for various growth rules.
  1573. sparse_count_test
  1574. sparse_display, a MATLAB code which can read information defining a matrix of numbers and display the sparsity pattern or location of the nonzero elements using gnuplot. This operation is already available in the built-in MATLAB "spy" command.
  1575. sparse_display_test
  1576. sparse_grid_cc, a MATLAB code which creates sparse grids based on Clenshaw-Curtis quadrature rules.
  1577. sparse_grid_cc_test
  1578. sparse_grid_composite, a MATLAB code which creates sparse grids based on 1D composite rules (currently only of order 1).
  1579. sparse_grid_composite_test
  1580. sparse_grid_gl, a MATLAB code which creates sparse grids based on Gauss-Legendre rules.
  1581. sparse_grid_gl_test
  1582. sparse_grid_hermite, a MATLAB code which creates sparse grids based on Gauss-Hermite rules.
  1583. sparse_grid_hermite_test
  1584. sparse_grid_hw, a MATLAB code which creates sparse grids based on Gauss-Legendre, Gauss-Hermite, Gauss-Patterson, or a nested variation of Gauss-Hermite rules, by Florian Heiss and Viktor Winschel.
  1585. sparse_grid_hw_test
  1586. sparse_grid_laguerre, a MATLAB code which creates sparse grids based on Gauss-Laguerre rules.
  1587. sparse_grid_laguerre_test
  1588. sparse_grid_total_poly, a MATLAB code which investigates the efficient approximation of all polynomials up to a given total degree using sparse grids.
  1589. sparse_grid_total_poly_test
  1590. sparse_interp_nd, a MATLAB code which can be used to define a sparse interpolant to a function f(x) of a M dimensional argument.
  1591. sparse_interp_nd_test
  1592. sparse_test
  1593. sphere_cubed_grid, a MATLAB code which uses the projection of a cube to create grids of points, lines, and quadrilaterals on the surface of the unit sphere in 3D.
  1594. sphere_cubed_grid_test
  1595. sphere_cvt, a MATLAB code which carries out the Centroidal Voronoi Tessellation (CVT) iteration on the surface of the unit sphere in 3D.
  1596. sphere_cvt_test
  1597. sphere_delaunay, a MATLAB code which computes the Delaunay triangulation of points on the surface of the unit sphere in 3D.
  1598. sphere_delaunay_test
  1599. sphere_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the surface of the unit sphere in 3D.
  1600. sphere_distance_test
  1601. sphere_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule on the surface of the unit sphere in 3D.
  1602. sphere_exactness_test
  1603. sphere_fibonacci_grid, a MATLAB code which uses a Fibonacci spiral to create a grid of points on the surface of the unit sphere in 3D.
  1604. sphere_fibonacci_grid_test
  1605. sphere_grid, a MATLAB code which provides a number of ways of generating grids of points, or of points and lines, or of points and lines and faces, on the surface of the unit sphere in 3D.
  1606. sphere_grid_test
  1607. sphere_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the surface of the unit sphere in 3D.
  1608. sphere_integrals_test
  1609. sphere_lebedev_rule, a MATLAB code which computes Lebedev quadrature rules on the surface of the unit sphere in 3D.
  1610. sphere_lebedev_rule_test
  1611. sphere_lebedev_rule_display, a MATLAB code which reads a file defining a Lebedev quadrature rule on the surface of the unit sphere in 3D and displays the point locations.
  1612. sphere_lebedev_rule_display_test
  1613. sphere_llq_grid, a MATLAB code which uses longitudes and latitudes to create grids of points, lines, and quadrilaterals on the surface of the unit sphere in 3D.
  1614. sphere_llq_grid_test
  1615. sphere_llt_grid, a MATLAB code which uses longitudes and latitudes to create grids of points, lines, and triangles on the surface of the unit sphere in 3D.
  1616. sphere_llt_grid_test
  1617. sphere_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function on the surface of the unit sphere in 3D.
  1618. sphere_monte_carlo_test
  1619. sphere_ode, a MATLAB code which sets up the ordinary differential equations (ODE) which model motion on the surface of a sphere.
  1620. sphere_ode_test
  1621. sphere_stereograph, a MATLAB code which computes the stereographic mapping between points on the surface of the unit sphere in 3D and points on the plane Z = 1; a generalized mapping is also available.
  1622. sphere_stereograph_test
  1623. sphere_stereograph_display, a MATLAB code which computes and displays the results of several stereographic projections between points on the surface of the unit sphere in 3D and a plane.
  1624. sphere_stereograph_display_test
  1625. sphere_triangle_monte_carlo, a MATLAB code which used the Monte Carlo method to estimate the integral of a function defined in a triangle on the surface of the unit sphere in 3D.
  1626. sphere_triangle_monte_carlo_test
  1627. sphere_triangle_quad, a MATLAB code which uses quadrature to estimate the integral of a function in a spherical triangle on the surface of the unit sphere in 3D.
  1628. sphere_triangle_quad_test
  1629. sphere_voronoi, a MATLAB code which computes the Voronoi diagram of points on the surface of the unit sphere in 3D.
  1630. sphere_voronoi_test
  1631. spherical_harmonic, a MATLAB code which evaluates spherical harmonic functions.
  1632. spherical_harmonic_test
  1633. spinterp, a MATLAB code which carries out piecewise multilinear hierarchical sparse grid interpolation, quadrature and optimization, by Andreas Klimke; an earlier version of this software is ACM TOMS Algorithm 847.
  1634. spinterp_test
  1635. spiral_data, a MATLAB code which computes a velocity vector field that satisfies the continuity equation, writing the data to a file that can be plotted by gnuplot.
  1636. spiral_data_test
  1637. spline, a MATLAB code which interpolates and approximates via splines;
  1638. spline_test
  1639. spquad, a MATLAB code which computes the points and weights of a sparse grid quadrature rule for an M dimensional integral, based on the Clenshaw-Curtis quadrature rule, by Greg von Winckel.
  1640. spquad_test
  1641. square_arbq_rule, a MATLAB code which returns quadrature rules, with exactness up to total degree 20, over the interior of the symmetric square in 2D, by Hong Xiao and Zydrunas Gimbutas.
  1642. square_arbq_rule_test
  1643. square_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the interior of the unit square in 2D.
  1644. square_distance_test
  1645. square_exactness, a MATLAB code which investigates the polynomial exactness of quadrature rules for f(x,y) over the interior of a rectangle in 2D.
  1646. square_exactness_test
  1647. square_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a square in 2D.
  1648. square_felippa_rule_test
  1649. square_grid, a MATLAB code which computes a grid of points over the interior of a square in 2D.
  1650. square_grid_test
  1651. square_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit square or symmetric unit square in 2D.
  1652. square_integrals_test
  1653. square_minimal_rule, a MATLAB code which returns "almost minimal" quadrature rules, with exactness up to total degree 55, over the interior of the symmetric square in 2D, by Mattia Festa and Alvise Sommariva.
  1654. square_minimal_rule_test
  1655. square_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit square in 2D.
  1656. square_monte_carlo_test
  1657. square_symq_rule, a MATLAB code which returns symmetric quadrature rules, with exactness up to total degree 20, over the interior of the symmetric square in 2D, by Hong Xiao and Zydrunas Gimbutas.
  1658. square_symq_rule_test
  1659. st_io, a MATLAB code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
  1660. st_io_test
  1661. st_to_ccs, a MATLAB code which converts sparse matrix data from Sparse Triplet (ST) format to Compressed Column Storage (CCS) format;
  1662. st_to_ccs_test
  1663. st_to_hb, a MATLAB code which converts a sparse matrix file from Sparse Triplet (ST) format to Harwell Boeing (HB) format;
  1664. st_to_hb_test
  1665. st_to_mm, a MATLAB code which converts a sparse matrix file from Sparse Triplet (ST) format to Matrix Market (MM) format;
  1666. st_to_mm_test
  1667. st_to_msm, a MATLAB code which reads a Sparse Triplet (ST) file and creates a corresponding MATLAB Sparse Matrix.
  1668. st_to_msm_test
  1669. stiff_ode, a MATLAB code which considers an ordinary differential equation (ODE) which is an example of a stiff ODE.
  1670. stiff_ode_test
  1671. stla_display, a MATLAB code which displays an ASCII stereolithography (STL) 3D graphics file;
  1672. stla_display_test
  1673. stla_io, a MATLAB code which reads and writes an ASCII stereolithography (STL) 3D graphics file;
  1674. stla_io_test
  1675. stla_to_tri_surface, a MATLAB code which reads an ASCII stereolithography (STL) 3D graphics file and extracts the surface mesh data as a tri_surface dataset.
  1676. stla_to_tri_surface_test
  1677. stla_to_tri_surface_fast, a MATLAB code which is a faster version of stla_to_tri_surface.
  1678. stla_to_tri_surface_fast_test
  1679. stochastic_diffusion, functions which implement several versions of a stochastic diffusivity coefficient.
  1680. stochastic_diffusion_test
  1681. stochastic_heat2d, a MATLAB code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation, with a stochastic heat diffusivity coefficient.
  1682. stochastic_heat2d_test
  1683. stochastic_rk, a MATLAB code which applies a Runge-Kutta (RK) scheme to approximate the solution of a stochastic ordinary differential equation (SODE).
  1684. stochastic_rk_test
  1685. stokes_2d_exact, a MATLAB code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
  1686. stokes_2d_exact_test
  1687. string_ode, a MATLAB code which simulates the behavior of a vibrating string by solving the corresponding initial boundary value problem (IBVP).
  1688. string_ode_test
  1689. stroud, a MATLAB code which defines quadrature rules for a variety of M-dimensional regions, including the interior of the square, cube and hypercube, the pyramid, cone and ellipse, the hexagon, the M-dimensional octahedron, the circle, sphere and hypersphere, the triangle, tetrahedron and simplex, and the surface of the circle, sphere and hypersphere.
  1690. stroud_test
  1691. subpak, a MATLAB code which includes many utility routines;
  1692. subpak_test
  1693. subset, a MATLAB code which enumerates, generates, randomizes, ranks and unranks combinatorial objects including combinations, compositions, Gray codes, index sets, partitions, permutations, polynomials, subsets, and Young tables. Backtracking routines are included to solve some combinatorial problems.
  1694. subset_test
  1695. subset_sum, a MATLAB code which seeks solutions of the subset sum problem.
  1696. subset_sum_test
  1697. subset_sum_brute, a MATLAB code which seeks solutions of the subset sum problem, using a brute force approach.
  1698. subset_sum_brute_test
  1699. sudoku, a MATLAB code which handles Sudoku puzzles;
  1700. sudoku_test
  1701. superlu_test
  1702. surf_test
  1703. svd_basis, a MATLAB code which applies the singular value decomposition (SVD) to a collection of data vectors, extracting dominant modes;
  1704. svd_basis_test
  1705. svd_circle, a MATLAB code which analyzes a linear map of the unit circle caused by an arbitrary 2x2 matrix A, using the singular value decomposition.
  1706. svd_circle_test
  1707. svd_faces, a MATLAB code which applies singular value decomposition (SVD) analysis to a set of images.
  1708. svd_faces_test
  1709. svd_fingerprint, a MATLAB code which reads a file containing a fingerprint image and uses the singular value decomposition (SVD) to compute and display a series of low rank approximations to the image.
  1710. svd_fingerprint_test
  1711. svd_gray, a MATLAB code which reads a gray scale image, computes the Singular Value Decomposition (SVD), and constructs a series of low rank approximations to the image.
  1712. svd_gray_test
  1713. svd_lls, a MATLAB code which uses the singular value decomposition (SVD) to construct and plot the best affine and linear relationships in the sense of least square, between two vectors of data.
  1714. svd_lls_test
  1715. svd_powers, a MATLAB code which applies singular value decomposition (SVD) analysis to a set of powers x(i)^(j-1).
  1716. svd_powers_test
  1717. svd_snowfall, a MATLAB code which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD).
  1718. svd_snowfall_test
  1719. svd_sphere, a MATLAB code which analyzes a linear map of the unit sphere caused by an arbitrary 3x3 matrix A, using the singular value decomposition.
  1720. svd_sphere_test
  1721. svd_test
  1722. svd_truncated_test
  1723. table_io, a MATLAB code which reads and writes a simple table file;
  1724. table_io_test
  1725. task_division, a MATLAB code which implements a simple procedure for smoothly dividing T tasks among P processors; such a method can be useful in MPI and other parallel environments, particularly when T is not an exact multiple of P, and when the processors can be indexed starting from 0 or from 1.
  1726. task_division_test
  1727. tensor_grid_display, a MATLAB code which can display the grid points of a tensor product rule used for interpolation or quadrature, in 1D, 2D or 3D.
  1728. tensor_grid_display_test
  1729. test_approx, a MATLAB code which implements test problems for approximation, provided as a set of (x,y) data.
  1730. test_approx_test
  1731. test_con, a MATLAB code which implements test problems for numerical continuation.
  1732. test_con_test
  1733. test_eigen, a MATLAB code which implements test matrices for eigenvalue analysis.
  1734. test_eigen_test
  1735. test_int, a MATLAB code which implements test problems for approximate integration (quadrature) in one dimension.
  1736. test_int_test
  1737. test_int_2d, a MATLAB code which implements test problems for approximate integration (quadrature) in two dimensions.
  1738. test_int_2d_test
  1739. test_interp, a MATLAB code which defines test problems for interpolation, provided as a set of (x,y(x)) data.
  1740. test_interp_test
  1741. test_interp_1d, a MATLAB code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
  1742. test_interp_1d_test
  1743. test_interp_2d, a MATLAB code which defines test problems for interpolation of data z(x,y), which depends on a 2D argument.
  1744. test_interp_2d_test
  1745. test_interp_fun, a MATLAB code which defines test problems for interpolation which are available in functional form.
  1746. test_interp_fun_test
  1747. test_interp_nd, a MATLAB code which defines test problems for interpolation of data z(x), depending on an M dimensional argument.
  1748. test_interp_nd_test
  1749. test_lls, a MATLAB code which implements linear least squares (LLS) test problems of the form A*x=b.
  1750. test_lls_test
  1751. test_mat, a MATLAB code which defines test matrices for which some of the determinant, eigenvalues, inverse, null vectors, P*L*U factorization or linear system solution are already known, including the Vandermonde and Wathen matrix.
  1752. test_mat_test
  1753. test_matrix_exponential, a MATLAB code which defines a set of test cases for computing the matrix exponential.
  1754. test_matrix_exponential_test
  1755. test_min, a MATLAB code which implements test problems for minimization of a scalar function of a scalar variable.
  1756. test_min_test
  1757. test_nearest, a MATLAB code which tests the time complexity of various procedures for solving the nearest neighbor problem.
  1758. test_nearest_test
  1759. test_nint, a MATLAB code which implements test problems for approximate integration (quadrature) in M dimensions.
  1760. test_nint_test
  1761. test_opt, a MATLAB code which implements test problems for optimization of a scalar function of several variables.
  1762. test_opt_test
  1763. test_opt_con, a MATLAB code which defines test problems for the minimization of a scalar function of several variables, with the search constrained to lie within a specified hyper-rectangle.
  1764. test_opt_con_test
  1765. test_optimization, a MATLAB code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
  1766. test_optimization_test
  1767. test_partial_digest, a MATLAB code which can generate example cases of the partial digest problem.
  1768. test_partial_digest_test
  1769. test_triangle_integrals, a MATLAB code which defines tests involving the integration of an integrand function over some specific triangle, not necessarily the unit triangle.
  1770. test_triangle_integrals_test
  1771. test_triangulation, a MATLAB code which defines test problems for triangulation;
  1772. test_triangulation_test
  1773. test_values, a MATLAB code which returns selected values of some special functions;
  1774. test_values_test
  1775. test_zero, a MATLAB code which defines some functions f(x) suitable for testing software that solves f(x)=0;
  1776. test_zero_test
  1777. tester, a BASH script which runs the MATLAB test codes.
  1778. tet_mesh, a MATLAB code which works with tetrahedral meshes in 3D;
  1779. tet_mesh_test
  1780. tet_mesh_boundary, a MATLAB code which reads information defining a tetrahedral mesh of points in 3D, and determines the triangular faces that form the boundary of the mesh; it writes out files containing the nodes and elements defining this TRI_SURFACE data.
  1781. tet_mesh_boundary_test
  1782. tet_mesh_display, a MATLAB code which reads data defining a (small) tetrahedral mesh, and displays a wireframe image of the nodes and edges;
  1783. tet_mesh_display_test
  1784. tet_mesh_l2q, a MATLAB code which reads information about a 4-node (linear) tetrahedral mesh and creates data defining a corresponding 10-node (quadratic) tetrahedral mesh;
  1785. tet_mesh_l2q_test
  1786. tet_mesh_q2l, a MATLAB code which reads information about a 10-node (quadratic) tet mesh and creates data defining a corresponding 4-node (linear) tetrahedral mesh;
  1787. tet_mesh_q2l_test
  1788. tet_mesh_quad, a MATLAB code which estimates the integral of a function over a region defined by a tetrahedral mesh.
  1789. tet_mesh_quad_test
  1790. tet_mesh_quality, a MATLAB code which computes various quality measures for a tetrahedral mesh of a set of nodes in 3D;
  1791. tet_mesh_quality_test
  1792. tet_mesh_rcm, a MATLAB code which computes the Reverse Cuthill McKee (RCM) reordering for the nodes of a tetrahedral mesh that uses 4-node or 10-node tetrahedrons;
  1793. tet_mesh_rcm_test
  1794. tet_mesh_refine, a MATLAB code which refines a tetrahedral mesh;
  1795. tet_mesh_refine_test
  1796. tet_mesh_tet_neighbors, a MATLAB code which reads information about a tetrahedral mesh and writes out a list of the tetrahedrons adjacent to a given tetrahedron;
  1797. tet_mesh_tet_neighbors_test
  1798. tet_mesh_to_gmsh, a MATLAB code which write a Gmsh file describing a tetrahedral mesh;
  1799. tet_mesh_to_gmsh_test
  1800. tet_mesh_to_xml, a MATLAB code which write an XML file describing a tetrahedral mesh;
  1801. tet_mesh_to_xml_test
  1802. tet_mesh_volumes, a MATLAB code which computes the volume of each tetrahedron in a tetrahedral mesh;
  1803. tet_mesh_volumes_test
  1804. tetrahedron_arbq_rule, a MATLAB code which returns quadrature rules, with exactness up to total degree 15, over the interior of a tetrahedron in 3D, by Hong Xiao and Zydrunas Gimbutas.
  1805. tetrahedron_arbq_rule_test
  1806. tetrahedron_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
  1807. tetrahedron_exactness_test
  1808. tetrahedron_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a tetrahedron in 3D.
  1809. tetrahedron_felippa_rule_test
  1810. tetrahedron_grid, a MATLAB code which computes a grid of points over the interior of a tetrahedron in 3D.
  1811. tetrahedron_grid_test
  1812. tetrahedron_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit tetrahedron in 3D.
  1813. tetrahedron_integrals_test
  1814. tetrahedron_keast_rule, a MATLAB code which defines ten quadrature rules, of degree of exactness 0 through 8, over the interior of the tetrahedron in 3D.
  1815. tetrahedron_keast_rule_test
  1816. tetrahedron_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate an integral over the interior of a general tetrahedron in 3D.
  1817. tetrahedron_monte_carlo_test
  1818. tetrahedron_ncc_rule, a MATLAB code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
  1819. tetrahedron_ncc_rule_test
  1820. tetrahedron_nco_rule, a MATLAB code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
  1821. tetrahedron_nco_rule_test
  1822. tetrahedron_properties, a MATLAB code which computes properties, including the centroid, circumsphere, dihedral angles, edge lengths, face angles, face areas, insphere, quality, solid angles, and volume for a tetrahedron in 3D.
  1823. tetrahedron_properties_test
  1824. tetrahedron_slice_animate, a MATLAB code which is given a tetrahedron and a vector, and displays an evenly spaced sequence of planes that intersect the tetrahedron and are normal to the vector.
  1825. tetrahedron_slice_display, a MATLAB code which determines the intersection between a tetrahedron and a plane and displays the result.
  1826. tetrahedron_slice_display_test
  1827. tetrahedron01_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate an integral over the interior of the unit tetrahedron in 3D.
  1828. tetrahedron01_monte_carlo_test
  1829. theodolite, a MATLAB code which presents the problem of estimating the location of an event which occurs in the sky, atmosphere, or the heavens, using nothing but the reported angle of observation from several stations; a nonlinear least squares (NLS) solver is needed.
  1830. theodolite_test
  1831. three_body_ode, a MATLAB code which defines ordinary differential equations (ODE) that simulate the behavior of three planets, constrained to lie in a plane, and moving under the influence of gravity, by Walter Gander and Jiri Hrebicek.
  1832. three_body_ode_test
  1833. tic_toc_test
  1834. timer_test
  1835. timestamp, a MATLAB code which prints the current YMDHMS date as a timestamp;
  1836. timestamp_test
  1837. toeplitz_cholesky, a MATLAB code which computes the Cholesky factorization of a nonnegative definite symmetric Toeplitz matrix.
  1838. toeplitz_cholesky_test
  1839. toeplitz_inverse, a MATLAB code which computes the inverse of a Toeplitz matrix.
  1840. toeplitz_inverse_test
  1841. toms097, a MATLAB code which computes the distance between all pairs of nodes in a directed graph with weighted edges, using the Floyd algorithm. This is a version of ACM TOMS algorithm 97.
  1842. toms097_test
  1843. toms112, a MATLAB code which determines whether a point is contained in a polygon, by Moshe Shimrat. This is a version of ACM TOMS algorithm 112.
  1844. toms112_test
  1845. toms178, a MATLAB code which seeks the minimizer of a scalar function of several variables using the Hooke-Jeeves method, by Arthur Kaupe. This is a version of ACM TOMS algorithm 178.
  1846. toms178_test
  1847. toms179, a MATLAB code which calculates the incomplete Beta ratio, by Oliver Ludwig. This is a version of ACM TOMS algorithm 179.
  1848. toms179_test
  1849. toms243, a MATLAB code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
  1850. toms243_test
  1851. toms291, a MATLAB code which approximates the logarithm of the Gamma function. This is a version of ACM TOMS algorithm 291.
  1852. toms291_test
  1853. toms443, a MATLAB code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 443.
  1854. toms443_test
  1855. toms446, a MATLAB code which manipulates Chebyshev series for interpolation and approximation, by Roger Broucke. This is a version of ACM TOMS algorithm 446.
  1856. toms446_test
  1857. toms462, a MATLAB code which evaluates the upper right tail of the bivariate normal distribution; that is, the probability that normal variables X and Y with correlation R will satisfy H <= X and K <= Y. This is a version of ACM TOMS algorithm 462.
  1858. toms462_test
  1859. toms515, a MATLAB code which can select subsets of size K from a set of size N, This is a version of ACM TOMS Algorithm 515, by Bill Buckles, Matthew Lybanon.
  1860. toms515_test
  1861. toms577, a MATLAB code which evaluates the Carlson elliptic integral functions RC, RD, RF and RJ. This is a version of ACM TOMS algorithm 577.
  1862. toms577_test
  1863. toms655, a MATLAB code which computes the weights for interpolatory quadrature rule; this library is commonly called IQPACK, by Sylvan Elhay and Jaroslav Kautsky. This is a version of ACM TOMS algorithm 655.
  1864. toms655_test
  1865. toms743, a MATLAB code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 743, by Barry, Barry and Culligan-Hensley.
  1866. toms743_test
  1867. toms847, a MATLAB code which carries out piecewise multilinear hierarchical sparse grid interpolation, commonly known as SPINTERP, by Andreas Klimke. This is a version of ACM TOMS Algorithm 847.
  1868. toms847_test
  1869. toms886, a MATLAB code which defines the Padua points for interpolation in a 2D region, including the rectangle, triangle, and ellipse, by Marco Caliari, Stefano de Marchi, Marco Vianello. This is a version of ACM TOMS algorithm 886.
  1870. toms886_test
  1871. toms923, a MATLAB code which evaluates the Pfaffian for a dense or banded skew symmetric matrix, by Michael Wimmer.
  1872. toms923_test
  1873. traffic_simulation, a MATLAB code which simulates the cars waiting to get through a traffic light.
  1874. traffic_simulation_test
  1875. tri_surface_display, a MATLAB code which displays a triangulated surface;
  1876. tri_surface_display_test
  1877. tri_surface_io, a MATLAB code which reads and writes the 3D graphics information in a tri_surface file;
  1878. tri_surface_io_test
  1879. tri_surface_to_obj, a MATLAB code which reads a tri_surface dataset and extracts the surface mesh data as an OBJ file.
  1880. tri_surface_to_obj_test
  1881. tri_surface_to_stla, a MATLAB code which reads a tri_surface dataset and extracts the surface mesh data as an ASCII stereolithography (STL) file.
  1882. tri_surface_to_stla_test
  1883. triangle_analyze, a MATLAB code which reads a triangle defined in a file, and uses the TRIANGLE_PROPERTIES library to compute angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.
  1884. triangle_analyze_test
  1885. triangle_display, a MATLAB code which displays the nodes and elements of a triangulation on the MATLAB graphics screen, assuming the data has been stored in NODE and ELE files by the triangle() program.
  1886. triangle_display_test
  1887. triangle_distance, a MATLAB code which considers the problem of describing the typical value of the distance between a pair of points randomly selected from the interior of a triangle in 2D.
  1888. triangle_distance_test
  1889. triangle_dunavant_rule, a MATLAB code which defines Dunavant quadrature rules over the interior of a triangle in 2D.
  1890. triangle_dunavant_rule_test
  1891. triangle_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
  1892. triangle_exactness_test
  1893. triangle_fekete_rule, a MATLAB code which sets up one of seven Fekete rules for interpolation or quadrature over the interior of a triangle in 2D.
  1894. triangle_fekete_rule_test
  1895. triangle_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a triangle in 2D.
  1896. triangle_felippa_rule_test
  1897. triangle_grid, a MATLAB code which computes a grid of points over the interior of a triangle in 2D.
  1898. triangle_grid_test
  1899. triangle_histogram, a MATLAB code which computes histograms of data over the interior of a unit triangle in 2D.
  1900. triangle_histogram_test
  1901. triangle_integrals, a MATLAB code which returns the exact value of the integral of any polynomial over the interior of an arbitrary triangle in 2D.
  1902. triangle_integrals_test
  1903. triangle_interpolate, a MATLAB code which shows how vertex data can be interpolated at any point in the interior of a triangle.
  1904. triangle_interpolate_test
  1905. triangle_io, a MATLAB code which can read or write some of the files created by Jonathan Shewchuk's triangle program.
  1906. triangle_io_test
  1907. triangle_lyness_rule, a MATLAB code which returns Lyness-Jespersen quadrature rules over the interior of a triangle in 2D;
  1908. triangle_lyness_rule_test
  1909. triangle_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate an integral over the interior of a general triangle in 2D.
  1910. triangle_monte_carlo_test
  1911. triangle_ncc_rule, a MATLAB code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a triangle in 2D.
  1912. triangle_ncc_rule_test
  1913. triangle_nco_rule, a MATLAB code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a triangle in 2D.
  1914. triangle_nco_rule_test
  1915. triangle_properties, a MATLAB code which computes properties, including angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality, of a triangle in 2D.
  1916. triangle_properties_test
  1917. triangle_svg, a MATLAB code which uses Scalable Vector Graphics (SVG) to plot a triangle and any number of points, to illustrate quadrature rules and sampling techniques.
  1918. triangle_svg_test
  1919. triangle_symq_rule, a MATLAB code which returns efficient symmetric quadrature rules, with exactness up to total degree 50, over the interior of a triangle in 2D, by Hong Xiao and Zydrunas Gimbutas.
  1920. triangle_symq_rule_test
  1921. triangle_to_fem, a MATLAB code which reads the NODE and ELE files created by the triangle program to describe a triangular mesh, and writes a corresponding pair of node and element files in the 2D FEM format.
  1922. triangle_to_fem_test
  1923. triangle_to_xml, a MATLAB code which reads the NODE and ELE files created by triangle() to describe a triangular mesh in 2D, and writes out a corresponding XML mesh file for use by DOLFIN or FENICS.
  1924. triangle_to_xml_test
  1925. triangle_twb_rule, a MATLAB code which generates the points and weights of quadrature rules over the interior of a triangle in 2D, determined by Taylor, Wingate, and Bos.
  1926. triangle_twb_rule_test
  1927. triangle_wandzura_rule, a MATLAB code which returns quadrature rules of exactness 5, 10, 15, 20, 25 and 30 over the interior of the triangle in 2D.
  1928. triangle_wandzura_rule_test
  1929. triangle01_integrals, a MATLAB code which returns the integral of any monomial over the interior of the unit triangle in 2D.
  1930. triangle01_integrals_test
  1931. triangle01_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate an integral over the interior of the unit triangle in 2D.
  1932. triangle01_monte_carlo_test-
  1933. triangulate, a MATLAB code which triangulates a polygonal region, based on a C program by Joseph ORourke;
  1934. triangulate_test
  1935. triangulate_rectangle, a MATLAB code which sets up a grid of triangles in a rectangular region.
  1936. triangulate_rectangle_test
  1937. triangulation, a MATLAB code which computes the triangulation of a set of points in the plane, and performs various operations using a triangulation, including searching a Delaunay triangulation to find which triangle contains a given point.
  1938. triangulation_test
  1939. triangulation_boundary_edges, a MATLAB code which reads data defining a triangulation, determines which edges lie on the boundary, organizes them into connected components, and writes this information to a file.
  1940. triangulation_boundary_edges_test
  1941. triangulation_boundary_nodes, a MATLAB code which reads data defining a triangulation, determines which nodes lie on the boundary, and writes their coordinates to a file;
  1942. triangulation_boundary_nodes_test
  1943. triangulation_corner, a MATLAB code which modifies triangulations in which one or more triangles have more than one boundary edge.
  1944. triangulation_corner_test
  1945. triangulation_delaunay_discrepancy, a MATLAB code which measures the amount by which a triangulation fails the local Delaunay test;
  1946. triangulation_delaunay_discrepancy_test
  1947. triangulation_display, a MATLAB code which displays the nodes and elements of a triangulation on the MATLAB graphics screen;
  1948. triangulation_display_test
  1949. triangulation_histogram, a MATLAB code which computes histograms of data over a triangulation.
  1950. triangulation_histogram_test
  1951. triangulation_l2q, a MATLAB code which reads information about a 3-node (linear) triangulation and creates data defining a corresponding 6-node (quadratic) triangulation;
  1952. triangulation_l2q_test
  1953. triangulation_mask, a MATLAB code which reads a triangulation and calls a user-supplied routine to consider each triangle for deletion;
  1954. triangulation_mask_test
  1955. triangulation_node_to_element, a MATLAB code which reads files describing a set of nodes, their triangulation, and the value of one or more quantities at each node, and outputs a file that averages the quantities for each element. This operation in effect creates an order1 finite element model of the data.
  1956. triangulation_node_to_element_test
  1957. triangulation_order1_display, a MATLAB code which plots piecewise constant data associated with a triangulation;
  1958. triangulation_order1_display_test
  1959. triangulation_order3_contour, a MATLAB code which plots color contours of a scalar quantity evaluated at the nodes of a 3-node triangle triangulation.
  1960. triangulation_order3_contour_test
  1961. triangulation_order6_contour, a MATLAB code which plots color contours of a scalar quantity evaluated at the nodes of a 6-node triangle triangulation.
  1962. triangulation_order6_contour_test
  1963. triangulation_orient, a MATLAB code which ensures that the triangles in an order 3 or order 6 triangulation have positive orientation;
  1964. triangulation_orient_test
  1965. triangulation_plot, a MATLAB code which plots the nodes and elements of a triangulation as a PostScript file;
  1966. triangulation_plot_test
  1967. triangulation_q2l, a MATLAB code which reads information about a 6-node triangulation and creates data defining a corresponding 3-node triangulation;
  1968. triangulation_q2l_test
  1969. triangulation_quad, a MATLAB code which reads information about a triangulation and the value of a function at the nodes and estimates the integral of the function over the triangulated region.
  1970. triangulation_quad_test
  1971. triangulation_quality, a MATLAB code which reads information about a triangulation and computes various quality measures;
  1972. triangulation_quality_test
  1973. triangulation_rcm, a MATLAB code which computes the Reverse Cuthill McKee (RCM) reordering for the nodes of a triangulation that uses 3-node or 6-node triangles;
  1974. triangulation_rcm_test
  1975. triangulation_refine, a MATLAB code which refines a triangulation;
  1976. triangulation_refine_test
  1977. triangulation_refine_local, a MATLAB code which refines a triangulation locally; a single triangular element is replaced by four smaller triangles, and neighboring information is updated.
  1978. triangulation_refine_local_test
  1979. triangulation_svg, a MATLAB code which creates an SVG image of a triangulation, which can be displayed by a web browser.
  1980. triangulation_svg_test
  1981. triangulation_t3_to_t4, a MATLAB code which reads information about a 3-node T3 triangulation and creates data defining a corresponding 4-node T4 triangulation;
  1982. triangulation_t3_to_t4_test
  1983. triangulation_triangle_neighbors, a MATLAB code which reads data defining a triangulation, finds the three neighbor triangles for each triangle, and writes them to a file;
  1984. triangulation_triangle_neighbors_test
  1985. tridiagonal_solver, a MATLAB code which solves a tridiagonal linear system.
  1986. tridiagonal_solver_test
  1987. trig_interp, a MATLAB code which can be used for trigonometric interpolation.
  1988. trig_interp_test
  1989. truel_simulation, a MATLAB code which simulates N repetitions of a duel between three players, each of whom has a known firing accuracy.
  1990. truel_simulation_test
  1991. truncated_normal, a MATLAB code which works with the truncated normal distribution over [a,b], or [A,+oo) or (-oo,B], returning the probability density function (PDF), the cumulative density function (CDF), the inverse CDF, the mean, the variance, and sample values.
  1992. truncated_normal_test
  1993. truncated_normal_rule, a MATLAB code which computes a quadrature rule for a normal probability density function (PDF), sometimes called a Gaussian distribution, that has been truncated to [A,+oo), (-oo,B] or [a,b].
  1994. truncated_normal_rule_test
  1995. truncated_normal_sparse_grid, a MATLAB code which computes a sparse grid based on a normal probability density function (PDF), also called a Gaussian distribution, that has been truncated to [a,+oo), (-oo,b] or [a,b].
  1996. truncated_normal_sparse_grid_test
  1997. tsp_brute, a MATLAB code which reads a file of city-to-city distances and solves a (small!) traveling salesperson problem (TSP), using brute force.
  1998. tsp_brute_test
  1999. tsp_descent, a MATLAB code which reads a file of city-to-city distances, choose an initial tour at random, and then tries some simple variations to quickly find a tour of lower length.
  2000. tsp_descent_test
  2001. tsp_greedy, a MATLAB code which reads a file of city-to-city distances, picks a starting city, and then successively visits the nearest unvisited city.
  2002. tsp_greedy_test
  2003. tsp_random, a MATLAB code which reads a file of city-to-city distances, and then randomly samples a number of possible tours, to quickly seek a tour of lower length.
  2004. tsp_random_test
  2005. two_body_ode, a MATLAB code which defines ordinary differential equations (ODE) which simulate the behavior of two bodies, constrained to lie in a plane, moving under the influence of gravity, with one body much more massive than the other.
  2006. two_body_ode_test
  2007. ubvec, a MATLAB code which demonstrates how nonnegative integers can be stored as unsigned binary vectors, and arithmetic can be performed on them.
  2008. ubvec_test
  2009. unicycle, a MATLAB code which considers permutations containing a single cycle, sometimes called cyclic permutations.
  2010. unicycle_test
  2011. uniform, a MATLAB code which implements a uniform random number generator (RNG) for a variety of arithmetic types.
  2012. uniform_test
  2013. upc, is a library which can compute the check digit associated with a uniform product code (UPC), or it can report whether a 12-digit UPC is actually valid.
  2014. upc_test
  2015. urn_simulation, a MATLAB code which simulates the experiment of sampling K balls from an urn containing N balls of various colors.
  2016. urn_simulation_test
  2017. usa_cvt_geo, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the continental United States, based solely on geometric considerations.
  2018. usa_cvt_geo_test
  2019. van_der_corput, a MATLAB code which computes elements of the van der Corput 1-dimensional Quasi Mont Carlo (QMC) sequence, using a simple interface.
  2020. van_der_corput_test
  2021. vandermonde, a MATLAB code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
  2022. vandermonde_test
  2023. vandermonde_approx_1d, a MATLAB code which finds a polynomial approximant to data y(x) of a 1D argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the Vandermonde matrix.
  2024. vandermonde_approx_1d_test
  2025. vandermonde_approx_2d, a MATLAB code which finds a polynomial approximant p(x,y) to data z(x,y) of a 2D argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the Vandermonde matrix.
  2026. vandermonde_approx_2d_test
  2027. vandermonde_interp_1d, a MATLAB code which finds a polynomial interpolant to data y(x) of a 1D argument by solving a linear system for the polynomial coefficients involving the Vandermonde matrix.
  2028. vandermonde_interp_1d_test
  2029. vandermonde_interp_2d, a MATLAB code which finds a polynomial interpolant to data z(x,y) of a 2D argument by solving a linear system for the polynomial coefficients involving the Vandermonde matrix.
  2030. vandermonde_interp_2d_test
  2031. voronoi_city, a MATLAB code which displays the steps involved in computing the Voronoi diagram of 3 points, which we think of as cities connected by roads.
  2032. voronoi_city_test
  2033. voronoi_display, a MATLAB code which computes the exact Voronoi diagram using geompack, and displays it.
  2034. voronoi_display_test
  2035. voronoi_mountains, a MATLAB code 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.
  2036. voronoi_mountains_test
  2037. voronoi_neighbors, a MATLAB code which is given a set of points in the plane and determines the Voronoi adjacency structure, that is, which points share an edge of the Voronoi diagram.
  2038. voronoi_neighbors_test
  2039. voronoi_plot, a MATLAB code which estimates the Voronoi neighborhoods of points using sampling, and with a distance based on the L1, L2, LInfinity or arbitrary LP norms;
  2040. voronoi_plot_test
  2041. voronoi_test
  2042. vpa_test
  2043. walker_sample, a MATLAB code which efficiently samples a discrete probability vector using Walker sampling.
  2044. walker_sample_test
  2045. walsh, a MATLAB code which implements versions of the Walsh and Haar transforms.
  2046. walsh_test
  2047. wathen, a MATLAB code which compares storage schemes (full, banded, sparse triplet, sparse) and solution strategies (A\x, Linpack, conjugate gradient) for linear systems involving the Wathen matrix, which can arise when solving a problem using the finite element method (FEM).
  2048. wathen_test
  2049. wavelet, a MATLAB code which does some simple wavelet calculations;
  2050. wavelet_test
  2051. wedge_exactness, a MATLAB code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
  2052. wedge_exactness_test
  2053. wedge_felippa_rule, a MATLAB code which returns quadrature rules for approximating integrals over the interior of the unit wedge in 3D.
  2054. wedge_felippa_rule_test
  2055. wedge_grid, a MATLAB code which computes a grid of points over the interior of the unit wedge in 3D.
  2056. wedge_grid_test
  2057. wedge_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit wedge in 3D.
  2058. wedge_integrals_test
  2059. wedge_monte_carlo, a MATLAB code which uses the Monte Carlo method to estimate an integral over the interior of the unit wedge in 3D.
  2060. wedge_monte_carlo_test
  2061. weekday, a MATLAB code which determines the day of the week corresponding to a given date, such as 14 October 1066, Julian calendar, ... which was a Saturday.
  2062. weekday_test
  2063. weekday_zeller, a MATLAB code which uses the Zeller congruence to determine the day of the week corresponding to a given date, such as 13 July 1989, Gregorian calendar, ... which was a Thursday.
  2064. weekday_zeller_test
  2065. will_you_be_alive, a MATLAB code which carries out the probability simulations described in "Will You Be Alive 10 Years From Now?" by Paul Nahin;
  2066. will_you_be_alive_test
  2067. wishart, a MATLAB code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
  2068. wishart_test
  2069. wtime, a MATLAB code which returns a reading of the wall clock time in seconds.
  2070. wtime_test
  2071. xml2struct, a MATLAB code which reads a file containing XML data, and produces a corresponding MATLAB struct.
  2072. xml2struct_test
  2073. zero_rc, a MATLAB code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
  2074. zero_rc_test
  2075. ziggurat, a MATLAB code which implements uniform, normal and exponential random number generators (RNG) using the ziggurat method, by Marsaglia and Tsang.
  2076. ziggurat_test
  2077. zombie_ode, a MATLAB code which sets up a system of ordinary differential equations (ODE) for a generalized Susceptible-Infected-Recovered (SIR) disease model to simulate a zombie attack, developed by Philip Munz.
  2078. zombie_ode_test

Last revised on 05 August 2020.