# 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. backward_euler, a MATLAB code which solves one or more ordinary differential equations (ODE) using the backward Euler method.
97. backward_euler_test
98. ball_and_stick_display, a MATLAB code which demonstrates the creation of a 3D image constructed from balls and sticks;
99. ball_and_stick_display_test
100. 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.
101. ball_distance_test
102. ball_grid, a MATLAB code which computes a grid of points over the interior of the unit ball in 3D.
103. ball_grid_test
104. 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.
105. ball_integrals_test
106. 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;
107. ball_monte_carlo_test
108. 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.
109. bank_test
110. 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.
111. barycentric_interp_1d_test
112. 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.
113. bellman_ford_test
114. bernstein_approximation, a MATLAB code which looks at some simple cases of approximation of a function f(x) by a Bernstein polynomial.
115. bernstein_approximation_test
116. bernstein_polynomial, a MATLAB code which evaluates the Bernstein polynomials;
117. bernstein_polynomial_test
118. besselj, a MATLAB code which evaluates Bessel J functions of noninteger order;
119. besselj_test
120. besselzero, a MATLAB code which computes the zeros of Bessel functions j or y, by Greg van Winckel and Jason Nicholson.
121. besselzero_test
122. beta_nc, a MATLAB code which evaluates the cumulative density function (CDF) of the noncentral Beta distribution;
123. beta_nc_test
124. bezier_surface, a MATLAB code which reads, writes, prints and manipulates the data that defines a Bezier surface;
125. bezier_surface_test
126. bezier_surface_display, a MATLAB code which displays a Bezier surface;
127. bezier_surface_display_test
128. bicg, a MATLAB code which implements the biconjugate gradient method (BICG), which estimates the solution of a large sparse nonsymmetric linear system.
129. bicg_test
130. bicycle_lock, a MATLAB code which simulates the process of determining the secret combination of a bicycle lock, an integer between 000 and 999.
131. bicycle_lock_test
132. biochemical_linear_ode, a MATLAB code which defines a linear biochemical ordinary differential equation (ODE).
133. biochemical_linear_ode_test
134. biochemical_nonlinear_ode, a MATLAB code which defines a nonlinear biochemical ordinary differential equation (ODE).
135. biochemical_nonlinear_ode_test
136. 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].
137. bisection_integer_test
138. 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).
139. bisection_rc_test
140. black_scholes, a MATLAB code which implements some simple approaches to the Black-Scholes option valuation theory, by Desmond Higham.
141. black_scholes_test
142. blas0, a MATLAB code which contains auxilliary functions for the Basic Linear Algebra Subprograms (BLAS).
143. blas0_test
144. blas1_d, a MATLAB code which implements the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision real arithmetic;
145. blas1_d_test
146. blas1_z, a MATLAB code which implements the Level 1 Basic Linear Algebra Subprograms (BLAS), using double precision complex arithmetic;
147. blas1_z_test
148. blas2_d, a MATLAB code which contains the Level 2 Basic Linear Algebra Subprograms (BLAS) for matrix-vector operations, using double precision real arithmetic.
149. blas2_d_test
150. blas3_d, a MATLAB code which constitutes the Level 3 Basic Linear Algebra Subprograms (BLAS), for matrix-matrix operations using double precision real arithmetic.
151. blas3_d_test
152. blend, a MATLAB code which carries out 1D/2D/3D blending interpolation;
153. blend_test
154. blsprice_test
155. 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).
156. boundary_locus_test
157. 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.
158. boundary_locus2_test
159. 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.
160. boundary_word_test
161. 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;
162. box_behnken_test
163. box_display, a MATLAB code which displays a box plot, over integer pairs of data, of a function defined by two formulas.
164. box_display_test
165. 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.
166. box_flow_test
167. box_games, a MATLAB code which assists in the display of game boards (checkers, cellular automatons, life);
168. box_games_test
169. box_plot, a MATLAB code which displays a box plot of data that consists of pairs of integers;
170. box_plot_test
171. 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.
172. brain_sensor_pod_test
173. 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.
174. brent_test
175. brownian_motion_simulation, a MATLAB code which simulates Brownian motion in an M dimensional region.
176. brownian_motion_simulation_test
177. brusselator_ode, a MATLAB code which defines the Brusselator ordinary differential equation (ODE) system.
178. brusselator_ode_test
179. buckling_spring, a MATLAB code which plots solutions of the buckling spring equations.
180. buckling_spring_test
181. burgers_solution, a MATLAB code which evaluates exact solutions of the time-dependent 1D viscous Burgers equation.
182. burgers_solution_test
183. 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.
185. 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.
186. burgers_time_inviscid_test
187. 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.
188. burgers_time_viscous_test
189. bvec, a MATLAB code which demonstrates how signed integers can be stored as binary vectors, and arithmetic can be performed on them.
190. bvec_test
191. bvp_fd_test, a MATLAB code which demonstrates the use of the finite element method to solve a boundary value problem (BVP).
192. bvp4c_test
193. bvp_shooting_test, a MATLAB code which demonstrates the use of the shooting method to solve a boundary value problem (BVP).
194. bvp4c_test
195. c8lib, a MATLAB code which implements certain elementary functions for double precision complex ("C8") variables;
196. c8lib_test
197. caesar, a MATLAB code which can apply a Caesar Shift Cipher to a string of text.
198. caesar_test
199. calendar_nyt, a MATLAB code which shows the correspondence between dates and the New York Times volume and issue number;
200. calendar_nyt_test
201. calpak, a MATLAB code which makes various calendar calculations;
202. calpak_test
203. cauchy_principal_value, a MATLAB code which uses Gauss-Legendre quadrature to estimate the Cauchy Principal Value (CPV) of certain singular integrals.
204. cauchy_principal_value_test
205. cavity_flow_display, a MATLAB code which displays a single velocity field solution for the driven cavity;
206. cavity_flow_display_test
207. cavity_flow_movie, a MATLAB code which animates the velocity solutions for the driven cavity;
208. cc_display, a MATLAB code which displays the points used in a 2D Clenshaw-Curtis quadrature rule;
209. cc_display_test
210. cc_project, a MATLAB code which investigates generalized Clenshaw-Curtis quadrature rules for semi-infinite and infinite intervals, by John Boyd.
211. cc_project_test
212. 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.
213. ccn_rule, a MATLAB code which defines a Clenshaw Curtis Nested (CCN) quadrature rule.
214. ccn_rule_test
215. ccs_io a MATLAB code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.
216. ccs_io_test
217. ccs_to_st a MATLAB code which converts a sparse matrix from Compressed Column Storage (CCS) to sparse triplet (ST) format.
218. ccs_to_st_test
219. 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;
220. ccn_reflect_test
221. 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.
222. cell_test
223. cellular_automaton, a MATLAB code which demonstrates the 1D Cellular Automaton known as rule #30.
224. cellular_automaton_test
225. 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).
226. cg_test
227. cg_lab_triangles, a collection of programs associated with a computer lab assignment on computational geometry and triangles;
228. 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).
229. cg_rc_test
230. cg_squared, a MATLAB code which implements the conjugate gradient squared (CGS) method for solving a nonsymmetric sparse linear system A*x=b.
231. cg_squared_test
232. 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.
233. cgne_test
234. 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.
235. 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.
236. change_making_test
237. chebyshev, a MATLAB code which computes the Chebyshev interpolant/approximant to a given function over an interval.
238. chebyshev_test
239. 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).
240. chebyshev_interp_1d_test
241. chebyshev_polynomial, a MATLAB code which considers the Chebyshev polynomials T(i,x), U(i,x), V(i,x) and W(i,x).
242. chebyshev_polynomial_test
243. 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.
244. chebyshev_series_test
245. chebyshev1_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Chebyshev type 1 quadrature rules.
246. chebyshev1_exactness_test
247. chebyshev1_rule, a MATLAB code which computes and writes out a Gauss-Chebyshev type 1 quadrature rule of given order.
248. chebyshev1_rule_test
249. chebyshev2_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Chebyshev type 2 quadrature rules.
250. chebyshev2_exactness_test
251. chebyshev2_rule, a MATLAB code which computes and writes out a Gauss-Chebyshev type 2 quadrature rule of given order.
252. chebyshev2_rule_test
253. cheney_kincaid, a MATLAB code which contains examples from the text "Numerical Mathematics and Computing", by Cheney and Kincaid.
254. chrpak, a MATLAB code which manipulates characters and strings;
255. chrpak_test
256. chuckaluck_simulation, a MATLAB code which simulates the Chuck-a-Luck gambling game.
257. chuckaluck_simulation_test
258. circle_arc_grid, a MATLAB code which computes grid points along a circular arc.
259. circle_arc_grid_test
260. 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.
261. circle_distance_test
262. circle_grid_display a MATLAB code which reads a matrix of integers, and draws a corresponding grid of circles filled with color.
263. circle_grid_display_test
264. 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.
265. circle_integrals_test
266. circle_map, a MATLAB code which illustrates how a matrix maps points on the unit circle to an ellipse.
267. circle_map_test
268. 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;
269. circle_monte_carlo_test
270. 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).
271. circle_rule_test
272. circle_segment, a MATLAB code which carries out computations associated with a circle segment, including height, angle, area, centroid, sampling, and quadrature.
273. circle_segment_test
274. 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.
275. circles_test
276. cities, a MATLAB code which works with city-to-city distance matrices;
277. cities_test
278. clausen, a MATLAB code which evaluates a Chebyshev interpolant to the Clausen function Cl2(x).
279. clausen_test
280. clenshaw_curtis_rule, a MATLAB code which implements a Clenshaw Curtis quadrature rule;
281. clenshaw_curtis_rule_test
282. cnoise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law, by Miroslav Stoyanov.
283. cnoise_test
284. cobweb_plot, a MATLAB code which displays a cobweb plot illustrating the process of function iteration.
285. cobweb_plot_test
286. coin_simulation, a MATLAB code which looks at ways of simulating or visualizing the results of many tosses of a fair or biased coin.
287. coin_simulation_test
288. collatz, a MATLAB code which computes and analyzes the Collatz sequence, also known as the hailstone sequence or 3n+1 sequence;
289. collatz_test
290. collatz_recursive, a MATLAB code which demonstrates recursive programming by considering the simple Collatz 3n+1 problem.
291. collatz_recursive_test
292. 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.
293. collocation_test
294. colored_noise, a MATLAB code which generates samples of noise obeying a 1/f^alpha power law.
295. colored_noise_test
296. combination_lock, a MATLAB code which simulates the process of determining the secret combination of a lock.
297. combination_lock_test
298. 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.
299. combo_test
300. 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.
301. compass_search_test
302. complex_numbers_test
303. complexity_test
304. condition, a MATLAB code which implements methods of computing or estimating the condition number of a matrix.
305. condition_test
306. conte_deboor, a MATLAB code which contains examples from Conte and deBoor's Elementary Numerical Analysis text.
307. conte_deboor_test
308. continuation, a MATLAB code which implements the continuation method for a simple 2D problem.
309. continuation_test
310. continued_fraction a MATLAB code which implements some simple algorithms for dealing with simple and generalized continued fractions.
311. continued_fraction_test
312. contour_gradient, a MATLAB code which displays contours and gradient vectors for a function f(x,y).
314. contour_gradient_3d, a MATLAB code which displays contours and gradient vectors for a function f(x,y) in a 3D display.
316. contour_sequence4, a MATLAB code which creates images suitable for animation from one XY file and a sequence of u(x,y) data files;
317. contour_sequence4_test
318. convex_hull, a MATLAB code which demonstrates the computation of the convex hull of a set of 2D points.
319. convex_hull_test
320. coordinate_search, a MATLAB code which seeks the minimizer of a scalar function of several variables, by Jeff Borggaard.
321. coordinate_search_test
322. cordic, a MATLAB code which computes a few special functions using the CORDIC algorithm.
323. cordic_test
324. correlation, a MATLAB code which contains statistical correlation functions.
325. correlation_test
326. cosine_transform, a MATLAB code which demonstrates some simple properties of the discrete cosine transform (DCT).
327. cosine_transform_test
328. 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.
329. counterfeit_detection_test
330. cplex_solution_read, a MATLAB code which extracts solution data from a CPLEX result file.
332. 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.
333. cube_arbq_rule_test
334. 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.
335. cube_display_test
336. 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.
337. cube_distance_test
338. cube_exactness, a MATLAB code which investigates the polynomial exactness of quadrature rules over the interior of a cube in 3D.
339. cube_exactness_test
340. cube_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a cube in 3D.
341. cube_felippa_rule_test
342. cube_grid, a MATLAB code which computes a grid of points over the interior of a cube in 3D.
343. cube_grid_test
344. 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.
345. cube_integrals_test
346. 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.
347. cube_monte_carlo_test
348. 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.
349. cuda_loop_test
350. cvt, a MATLAB code which computes an N-point Centroidal Voronoi Tessellation (CVT) in M dimensions;
351. cvt_test
352. 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.
353. cvt_1d_lloyd_test
354. 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.
355. cvt_1d_lumping_test
356. 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;
357. cvt_1d_nonuniform_test
358. 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.
359. cvt_1d_sampling_test
360. 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.
361. cvt_2d_lumping_test
362. 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.
363. cvt_2d_sampling_test
364. 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.
365. cvt_3d_lumping_test
366. 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.
367. cvt_3d_sampling_test
368. 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;
369. cvt_box_test
370. cvt_circle_nonuniform, a MATLAB code which demonstrates the computation of a centroidal Voronoi Tessellation (CVT) over a circular region, using a nonuniform density.
371. cvt_circle_nonuniform_test
372. cvt_circle_uniform, a MATLAB code which demonstrates the computation of a centroidal Voronoi Tessellation (CVT) over a circular region, using a uniform density.
373. cvt_circle_uniform_test
374. 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.
375. cvt_ellipse_uniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over an ellipse, with a uniform density.
376. cvt_ellipse_uniform_test
377. 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.
378. 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.
379. cvt_metric, a MATLAB code which computes a Centroidal Voronoi Tessellation (CVT) under a spatially varying metric;
380. cvt_metric_test
381. cvt_movie, a MATLAB code which creates an animation of the evolution of a Centroidal Voronoi Tessellation (CVT);
382. cvt_movie2, a MATLAB code which creates a Centroidal Voronoi Tessellation (CVT) movie;
383. cvt_movie3, a MATLAB code which creates a Centroidal Voronoi Tessellation (CVT) movie in a region of unusual shape;
384. 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;
385. cvt_movie5, a MATLAB code which repeats cvt_movie3, but with hexagonal grid initialization, fixed points, and boundary projection;
386. cvt_square_nonuniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a nonuniform density.
387. cvt_square_nonuniform_test
388. 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.
389. cvt_square_pdf_discrete_test
390. cvt_square_uniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a square, with a uniform density.
391. cvt_square_uniform_test
392. cvt_triangle_uniform, a MATLAB code which iteratively calculates a Centroidal Voronoi Tessellation (CVT) over a triangle, with a uniform density.
393. cvt_triangle_uniform_test
394. 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.
395. cvtm_1d_test
396. cvtp, a MATLAB code which creates a CVTP dataset, that is, a Centroidal Voronoi Tessellation on a periodic region.
397. cvtp_test
398. 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.
399. cvtp_1d_test
400. 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.
401. cycle_brent_test
402. 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.
403. cycle_floyd_test
404. cyclic_reduction, a MATLAB code which solves a tridiagonal linear system using cyclic reduction;
405. cyclic_reduction_test
406. 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. With every new release of MATLAB, this program breaks again!
407. 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.
409. 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.
410. dg1d_burgers_test
411. 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.
412. dg1d_heat_test
413. 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.
414. dg1d_maxwell_test
415. 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.
416. dg1d_poisson_test
417. diaphony, a MATLAB code which reads a file of N points in M dimensions and computes its diaphony, a measure of point dispersion.
418. diaphony_test
419. dice_simulation, a MATLAB code which simulates N tosses of M dice, making a histogram of the results.
420. dice_simulation_test
421. dictionary_code, a MATLAB code which demonstates how a text file can be compressed and decompressed using a dictionary code.
422. dictionary_code_test
423. diff_test
424. diff_center, a MATLAB code which interactively uses centered differences to estimate the derivative of a function f(x), using a stepsize h.
425. diff_center_test
426. diff_forward, a MATLAB code which interactively uses forward differences to estimate the derivative of a function f(x), using a stepsize h.
427. diff_forward_test
428. diff2_center, a MATLAB code which interactively uses centered differences to estimate the second derivative of a function f(x), using a stepsize h.
429. diff2_center_test
430. 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.
431. differ_test
432. digital_dice, a MATLAB code which carries out the probability simulations described in "Digital Dice", by Paul Nahin;
433. digital_dice_test
434. dijkstra, a MATLAB code which implements a simple version of the Dijkstra minimum distance algorithm for graphs.
435. dijkstra_test
436. diophantine, a MATLAB code which finds one solution of a diophantine equation in any number of variables.
437. diophantine_test
438. diophantine_2d, a MATLAB code which solves diophantine equations in two variables, linear equations with integer coefficients, for which only integer solutions are allowed.
439. diophantine_2d_test
440. diophantine_3d, a MATLAB code which is given a Diophantine equation in 3 variables, and returns all nonnegative solutions, or all strictly positive solutions.
441. diophantine_3d_test
442. diophantine_4d, a MATLAB code which is given a Diophantine equation in 4 variables, and returns all nonnegative solutions, or all strictly positive solutions.
443. diophantine_4d_test
444. diophantine_5d, a MATLAB code which is given a Diophantine equation in 5 variables, and returns all nonnegative solutions, or all strictly positive solutions.
445. diophantine_5d_test
446. diophantine_nd, a MATLAB code which is given a Diophantine equation in N variables, and returns all nonnegative solutions, or all strictly positive solutions.
447. diophantine_nd_doc
448. diophantine_nd_test
449. 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.
450. discrete_pdf_sample_2d_test
451. 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.
452. disk_distance_test
453. 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.
454. disk_grid_test
455. disk_integrands, a MATLAB code which defines several test integrals over the unit disk, making it possible to check the accuracy of quadrature rules.
456. disk_integrands_test
457. 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.
458. disk_monte_carlo_test
459. disk_rule, a MATLAB code which computes quadrature rules for the general disk in 2D.
460. disk_rule_test
461. 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.
462. disk01_integrals_test
463. 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;
464. disk01_monte_carlo_test
465. 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;
466. disk01_quarter_monte_carlo_test
467. 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).
468. disk01_quarter_rule_test
469. disk01_rule, a MATLAB code which computes quadrature rules for the unit disk in 2D.
470. disk01_rule_test
471. dist_plot, a MATLAB code which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh() code;
472. dist_plot_test
473. distance_to_position, a MATLAB code which estimates the positions of cities which minimizes the discrepancy with a city-to-city distance table.
474. distance_to_position_test
475. 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.
476. distance_to_position_sphere_test
477. distmesh, a MATLAB code which carries out a method of mesh generation; by Per-Olof Persson and Gilbert Strang.
478. distmesh_test
479. distmesh_3d, a MATLAB code which carries out a method of mesh generation in 3D, by Per-Olof Persson and Gilbert Strang.
480. distmesh_3d_test
481. divdif, a MATLAB code which uses divided differences to compute the polynomial interpolant to a given set of data.
482. divdif_test
483. dlap_io, a MATLAB code which reads and writes DLAP sparse matrix files;
484. dlap_io_test
485. 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.
486. doomsday_test
487. 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.
488. dot_l2_test
489. double_c_data, MATLAB codes which generate, plot or write out 2D data that forms two interlocking "C" shapes.
490. double_c_data_test
491. 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.
492. double_pendulum_movie_test
493. double_pendulum_ode, a MATLAB code which defines the double pendulum ordinary differential equation (ODE).
494. double_pendulum_ode_test
495. 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.
496. dream_test
497. 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.
498. drug_dosage_test
499. duel_simulation, a MATLAB code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
500. duel_simulation_test
501. dueling_idiots, a MATLAB code which carries out the probability simulations described in "Dueling Idiots", by Paul Nahin;
502. dueling_idiots_test
503. e_spigot, a MATLAB code which produces N digits of the decimal expansion of e.
504. e_spigot_test
505. earth_sphere, a MATLAB code which can display a 3D image of the earth;
506. earth_sphere_test
507. edge, a MATLAB code which defines some test functions in 1D, 2D and 3D for the detection of edges or discontinuities.
508. edge_test
509. eigenfaces, a MATLAB code which applies principal component analysis to a set of images.
510. eigenfaces_test
511. ellipse_grid, a MATLAB code which computes a grid of points over the interior of an ellipse in 2D.
512. ellipse_grid_test
513. 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.
514. ellipse_monte_carlo_test
515. ellipsoid_grid, a MATLAB code which computes a grid of points over the interior of an ellipsoid in 3D.
516. ellipsoid_grid_test
517. 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.
518. ellipsoid_monte_carlo_test
519. elliptic_integral, a MATLAB code which evaluates complete elliptic integrals of first, second and third kind, using the Carlson elliptic integral functions.
520. elliptic_integral_test
521. epicycloid, a MATLAB code which computes, plots and tabulates an epicycloid curve.
522. epicycloid_test
523. equidistribution, investigates equidistribution properties relating to density functions and point sets.
524. equidistribution_test
525. eros, a MATLAB code which implements elementary row operations (EROs) for the interactive solution of a system of linear equations.
526. eros_test
527. errors, MATLAB codes which illustrate the failure of numerical algorithms;
528. errors_test
529. 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.
530. etdrk4_test
531. euler, a MATLAB code which solves one or more ordinary differential equations (ODE) using the forward Euler method.
532. euler_test
533. 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).
534. exactness_test
535. exm, a MATLAB code which illustrates the computational experiments in "Experiments with Matlab", by Cleve Moler.
536. exm_test
537. faces_average, a MATLAB code which averages several images of the same face;
538. faces_average_test
539. fair_dice_simulation, a MATLAB code which simulates N tosses of 2 dice, making a histogram of the results.
540. fair_dice_simulation_test
541. 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.
542. fastgl_test
543. faure, a MATLAB code which computes the Faure M dimensional Quasi Mont Carlo (QMC) sequence;
544. faure_test
545. fd_predator_prey, a MATLAB code which solves a time-dependent predator prey system using the finite difference method (FDM).
546. fd_predator_prey_test
547. 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.
549. 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.
551. 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.
553. 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.
555. 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.
556. fd1d_burgers_lax_test
557. 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.
558. fd1d_burgers_leap_test
559. fd1d_bvp, a MATLAB code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
560. fd1d_bvp_test
561. 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.
562. fd1d_display_test
563. fd1d_heat_explicit, a MATLAB code which implements a finite difference method (FDM), explicit in time, to solve the time dependent 1D heat equation;
564. fd1d_heat_explicit_test
565. fd1d_heat_implicit, a MATLAB code which implements a finite difference method (FDM), implicit in time, to solve the time dependent 1D heat equation;
566. fd1d_heat_implicit_test
567. fd1d_heat_steady, a MATLAB code which implements a finite difference method (FDM) for the steady (time independent) 1D heat equation;
569. 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).
570. fd1d_poisson_test
571. 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.
572. fd1d_predator_prey_test
573. fd1d_predator_prey_plot, a MATLAB code which plots solutions from the fd1d_predator_prey program, by Marcus Garvie.
574. fd1d_predator_prey_plot_test
575. 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.
576. fd1d_wave_test
577. fd2d_convergence_test
578. fd2d_heat_steady, a MATLAB code which implements a finite difference method (FDM) for the steady (time independent) 2D heat equation;
580. 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).
581. fd2d_poisson_test
582. 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.
583. fd2d_predator_prey_test
584. 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).
585. fd3d_poisson_test
586. 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.
587. fe2d_predator_prey_fast_test
588. 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.)
589. fem_basis_test
590. 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;
591. fem_basis_q4_display_test
592. 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;
593. fem_basis_t3_display_test
594. 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;
595. 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;
596. 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;
597. fem_io_test
598. 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).
599. fem_neumann_test
600. 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.
601. fem_to_gmsh_test
602. 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.
603. fem_to_mesh_test
604. 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.
605. fem_to_triangle_test
606. 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.
607. fem_to_xml_test
608. 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;
609. fem1d_test
610. 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;
612. 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.
613. fem1d_approximate_test
614. 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.
615. fem1d_bvp_linear_test
616. 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.
618. 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.
619. fem1d_display_test
620. 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.
621. fem1d_display_function_10_test
622. 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.
623. fem1d_heat_explicit_test
624. 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.
625. fem1d_heat_implicit_test
626. fem1d_heat_steady, a MATLAB code which implements the finite element method (FEM) for the steady (time independent) 1D heat equation;
628. 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.
629. fem1d_lagrange_test
630. 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;
631. fem1d_nonlinear_test
632. fem1d_pack, a MATLAB code which contains utilities for 1D finite element method (FEM) calculations.
633. fem1d_pack_test
634. 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;
635. fem1d_pmethod_test
636. 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.
637. fem1d_project_test
638. 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.
639. fem1d_sample_test
640. 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.
641. fem1d_spectral_numeric_test
642. 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.
643. fem1d_spectral_symbolic_test
644. 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.
645. fem2d_bvp_linear_test
646. 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.
648. 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.
649. fem2d_bvp_serene_test
650. 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;
651. fem2d_heat_test
652. 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;
653. fem2d_heat_rectangle_test
654. 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;
655. fem2d_heat_sparse_test
656. 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.
657. fem2d_mesh_display_test
658. fem2d_pack, a MATLAB code which performs simple 2D finite element method (FEM) computations;
659. fem2d_pack_test
660. 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.
661. 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.
662. 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.
663. fem2d_project_test
664. 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.
665. fem2d_project_function_test
666. 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.
667. fem2d_sample_test
668. 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.
669. 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.
670. 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.
671. fem2d_scalar_display_brief_test
672. 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.
673. fem2d_scalar_display_gpl_test,
674. fem3d_pack, a MATLAB code which contains utilities for 3D finite element method (FEM) calculations.
675. fem3d_pack_test
676. 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).
677. fem3d_project_test
678. fem3d_sample, a MATLAB code library which evaluates a function defined on a 3D tetrahedral mesh as part of the finite element method (FEM).
679. fem3d_sample_test
680. fern, a MATLAB code which uses MATLAB graphics to compute and display the Barnsley fractal fern.
681. fern_test
682. 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.
683. feynman_kac_1d_test
684. 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.
685. feynman_kac_2d_test
686. 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.
687. feynman_kac_1d_test
688. fft_serial, a MATLAB code which computes a Fast Fourier Transform (FFT), and is intended as a starting point for implementing a parallel version.
689. fft_serial_test
690. fibonacci_spiral, a MATLAB code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.
691. fibonacci_spiral_test
692. file_increment, a MATLAB code which makes a copy of a file containing an integer array, after incrementing each entry by a given value.
693. file_increment_test
694. 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.
695. file_name_sequence_test
696. files_multiple_test
697. filon, a MATLAB code which can approximate integrals in which the integrand includes an oscillatory factor of sin(k*x) or cos(k*x).
698. filon_test
699. filum, a MATLAB code which handles files and filenames;
700. filum_test
701. fire_simulation, a MATLAB code which simulates a forest fire over a rectangular array of trees, starting at a single random location.
702. fire_simulation_test
703. fitnlm_test, a MATLAB code which tests the MATLAB fitnlm() function, which fits a nonlinear regression model.
704. 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.
705. flame_ode_test
706. 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.
707. florida_cvt_geo_test
708. florida_cvt_pop, MATLAB codes which explore the creation of a centroidal Voronoi Tessellation (CVT) of the state of Florida, based on population considerations.
709. florida_cvt_pop_test
710. floyd, a MATLAB code which implements the Floyd algorithm for finding the shortest distance between pairs of nodes on a directed graph.
711. floyd_test
712. fmincon_test
713. 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.
714. fn_test
715. freefem++_msh_io, a MATLAB code which can read and write files used by the FreeFem++ finite element program to store mesh information.
716. freefem++_msh_io_test
717. fsolve_test, a MATLAB code which calls fsolve() which seeks the solution x of one or more nonlinear equations f(x)=0.
718. gamblers_ruin_simulation, a MATLAB code which simulates a game in which a gambler never stops playing until all money is lost.
719. gamblers_ruin_simulation_test
720. gauss_seidel, a MATLAB code which implements the Gauss-Seidel iteration for linear systems.
721. gauss_seidel_test
722. 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.
723. gauss_seidel_poisson_1d_test
724. gaussian, a MATLAB code which evaluates the Gaussian function and its derivatives.
725. gaussian_test,
726. gdls, a MATLAB code which uses gradient descent to solve a linear least squares problem.
727. gdls_test
728. ge_to_crs, a MATLAB code which converts a matrix from General (GE) to Compressed Row Storage (CRS) format.
729. ge_to_crs_test
730. gegenbauer_cc, a MATLAB code which computes the Gegenbauer weighted integral of a function f(x) using a Clenshaw-Curtis approach.
731. gegenbauer_cc_test
732. gegenbauer_exactness, a MATLAB code which tests the polynomial exactness of Gauss-Gegenbauer quadrature rules.
733. gegenbauer_exactness_test
734. gegenbauer_polynomial, a MATLAB code which evaluates the Gegenbauer polynomial and associated functions.
735. gegenbauer_polynomial_test
736. gegenbauer_rule, a MATLAB code which computes and writes out a Gauss-Gegenbauer quadrature rule of given order.
737. gegenbauer_rule_test
738. gen_hermite_exactness, a MATLAB code which tests the polynomial exactness of generalized Gauss-Hermite quadrature rules.
739. gen_hermite_exactness_test
740. gen_hermite_rule, a MATLAB code which computes and writes out a generalized Gauss-Hermite quadrature rule of given order and parameter value.
741. gen_hermite_rule_test
742. gen_laguerre_exactness, a MATLAB code which tests the polynomial exactness of generalized Gauss-Laguerre quadrature rules.
743. gen_laguerre_exactness_test
744. gen_laguerre_rule, a MATLAB code which computes and writes out a generalized Gauss-Laguerre quadrature rule of given order and parameter value.
745. gen_laguerre_rule_test
746. 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.
747. geometry_test
748. gl_display, a MATLAB code which displays the points used in a 2D Gauss-Legendre quadrature rule;
749. gl_display_test
750. gmres, a MATLAB code which implements the generalized minimum residual (GMRES) method for solving a nonsymmetric sparse linear system A*x=b.
751. gmres_test
752. 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).
753. gmsh_io_test
754. 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.
755. gmsh_to_fem_test
756. gnuplot_test, MATLAB codes which use gnuplot() to create various kinds of plots.
757. 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.
758. gpl_display_test
759. gram_polynomial, a MATLAB code which evaluates the Gram polynomials and associated functions.
760. gram_polynomial_test
761. gram_schmidt, a MATLAB code which implements the Gram-Schmidt process to orthogonalize and normalize a set of vectors.
762. gram_schmidt_test
763. graph_representation, a MATLAB code which can express the representation of an abstract mathematical graph in several ways.
764. graph_representation_test
765. graphics_test, MATLAB codes which demonstrate how to make various kinds of plots.
766. 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.
767. gray_code_display_test
768. grf_display, a MATLAB code which reads a GRF file defining a mathematical graph and displays it in the MATLAB graphics window.
769. grf_display_test
770. grf_io, a MATLAB code which reads or writes a GRF file;
771. grf_io_test
772. 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;
773. grid_display_test
774. gridlines, a MATLAB code which gives the user more control over drawing gridlines on a graph than the built in "grid on" command.
775. gridlines_test
776. 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.
777. grids_display_test
778. 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().
780. haar, a MATLAB code which computes the Haar transform of data.
781. haar_test
782. halton, a MATLAB code which computes elements of a Halton Quasi Monte Carlo (QMC) sequence, using a simple interface.
783. halton_test
784. hammersley, a MATLAB code which computes elements of a Hammersley Quasi Monte Carlo (QMC) sequence, using a simple interface.
785. hammersley_test
786. hamming, a MATLAB code which implements some simple versions of Hamming codes which can detect and correct errors in data.
787. hamming_test
788. hand_area, a MATLAB code which estimates the area of a curve which outlines a hand.
789. hand_area_test
790. hand_data, MATLAB codes which carry out some numerical exercises based on data that came from tracing several points on a hand.
791. hand_data_test
792. hankel_cholesky, a MATLAB code which computes the upper Cholesky factor R of a nonnegative definite symmetric Hankel matrix so that H = R' * R.
793. hankel_cholesky_test
794. hankel_inverse, a MATLAB code which computes the inverse of a Hankel matrix.
795. hankel_inverse_test
796. 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'.
797. hankel_spd_test
798. 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.
799. hb_io_test
800. hb_to_mm, a MATLAB code which converts a sparse matrix from Harwell Boeing (HB) to Matrix Market (MM) format.
801. hb_to_mm_test
802. hb_to_msm, a MATLAB code which converts a sparse matrix stored in a Harwell Boeing (HB) format to MATLAB sparse matrix format;
803. hb_to_msm_test
804. hb_to_st, a MATLAB code which converts a sparse matrix from Harwell Boeing (HB) format to Sparse Triplet (ST) format.
805. hb_to_st_test
806. 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.
807. heated_plate_test
808. hello, a MATLAB code which prints out "Hello, world!".
809. hello_test
810. 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.
811. henon_heiles_ode_test
812. 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.
813. hermite_cubic_test
814. 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).
815. hermite_exactness_test
816. hermite_integrands, a MATLAB code which defines test integrands for Hermite integrals with density exp(-x^2) over the interval (-oo,+oo).
817. hermite_integrands_test
818. hermite_interpolant, a MATLAB code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
819. hermite_interpolant_test
820. hermite_polynomial, a MATLAB code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.
821. hermite_polynomial_test
822. 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).
823. hermite_product_display_test
824. hermite_product_polynomial, a MATLAB code which defines Hermite product polynomials, creating a multivariate polynomial as the product of univariate Hermite polynomials.
825. hermite_product_polynomial_test
826. 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).
827. hermite_rule_test
828. hexagon_rule, a MATLAB code which computes a quadrature rule over the interior of the unit hexagon.
829. hexagon_rule_test
830. 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.
831. high_card_simulation_test
832. hilbert_curve, a MATLAB code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
833. hilbert_curve_test
834. hilbert_curve_display, a MATLAB code which can plot a Hilbert curve of given order.
835. hilbert_curve_display_test
836. 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.
837. histogram_data_2d_test
838. histogram_discrete, a MATLAB code which tries to make a histogram of data without using bins.
839. histogram_discrete_test
840. 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;
841. histogram_display_test
842. 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.
843. histogram_pdf_sample_test
844. 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.
845. histogram_pdf_2d_sample_test
846. 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.
847. histogramize_test
848. hits, a MATLAB code which uses the HITS algorithm to assign authority and hub indices to a set of nodes in a directed network.
849. hits_test
850. 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.
851. house_test
852. humps, a MATLAB code which evaluates the humps function, its first and second derivatives and its antiderivative.
853. humps_test
854. humps_ode, a MATLAB code which solves an ordinary differential equation (ODE) whose solution is a double hump curve.
855. humps_ode_test
856. 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.
857. hyperball_distance_test
858. 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.
859. hyperball_integrals_test
860. 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;
861. hyperball_monte_carlo_test
862. hypercube_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule over the interior of the unit hypercube in M dimensions.
863. hyperball_exactness_test
864. hypercube_grid, a MATLAB code which computes a grid of points over the interior of a hypercube in M dimensions.
865. hypercube_grid_test
866. 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.
867. hypercube_integrals_test
868. 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.
869. hypercube_monte_carlo_test
870. 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.
871. hypersphere_angle_test
872. 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.
873. hypersphere_distance_test
874. 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.
875. hypersphere_integrals_test
876. 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;
877. hypersphere_monte_carlo_test
878. 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.
879. hypersphere_properties_test
880. 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.
881. hypersphere_surface_test
882. i4lib, a MATLAB code which contains many utility routines, using single precision integer (I4) arithmetic.
883. i4lib_test
884. i4mat_rref2, a MATLAB code which computes a version of the reduced row echelon form of an integer matrix.
885. i4mat_rref2_test
886. image_boundary, a MATLAB code which reports the pixels which form the boundary between the black and white regions of a simple image.
887. image_boundary_test
888. image_components, a MATLAB code which seeks the connected nonzero or nonblack components of an image or an integer array.
889. image_components_test
890. image_contrast, MATLAB codes which applies image processing techniques to increase the contrast in an image.
891. image_contrast_test
892. image_decimate, a MATLAB code which drops the even rows and columns from an image.
893. image_decimate_test
894. image_denoise, a MATLAB code which applies simple filtering operations to a noisy image.
895. image_denoise_test
896. image_diffuse, a MATLAB code which uses diffusion to smooth out an image.
897. image_diffuse_test
898. image_double, a MATLAB code which doubles the height and width of an image by repeating each row and column.
899. image_double_test
900. image_edge, a MATLAB code which demonstrates a simple procedure for edge detection in images.
901. image_edge_test
902. 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.
903. image_match_genetic_test
904. image_noise, MATLAB codes which add noise to an image.
905. image_noise_test
906. 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.
907. image_normalize_test
908. 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.
909. image_quantization_test
910. image_rgb_to_gray, MATLAB codes which makes a grayscale version of an RGB image.
911. image_rgb_to_gray_test
912. 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.
913. image_threshold_test
914. imshow_numeric, a MATLAB code which accepts a numeric 2D array and displays it as a grayscale image.
915. imshow_numeric_test
916. 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.
917. index_test
918. interp, a MATLAB code which can be used for parameterizing and interpolating data;
919. interp_test
920. 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.
921. interp_cheby_test
922. 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.
923. interp_equal_test
924. 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.
925. interp_ncs_test
926. interp_spline, a MATLAB code which interactively constructs a cubic spline interpolant to a function f(x), using the 'not-a-knot' end conditions.
927. interp_spline_test
928. interp_spline_data, a MATLAB code which interactively constructs a cubic spline interpolant to (x,y) data, using the 'not-a-knot' end conditions.
929. interp_spline_data_test
930. 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.
931. interp_trig_test
932. iplot, a MATLAB code which interactively plots a function f(x) over a domain a ≤ x ≤ b;
933. iplot_test
934. isbn, a MATLAB code which can determine the check digit for an International Standard Book Number or report whether a given ISBN is valid.
935. isbn_test
936. 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.
937. ising_2d_simulation_test
938. jacobi, a MATLAB code which implements the Jacobi iteration for the iterative solution of linear systems.
939. jacobi_test
940. jacobi_eigenvalue, a MATLAB code which implements the Jacobi iteration for the iterative determination of the eigenvalues and eigenvectors of a real symmetric matrix.
941. jacobi_eigenvalue_test
942. jacobi_exactness, a MATLAB code which tests the polynomial exactness of rules for integrals with a Jacobi weight function.
943. jacobi_exactness_test
944. 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.
945. jacobi_poisson_1d_test
946. jacobi_polynomial, a MATLAB code which evaluates the Jacobi polynomial and associated functions.
947. jacobi_polynomial_test
948. jacobi_rule, a MATLAB code which computes and writes out a Gauss-Jacobi quadrature rule of given order.
949. jacobi_rule_test
950. jai_alai_simulation, a MATLAB code which simulates matches of jai alai.
951. jai_alai_simulation_test
952. jordan_random, a MATLAB code which returns a random matrix in Jordan canonical form.
953. jordan_random_test
954. kelley, a MATLAB code which implements iterative methods for linear and nonlinear problems, by Tim Kelley.
955. kelley_test
956. kepler_ode, a MATLAB code which defines the ordinary differential equations (ODE) for a Kepler two-body gravitational system.
957. kepler_ode_test
958. kepler_perturbed_ode, a MATLAB code which defines the ordinary differential equations (ODE) for a perturbed Kepler two-body gravitational system.
959. kepler_perturbed_ode_test
960. keyword_test, a MATLAB code which demonstrates how to write a function which accepts named keywords, using the MATLAB Name/Value paired argument convention.
961. kmeans, a MATLAB code which handles the K-Means problem, which organizes a set of N points in M dimensions into K clusters;
962. kmeans_test
963. 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.
964. kmeans_fast_test
965. knapsack_01, a MATLAB code which uses brute force to solve small versions of the 0/1 knapsack problem;
966. knapsack_01_test
967. kronrod, a MATLAB code which can compute a Gauss and Gauss-Kronrod pair of quadrature rules of arbitrary order, by Robert Piessens, Maria Branders.
968. kronrod_test
969. l4lib, a MATLAB code which contains many utility routines, using one byte logical (L4) variables.
970. l4lib_test
971. 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)).
972. lagrange_approx_1d_test
973. lagrange_basis_display, a MATLAB code which displays the basis functions associated with a given set of nodes used with the Lagrange interpolation scheme.
974. lagrange_basis_display_test
975. 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).
976. lagrange_interp_1d_test
977. 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).
978. lagrange_interp_2d_test
979. 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).
980. lagrange_interp_nd_test
981. lagrange_nd, a MATLAB code which implements several multivariate Lagrange interpolation schemes developed by Tomas Sauer.
982. lagrange_nd_test
983. 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).
984. laguerre_exactness_test
985. laguerre_integrands, a MATLAB code which implements test problems for approximate integration over a semi-infinite interval, often carried out using Gauss-Laguerre quadrature.
986. laguerre_integrands_test
987. laguerre_polynomial, a MATLAB code which evaluates the Laguerre polynomial, the generalized Laguerre polynomials, and the Laguerre function.
988. laguerre_polynomial_test
989. laguerre_product, a MATLAB code which computes weighted integrals of products of Laguerre polynomials.
990. laguerre_product_test
991. laguerre_rule, a MATLAB code which computes a Gauss-Laguerre quadrature rule of given order, and writes it to a file.
992. laguerre_rule_test
993. 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.
994. laplacian_test
995. latin_center, a MATLAB code which computes N points in an M dimensional Latin Center square;
996. latin_center_test
997. latin_cover, a MATLAB code which produces N Latin squares which cover an NxN square, or NxN Latin cubes which cover an NxNxN cube.
998. latin_cover_test
999. latin_edge, a MATLAB code which returns N points in an M dimensional Latin Edge square;
1000. latin_edge_test
1001. latin_random, a MATLAB code which returns N points in an M dimensional Latin Random square;
1002. latin_random_test
1003. latinize, a MATLAB code which adjusts N points in M dimensions to form a Latin hypercube;
1004. latinize_test
1005. lattice_rule, a MATLAB code which returns lattice rules for M dimensional integration;
1006. lattice_rule_test
1007. lcvt, a MATLAB code which makes a sort of Latinized Centroidal Voronoi Tessellation (LCVT);
1008. lcvt_test
1009. least_squares_approximant, a MATLAB code which finds a polynomial approximant to data using linear least squares (LLS).
1010. least_squares_approximant_test
1011. 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.
1012. lebesgue_test
1013. 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].
1014. legendre_exactness_test
1015. legendre_polynomial, a MATLAB code which evaluates the Legendre polynomial and associated functions.
1016. legendre_polynomial_test
1017. legendre_product, a MATLAB code which computes weighted integrals of products of Legendre polynomials.
1018. legendre_product_test
1019. legendre_product_polynomial, a MATLAB code which defines Legendre product polynomials, creating a multivariate polynomial as the product of univariate Legendre polynomials.
1020. legendre_product_polynomial_test
1021. legendre_rule, a MATLAB code which writes out a Gauss-Legendre quadrature rule of given order.
1022. legendre_rule_test
1023. legendre_rule_fast, a MATLAB code which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order.
1024. legendre_rule_fast_test
1025. legendre_shifted_polynomial, a MATLAB code which evaluates the shifted Legendre polynomial, with the domain [0,1].
1026. legendre_shifted_polynomial_test
1027. levels, a MATLAB code which makes a contour plot, choosing the contour levels using random sampling.
1028. levels_test
1029. levenshtein, a MATLAB code which returns the Levenshtein distance between two strings.
1030. levenshtein_test
1031. 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.
1032. life_test
1033. lights_out, a MATLAB code which sets up the "Lights Out" game and allows a user to try to solve it.
1034. 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.
1035. line_cvt_lloyd_test
1036. 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.
1037. line_distance_test
1038. 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.
1039. line_fekete_rule_test
1040. line_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a line segment in 1D.
1041. line_felippa_rule_test
1042. line_grid, a MATLAB code which computes a grid of points over the interior of a line segment in 1D.
1043. line_grid_test
1044. 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.
1045. line_integrals_test
1046. 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.
1047. line_monte_carlo_test
1048. 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.
1049. line_ncc_rule_test
1050. 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.
1051. line_nco_rule_test
1052. linpack_bench, a MATLAB code which is the linpack benchmark;
1053. linpack_bench_test
1054. linpack_bench_backslash, a MATLAB code which is the linpack benchmark, using the MATLAB built-in backslash operator;
1055. linpack_bench_backslash_test
1056. 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.
1057. linpack_d_test
1058. 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.
1059. linpack_z_test
1060. 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.
1061. llsq_test
1063. lobatto_polynomial, a MATLAB code which evaluates Lobatto polynomials similar to Legendre polynomials except that they are 0 at both endpoints.
1064. lobatto_polynomial_test
1065. 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.
1066. local_min_rc_test
1067. log_normal, a MATLAB code which returns quantities related to the log normal Probability Distribution Function (PDF).
1068. log_normal_test
1069. 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].
1070. log_normal_truncated_ab_test
1071. lorenz_cluster_test
1072. lorenz_ode, defines the right hand side of the Lorenz ODE system.
1073. lorenz_ode_test
1074. lorenz_sensitivity_test
1075. 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.
1076. luhn_test
1077. machar, a MATLAB code which dynamically computes the values of various machine characteristic constants, by William Cody;
1078. machar_test
1079. machine, a MATLAB code which returns tabulated values of the constants associated with computer arithmetic;
1080. machine_test
1081. mandelbrot, a MATLAB code which generates an image of the Mandelbrot set;
1082. mandelbrot_test
1083. 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.
1084. maple_area_test
1085. maple_boundary, a MATLAB code which reads an image of a maple leaf and extracts the list of pixels that form the boundary.
1086. maple_boundary_test
1087. mario, a MATLAB code which creates a sort of "needlepoint" image of Mario, as an array of colored squares.
1088. mario_test
1089. matlab_test, MATLAB codes which illustrate the use of MATLAB scripts and M-files;
1090. matlab_calls_c, MATLAB codes which illustrate how C functions can be written, compiled, and called from MATLAB using the mex facility;
1091. matlab_calls_c++, MATLAB codes which illustrate how C++ functions can be written, compiled, and called from MATLAB using the mex facility;
1092. matlab_calls_f77, MATLAB codes which illustrate how FORTRAN77 functions can be written, compiled, and called from MATLAB using the mex facility;
1093. matlab_calls_f90, MATLAB codes which illustrate how FORTRAN90 functions can be written, compiled, and called from MATLAB using the mex facility;
1094. 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.
1095. matlab_compiler, MATLAB codes which illustrate the use of the Matlab compiler, which allows you to run a Matlab application outside the Matlab environment.
1096. matlab_condor, MATLAB codes which illustrate how MATLAB can be run in batch mode using the condor queueing system.
1097. matlab_graphics, MATLAB codes which demonstrate a few issues that arise when producing graphic images with MATLAB.
1098. matlab_kmeans, MATLAB codes which illustrate the use of the Matlab kmeans() function for clustering N sets of M-dimensional data into K clusters.
1099. 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.
1100. matlab_mistake, MATLAB codes which illustrate some simple but devious programming mistakes in MATLAB.
1101. 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);
1102. matlab_random, MATLAB codes which illustrate the use of the Matlab random number generator (RNG) routines.
1103. matlab_return, MATLAB codes which illustrate that explicitly invoking the return statment can be surprisingly costly;
1104. matrix_analyze, a MATLAB code which reports whether a matrix has various properties.
1105. matrix_analyze_test
1106. matrix_exponential, a MATLAB code which demonstrates some simple approaches to the problem of computing the exponential of a matrix.
1107. matrix_exponential_test
1108. md, a MATLAB code which carries out a molecular dynamics simulation, and is intended as a starting point for implementing a parallel version.
1109. md_test
1110. 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.
1111. md_fast_test
1112. 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.
1113. memory_test
1114. 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.
1115. mesh_bandwidth_test
1116. mesh_display, a MATLAB code which plots the nodes and elements of a polygonal mesh, with optional numbering.
1117. mesh_display_test
1118. mesh_etoe, a MATLAB code which uses ETOV, the mesh element-to-vertex connectivity, to construct ETOE, the element-to-element connectivity.
1119. mesh_etoe_test
1120. mesh_vtoe, a MATLAB code which uses ETOV, the mesh element-to-vertex connectivity, to construct VTOE, the vertex-to-element connectivity.
1121. mesh_vtoe_test
1122. mesh2d, a MATLAB code which can automatically create a triangular mesh for a given polygonal region, by Darren Engwirda.
1123. mesh2d_test
1124. 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.
1125. mesh2d_write, a MATLAB code which demonstrates how node and element data from mesh2d can be written to files.
1126. 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.
1127. mgmres_test
1128. 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.
1129. mgs_test
1130. midpoint, a MATLAB code which solves one or more ordinary differential equations (ODE) using the midpoint method.
1131. midpoint_test
1132. mm_io, a MATLAB code which reads and writes a Matrix Market (MM) Sparse Matrix File;
1133. mm_io_test
1134. 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.
1135. mm_to_hb_test
1136. mm_to_msm, a MATLAB code which reads a Matrix Market (MM) sparse matrix file and creates a corresponding MATLAB sparse matrix data structure.
1137. mm_to_msm_test
1138. mm_to_st, a MATLAB code which reads a Matrix Market (MM) sparse matrix file and writes a corresponding Sparse Triplet (ST) file.
1139. mm_to_st_test
1140. mnist_neural, a MATLAB code which constructs a neural network in order to classify images of digits.
1141. mnist_neural_test
1142. monoalphabetic, a MATLAB code which can apply a monoalphabetic substitution cipher to a string of text.
1143. monoalphabetic_test
1144. 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.
1145. monomial_test
1146. monomial_value, a MATLAB code which evaluates a monomial in M dimensions.
1147. monomial_value_test
1148. 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.
1149. monte_carlo_rule_test
1150. msm_to_hb, a MATLAB code which writes a MATLAB sparse matrix to a Harwell Boeing (HB) file, by Xiaoye Li.
1151. msm_to_hb_test
1152. msm_to_mm, a MATLAB code which writes a MATLAB sparse matrix to a Matrix Market (MM) file;
1153. msm_to_mm_test
1154. msm_to_st, a MATLAB code which writes a MATLAB sparse matrix to a Sparse Triplet (ST) file;
1155. msm_to_st_test
1156. multigrid_poisson_1d, a MATLAB code which applies the multigrid method to a discretized version of the 1D Poisson equation.
1157. multigrid_poisson_1d_test
1158. 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.
1159. mxm_test
1160. 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.
1161. naca_test
1162. nas, a MATLAB code which runs the NASA kernel benchmark.
1163. nas_test
1164. 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.
1165. navier_stokes_2d_exact_test
1166. 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.
1167. navier_stokes_3d_exact_test
1168. 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.
1169. navier_stokes_mesh2d_test
1170. 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.
1171. navier_stokes_mesh3d_test
1172. ncm, MATLAB codes which accompany the textbook "Numerical Computing with MATLAB", by Cleve Moler.
1173. ncm_test
1174. nearest_interp_1d, a MATLAB code which interpolates a set of data using a piecewise constant interpolant defined by the nearest neighbor criterion.
1175. nearest_interp_1d_test
1176. 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.
1177. neighbors_to_metis_graph_test
1178. nelder_mead, a MATLAB code which implements the Nelder-Mead algorithm for the minimization of a scalar function of several variables, by Jeff Borggaard.
1180. nested_sequence_display, a MATLAB code which displays a set of nested sequences.
1181. nested_sequence_display_test
1182. netcdf_test
1183. newton_interp_1d, a MATLAB code which finds a polynomial interpolant to data using Newton divided differences.
1184. newton_interp_1d_test
1185. niederreiter2, a MATLAB code which computes the Niederreiter M dimensional Quasi Mont Carlo (QMC) sequence, base 2;
1186. niederreiter2_test
1187. 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.
1188. nint_exactness_mixed_test
1189. nintlib, a MATLAB code which carries out approximate integration (quadrature) in M dimensions;
1190. nintlib_test
1191. nonlin_bisect, a MATLAB code which interactively uses bisection to seek a zero of a function f(x) within a domain a ≤ x ≤ b;
1192. nonlin_bisect_test
1193. 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;
1194. nonlin_fixed_point_test
1195. nonlin_newton, a MATLAB code which interactively uses the Newton method, given formulas for f(x) and f'(x) and a starting point a.
1196. nonlin_newton_test
1197. 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;
1198. nonlin_regula_test
1199. 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;
1200. nonlin_secant_test
1201. 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.
1202. norm_l1_test
1203. 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.
1204. norm_l2_test
1205. 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.
1206. norm_loo_test
1207. 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.
1208. norm_rms_test
1209. normal, a MATLAB code which implements normal random number generators (RNG) for real and complex arithmetic, for scalars, vectors, and matrices.
1210. normal_test
1211. normal_ode, a MATLAB code which sets up an ordinary differential equation (ODE) defining the normal probability density function (PDF).
1212. normal_ode_test
1213. 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.
1214. normal01_multivariate_distance_test
1215. obj_display, a MATLAB code which displays an OBJ 3D graphics file;
1216. obj_display_test
1217. obj_io, a MATLAB code which reads and writes the data in an OBJ 3D graphics file;
1218. obj_io_test
1219. 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.
1220. obj_to_tri_surface_test
1221. octopus, a MATLAB code which contains some Octave utilities.
1222. octopus_test
1223. 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).
1224. ode_conservation_test
1225. 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.
1226. ode_euler_test
1227. 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.
1228. ode_euler_backward_test
1229. 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.
1230. ode_euler_system_test
1231. 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.
1232. ode_midpoint_test
1233. 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.
1234. ode_midpoint_system_test
1235. 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.
1236. ode_rk4_test
1237. 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.
1238. ode_trapezoidal_test
1239. ode_sweep, a MATLAB code which computes a grid of solutions to a parameterized system of ordinary differential equations (ODE).
1240. ode_sweep_test
1241. ode23_test
1242. ode45_test
1243. 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].
1244. opt_golden_test
1245. 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.
1247. 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.
1249. 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.
1250. opt_sample_test
1251. 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.
1252. ornstein_uhlenbeck_test
1253. outliers_test
1254. 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);
1255. optimal_control_1d_test
1256. oscillator_ode, a MATLAB code which defines the highly oscillatory ordinary differential equation (ODE).
1257. oscillator_ode_test
1258. owen, a MATLAB code which evaluates the Owen T function;
1259. owen_test
1260. 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.
1262. pagerank, a MATLAB code which illustrates the eigenvalue (power method) and surfer (Markov chain) approaches to ranking web pages.
1263. pagerank_test
1264. paraheat_gaussian, a MATLAB code which sets up and solves a parameterized steady heat equation in a 2D spatial domain, with a gaussian diffusivity.
1265. paraheat_gaussian_test
1266. paraheat_gaussian_plot, a MATLAB code which use radial basis functions (RBF) to reconstruct the finite element solution sampled by paraheat_gaussian().
1267. 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.
1268. 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.
1269. paraheat_pwc_test
1270. 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.
1271. paraheat_pwc_1d_test
1272. paraheat_pwc_plot, a MATLAB code which use radial basis functions (RBF) to reconstruct the finite element solution sampled by paraheat_pwc().
1273. 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.
1274. 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.
1275. pariomino_test
1276. partial_digest, a MATLAB code which seeks solutions of the partial digest problem.
1277. partial_digest_test
1278. partition_problem, a MATLAB code which seeks solutions of the partition problem, splitting a set of integers into two subsets with equal sum.
1279. partition_problem_test
1280. 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.
1281. patterson_rule_test
1282. pbma_io, a MATLAB code which reads or writes an ASCII Portable Bit Map (PBM) graphics file;
1283. pbma_io_test
1284. 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.
1285. pce_ode_hermite_test
1286. pdepe_test
1287. 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.
1288. pdflib_test
1289. 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.
1290. 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.
1291. pendulum_ode_test
1292. 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.
1293. pendulum_nonlinear_ode_test
1294. perceptron_test
1295. pgma_io, a MATLAB code which reads or writes an ASCII Portable Gray Map (PGM) image file;
1296. pgma_io_test
1297. pi_spigot, a MATLAB code which produces N digits of the decimal expansion of pi.
1298. pi_spigot_test
1299. 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.
1300. pic_test
1301. pink_noise, a MATLAB code which computes a pink noise signal obeying a 1/f power law.
1302. pink_noise_test
1303. 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.
1304. plasma_matrix_test
1305. poisson, a MATLAB code which solves the Poisson equation in a rectangle, intended as the starting point for the creation of a parallel version.
1306. poisson_test
1307. poisson_simulation, a MATLAB code which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda.
1308. poisson_simulation_test
1309. polpak, a MATLAB code which evaluates a variety of mathematical functions, including Chebyshev, Gegenbauer, Hermite, Jacobi, Laguerre, Legendre polynomials, and the Collatz sequence.
1310. polpak_test
1311. 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.
1312. polygon_average_test
1313. 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.
1314. polygon_distance_test
1315. polygon_grid, a MATLAB code which generates a grid of points over the interior of a polygon in 2D.
1316. polygon_grid_test
1317. polygon_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of a polygon in 2D.
1318. polygon_integrals_test
1319. 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.
1320. polygon_monte_carlo_test
1321. 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.
1322. polygon_properties_test
1323. polygon_triangulate, a MATLAB code which triangulates a (possibly nonconvex) polygon in 2D, based on a C program by Joseph ORourke;
1324. polygon_triangulate_test
1325. polygonal_surface_display, a MATLAB code which displays a surface in 3D described as a set of polygons;
1326. polygonal_surface_display_test
1327. polyiamonds, a MATLAB code which works with polyiamonds, simple shapes constructed by edgewise connections of congruent equilateral triangles.
1328. polyiamonds_test
1329. polynomial, a MATLAB code which adds, multiplies, differentiates, evaluates and prints multivariate polynomials in a space of M dimensions.
1330. polynomial_test
1331. 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.
1332. polynomials_test
1333. polyomino_parity, a MATLAB code which uses parity considerations to determine whether a given set of polyominoes can tile a specified region.
1334. polyomino_parity_test
1335. 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.
1336. polyominoes_test
1337. power_method, a MATLAB code which carries out the power method for finding a dominant eigenvalue and its eigenvector.
1338. power_method_test
1339. power_rule, a MATLAB code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.
1340. power_rule_test
1341. pplane9, 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. With every new release of MATLAB, this program breaks again!
1342. ppma_io, a MATLAB code which reads or writes an ASCII Portable Pixel Map (PPM) image file;
1343. ppma_io_test
1344. praxis, a MATLAB code which minimizes a scalar function of several variables, without requiring derivative information, by Richard Brent.
1345. praxis_test
1346. predator_prey_ode, a MATLAB code which solves a time-dependent predator-prey system of ordinary differential equations (ODE).
1347. predator_prey_ode_test
1348. 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.
1349. prime_test
1350. prime_plot, a MATLAB code which displays a box plot of the prime and composite numbers.
1351. prime_plot_test
1352. 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.
1353. prob_test
1354. product_rule, a MATLAB code which creates an M dimensional quadrature rule from a product of distinct 1d quadrature rules;
1355. product_rule_test
1356. profile_test
1357. profile_data, a MATLAB code which carries out some numerical exercises based on data that came from tracing the profile of a face.
1358. profile_data_test
1359. puzzles, MATLAB codes which solve simple puzzles;
1360. pwc_plot_1d, a MATLAB code which converts the definition of a piecewise constant function of a 1D argument into plottable data.
1361. pwc_plot_1d_test
1362. pwc_plot_2d, a MATLAB code which converts the definition of a piecewise constant function of a 2D argument into plottable data.
1363. pwc_plot_2d_test
1364. pwl_approx_1d, a MATLAB code which approximates a set of data using a piecewise linear function.
1365. pwl_approx_1d_test
1366. pwl_interp_1d, a MATLAB code which interpolates a set of data using a piecewise linear function.
1367. pwl_interp_1d_test
1368. pwl_interp_2d, a MATLAB code which evaluates a piecewise linear interpolant to data defined on a regular 2D grid.
1369. pwl_interp_2d_test
1370. 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.
1371. pwl_interp_2d_scattered_test
1372. 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).
1373. pwl_product_integral_test
1374. pyramid_exactness, a MATLAB code which investigates the polynomial exactness of a quadrature rule over the interior of the unit pyramid in 3D.
1375. pyramid_exactness_test
1376. pyramid_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a pyramid in 3D.
1377. pyramid_felippa_rule_test
1378. pyramid_grid, a MATLAB code which computes a grid of points over the interior of the unit pyramid in 3D;
1379. pyramid_grid_test
1380. 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.
1381. pyramid_integrals_test
1382. 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;
1383. pyramid_monte_carlo_test
1384. pyramid_rule, a MATLAB code which computes a quadrature rule over the interior of the unit pyramid in 3D.
1385. pyramid_rule_test
1386. qr_solve, a MATLAB code which computes the linear least squares (LLS) solution of a system A*x=b using the QR factorization.
1387. qr_solve_test
1388. quad, a MATLAB code which applies a quadrature rule to estimate an integral, intended as a starting point for parallelization exercises.
1390. 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].
1392. quad_mesh, a MATLAB code which handles meshes of quadrilaterals over a 2D region;
1394. quad_mesh_order1_display, a MATLAB code which plots piecewise constant data associated with a mesh of quadrilaterals;
1396. quad_mesh_rcm, a MATLAB code which computes the Reverse Cuthill-McKee (RCM) reordering for nodes in a mesh of 4-node quadrilaterals.
1398. 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].
1400. 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;
1402. 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].
1405. quadex_ode a MATLAB code which solves a stiff ordinary differential equation (ODE), whose exact solution is a parabola, but for which errors grow exponentially.
1407. 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).
1410. quadrature_golub_welsch, a MATLAB code which computes the points and weights of a Gaussian quadrature rule using the Golub-Welsch procedure.
1412. 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.
1416. 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.
1418. 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.
1420. quadrule, a MATLAB code which defines quadrature rules for approximating an integral;
1422. quadrule_fast, a MATLAB code which rapidly defines certain quadrature rules for approximating an integral;
1424. quality, a MATLAB code which measures the dispersion of pointsets in M dimensions;
1425. quality_test
1426. quasiperiodic_ode, a MATLAB code which sets up a system of ordinary differential equations (ODE) for a problem with a quasiperiodic solution.
1427. quasiperiodic_ode_test
1428. quaternions, a MATLAB code which carries out some simple arithmetic operations for quaternions.
1429. quaternions_test
1430. r8_scale, a MATLAB code which computes the "next" and "previous" real numbers.
1431. r8_scale_test
1432. r83, a MATLAB code which contains linear algebra routines for r83 matrices (real, 64 bit, tridiagonal 3xN format).
1433. r83_test
1434. 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.
1435. r8col_test
1436. r8crs, a MATLAB code which contains linear algebra routines for R8CRS matrices (real, 64 bit, Compressed Row Storage (CRS) format).
1437. r8crs_test
1438. r8ge, a MATLAB code which contains linear algebra routines for R8GE matrices (real, 64 bit, General format).
1439. r8ge_test
1440. r8lib, a MATLAB code which contains many utility routines, using double precision real (R8) arithmetic.
1441. r8lib_test
1442. r8lt, a MATLAB code which contains linear algebra routines for R8LT matrices (real, 64 bit, Lower Triangular).
1443. r8lt_test
1444. 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.
1445. r8poly_test
1446. 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.
1447. r8row_test
1448. r8st, a MATLAB code which contains linear algebra routines for R8ST matrices (real, 64 bit, Sparse Triplet).
1449. r8st_test
1450. r8ut, a MATLAB code which contains linear algebra routines for R8UT matrices (real, 64 bit, Upper Triangular).
1451. r8ut_test
1452. 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.
1453. random_data_test
1454. random_sorted, a MATLAB code which generates vectors of random values which are already sorted.
1455. random_sorted_test
1456. random_walk_1d_simulation, a MATLAB code which simulates a random walk in a 1-dimensional region.
1457. random_walk_1d_simulation_test
1458. random_walk_2d_avoid_simulation, a MATLAB code which simulates a self-avoiding random walk in a 2-dimensional region.
1459. random_walk_2d_avoid_simulation_test
1460. random_walk_2d_simulation, a MATLAB code which simulates a random walk in a 2-dimensional region.
1461. random_walk_2d_simulation_test
1462. random_walk_3d_simulation, a MATLAB code which simulates a random walk in a 3-dimensional region.
1463. random_walk_3d_simulation_test
1464. 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.
1465. ranlib_test
1466. rbf_interp_1d, a MATLAB code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
1467. rbf_interp_1d_test
1468. rbf_interp_2d, a MATLAB code which defines radial basis function (RBF) interpolants to 2D data.
1469. rbf_interp_2d_test
1470. rbf_interp_nd, a MATLAB code which defines and evaluates radial basis function (RBF) interpolants to M dimensional data.
1471. rbf_interp_nd_test
1472. 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;
1473. rcm_test
1474. 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."
1475. 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.
1476. 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.
1477. rejection_sample, a MATLAB code which demonstrates acceptance/rejection sampling.
1478. rejection_sample_test
1479. ring_data, a MATLAB code which can create, plot, or save data generated by sampling a number of concentric, possibly overlapping rings.
1480. ring_data_test
1481. risk_matrix, a MATLAB code which returns the transition and adjacency matrix for the game of RISK.
1482. risk_matrix_test
1483. rk12, a MATLAB code which applies Runge-Kutta (RK) solvers of order 1 and 2 to a system of ordinary differential equations (ODE);
1484. rk12_test
1485. rk12_adapt, a MATLAB code which defines an adaptive ordinary differential equation (ODE) solver, using Runge-Kutta (RK) solvers of order 1 and 2.
1487. rk23, a MATLAB code which applies Runge-Kutta (RK) solvers of order 2 and 3 to a system of ordinary differential equations (ODE);
1488. rk23_test
1489. rk34, a MATLAB code which applies Runge-Kutta (RK) solvers of order 3 and 4 to a system of ordinary differential equations (ODE);
1490. rk34_test
1491. 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.
1492. rk4_test
1493. rk45, a MATLAB code which applies Runge-Kutta (RK) solvers of order 4 and 5 to a system of ordinary differential equations (ODE);
1494. rk45_test
1495. rkf45, a MATLAB code which applies a Runge-Kutta-Fehlberg (RKF) solver to a system of ordinary differential equations (ODE);
1496. rkf45_test
1497. rng_cliff, a MATLAB code which computes a sequence of values from the Cliff random number generator (RNG).
1498. rng_cliff_test
1499. 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.
1500. rnglib_test
1501. robertson_ode, a MATLAB code which sets up a system of three nonlinear stiff ordinary differential equations (ODE) characterizing an autocatalytic chemical reaction.
1502. robertson_ode_test
1503. roessler_ode, a MATLAB code which defines the right hand side of the 3D Roessler system of ordinary differential equations (ODE).
1504. roessler_ode_test
1505. root_rc, a MATLAB code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Gaston Gonnet.
1506. root_rc_test
1507. roots_rc, a MATLAB code which seeks solutions of a system of nonlinear equations, using reverse communication (RC), by Gaston Gonnet.
1508. roots_rc_test
1509. rot13, a MATLAB code which can encipher a string using the ROT13 cipher for letters, and the ROT5 cipher for digits.
1510. rot13_test
1511. roulette_simulation, a MATLAB code which simulates the spinning of a roulette wheel and the evaluation of certain common roulette bets.
1512. roulette_simulation_test
1513. 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.
1514. row_echelon_integer_test
1515. rref_test
1516. 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.
1517. rubber_band_ode_test
1518. sammon_data, a MATLAB code which generates six M dimensional datasets for cluster analysis.
1519. sammon_data_test
1520. satisfy_test
1521. 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().
1523. sde, a MATLAB code which illustrates properties of stochastic differential equations (SODE), and common algorithms for their analysis, by Desmond Higham;
1524. sde_test
1525. search_test
1526. sequence_streak_display, a MATLAB code which displays a streak plot of a numeric sequence;
1527. sequence_streak_display_test
1528. set_theory, a MATLAB code which demonstrates MATLAB commands that implement various set theoretic operations.
1529. set_theory_test
1530. sftpack, a MATLAB code which implements the slow Fourier transform (SFT), intended as a teaching tool and comparison with the Fast Fourier Transform (FFT).
1531. sftpack_test
1532. shallow_water_1d, a MATLAB code which simulates the evolution of a 1D fluid governed by the time-dependent shallow water equations.
1533. shallow_water_1d_test
1534. 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.
1535. shallow_water_1d_display_test
1536. shepard_interp_1d, a MATLAB code which defines and evaluates Shepard interpolants to 1D data, based on inverse distance weighting.
1537. shepard_interp_1d_test
1538. shepard_interp_2d, a MATLAB code which defines and evaluates Shepard interpolants to 2D data, based on inverse distance weighting.
1539. shepard_interp_2d_test
1540. shepard_interp_nd, a MATLAB code which defines and evaluates Shepard interpolants to M dimensional data, based on inverse distance weighting.
1541. shepard_interp_nd_test
1542. shoreline, a MATLAB code which tries to identify and triangulate the 2D domain over which some function f(x,y) is nonnegative.
1543. shoreline_test
1544. side_by_side_display_test
1545. simplex_coordinates, a MATLAB code which computes the Cartesian coordinates of the vertices of a regular simplex in M dimensions.
1546. simplex_coordinates_test
1547. 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.
1548. simplex_gm_rule_test
1549. simplex_grid, a MATLAB code which generates a regular grid of points over the interior of an arbitrary simplex in M dimensions.
1550. simplex_grid_test
1551. 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.
1552. simplex_integrals_test
1553. 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.
1554. simplex_monte_carlo_test
1555. sine_transform, a MATLAB code which demonstrates simple properties of the discrete sine transform (DST).
1556. sine_transform_test
1558. 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.
1559. sir_ode_test
1560. 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.
1561. sir_simulation_test
1562. 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.
1563. smolyak_display_test
1564. snakes_and_ladders, a MATLAB code which simulates a one-player version of the game of Snakes and Ladders, by Mina Aymin.
1565. 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.
1566. snakes_bar_test
1567. 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.
1568. snakes_histogram_test
1569. snakes_matrix, a MATLAB code which returns the transition matrix for the game of Snakes and Ladders.
1570. snakes_matrix_test
1571. snakes_probability, a MATLAB code which computes the game length probabilities for the game of Snakes and Ladders, by Desmond Higham and Nicholas Higham.
1572. sobol, a MATLAB code which generates elements of the Sobol M dimensional Quasi Mont Carlo (QMC) sequence, by Bennett Fox.
1573. sobol_test
1574. solve, a MATLAB code which demonstrates how Gauss elimination can be used to solve a linear system A*x=b.
1575. solve_test
1576. 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.
1577. sor_test
1578. sort_rc, a MATLAB code which can sort a list of any kind of objects, using reverse communication (RC).
1579. sort_rc_test
1580. sort_test
1581. 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.
1582. sparse_count_test
1583. 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.
1584. sparse_display_test
1585. sparse_grid_cc, a MATLAB code which creates sparse grids based on Clenshaw-Curtis quadrature rules.
1586. sparse_grid_cc_test
1587. sparse_grid_composite, a MATLAB code which creates sparse grids based on 1D composite rules (currently only of order 1).
1588. sparse_grid_composite_test
1589. sparse_grid_gl, a MATLAB code which creates sparse grids based on Gauss-Legendre rules.
1590. sparse_grid_gl_test
1591. sparse_grid_hermite, a MATLAB code which creates sparse grids based on Gauss-Hermite rules.
1592. sparse_grid_hermite_test
1593. 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.
1594. sparse_grid_hw_test
1595. sparse_grid_laguerre, a MATLAB code which creates sparse grids based on Gauss-Laguerre rules.
1596. sparse_grid_laguerre_test
1597. sparse_grid_total_poly, a MATLAB code which investigates the efficient approximation of all polynomials up to a given total degree using sparse grids.
1598. sparse_grid_total_poly_test
1599. 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.
1600. sparse_interp_nd_test
1601. sparse_test
1602. 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.
1603. sphere_cubed_grid_test
1604. sphere_cvt, a MATLAB code which carries out the Centroidal Voronoi Tessellation (CVT) iteration on the surface of the unit sphere in 3D.
1605. sphere_cvt_test
1606. sphere_delaunay, a MATLAB code which computes the Delaunay triangulation of points on the surface of the unit sphere in 3D.
1607. sphere_delaunay_test
1608. 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.
1609. sphere_distance_test
1610. sphere_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule on the surface of the unit sphere in 3D.
1611. sphere_exactness_test
1612. 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.
1613. sphere_fibonacci_grid_test
1614. 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.
1615. sphere_grid_test
1616. 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.
1617. sphere_integrals_test
1618. sphere_lebedev_rule, a MATLAB code which computes Lebedev quadrature rules on the surface of the unit sphere in 3D.
1619. sphere_lebedev_rule_test
1620. 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.
1621. sphere_lebedev_rule_display_test
1622. 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.
1623. sphere_llq_grid_test
1624. 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.
1625. sphere_llt_grid_test
1626. 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.
1627. sphere_monte_carlo_test
1628. sphere_ode, a MATLAB code which sets up the ordinary differential equations (ODE) which model motion on the surface of a sphere.
1629. sphere_ode_test
1630. 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.
1631. sphere_stereograph_test
1632. 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.
1633. sphere_stereograph_display_test
1634. 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.
1635. sphere_triangle_monte_carlo_test
1636. 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.
1638. sphere_voronoi, a MATLAB code which computes the Voronoi diagram of points on the surface of the unit sphere in 3D.
1639. sphere_voronoi_test
1640. spherical_harmonic, a MATLAB code which evaluates spherical harmonic functions.
1641. spherical_harmonic_test
1642. 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.
1643. spinterp_test
1644. 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.
1645. spiral_data_test
1646. spline, a MATLAB code which interpolates and approximates via splines;
1647. spline_test
1648. 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.
1650. 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.
1651. square_arbq_rule_test
1652. 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.
1653. square_distance_test
1654. 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.
1655. square_exactness_test
1656. square_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a square in 2D.
1657. square_felippa_rule_test
1658. square_grid, a MATLAB code which computes a grid of points over the interior of a square in 2D.
1659. square_grid_test
1660. 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.
1661. square_integrals_test
1662. 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.
1663. square_minimal_rule_test
1664. 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.
1665. square_monte_carlo_test
1666. 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.
1667. square_symq_rule_test
1668. st_io, a MATLAB code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
1669. st_io_test
1670. st_to_ccs, a MATLAB code which converts sparse matrix data from Sparse Triplet (ST) format to Compressed Column Storage (CCS) format;
1671. st_to_ccs_test
1672. st_to_hb, a MATLAB code which converts a sparse matrix file from Sparse Triplet (ST) format to Harwell Boeing (HB) format;
1673. st_to_hb_test
1674. st_to_mm, a MATLAB code which converts a sparse matrix file from Sparse Triplet (ST) format to Matrix Market (MM) format;
1675. st_to_mm_test
1676. st_to_msm, a MATLAB code which reads a Sparse Triplet (ST) file and creates a corresponding MATLAB Sparse Matrix.
1677. st_to_msm_test
1678. stiff_ode, a MATLAB code which considers an ordinary differential equation (ODE) which is an example of a stiff ODE.
1679. stiff_ode_test
1680. stla_display, a MATLAB code which displays an ASCII stereolithography (STL) 3D graphics file;
1681. stla_display_test
1682. stla_io, a MATLAB code which reads and writes an ASCII stereolithography (STL) 3D graphics file;
1683. stla_io_test
1684. 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.
1685. stla_to_tri_surface_test
1686. stla_to_tri_surface_fast, a MATLAB code which is a faster version of stla_to_tri_surface.
1687. stla_to_tri_surface_fast_test
1688. stochastic_diffusion, functions which implement several versions of a stochastic diffusivity coefficient.
1689. stochastic_diffusion_test
1690. 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.
1691. stochastic_heat2d_test
1692. stochastic_rk, a MATLAB code which applies a Runge-Kutta (RK) scheme to approximate the solution of a stochastic ordinary differential equation (SODE).
1693. stochastic_rk_test
1694. stokes_2d_exact, a MATLAB code which evaluates exact solutions to the incompressible steady Stokes equations over the unit square in 2D.
1695. stokes_2d_exact_test
1696. string_ode, a MATLAB code which simulates the behavior of a vibrating string by solving the corresponding initial boundary value problem (IBVP).
1697. string_ode_test
1698. 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.
1699. stroud_test
1700. subpak, a MATLAB code which includes many utility routines;
1701. subpak_test
1702. 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.
1703. subset_test
1704. subset_sum, a MATLAB code which seeks solutions of the subset sum problem.
1705. subset_sum_test
1706. subset_sum_brute, a MATLAB code which seeks solutions of the subset sum problem, using a brute force approach.
1707. subset_sum_brute_test
1708. sudoku, a MATLAB code which handles Sudoku puzzles;
1709. sudoku_test
1710. superlu_test
1711. surf_test
1712. svd_basis, a MATLAB code which applies the singular value decomposition (SVD) to a collection of data vectors, extracting dominant modes;
1713. svd_basis_test
1714. 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.
1715. svd_circle_test
1716. svd_faces, a MATLAB code which applies singular value decomposition (SVD) analysis to a set of images.
1717. svd_faces_test
1718. 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.
1719. svd_fingerprint_test
1720. 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.
1721. svd_gray_test
1722. 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.
1723. svd_lls_test
1724. svd_powers, a MATLAB code which applies singular value decomposition (SVD) analysis to a set of powers x(i)^(j-1).
1725. svd_powers_test
1726. svd_snowfall, a MATLAB code which reads a file containing historical snowfall data and analyzes the data with the Singular Value Decomposition (SVD).
1727. svd_snowfall_test
1728. 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.
1729. svd_sphere_test
1730. svd_test
1731. svd_truncated_test
1732. table_io, a MATLAB code which reads and writes a simple table file;
1733. table_io_test
1734. 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.
1736. 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.
1737. tensor_grid_display_test
1738. test_approx, a MATLAB code which implements test problems for approximation, provided as a set of (x,y) data.
1739. test_approx_test
1740. test_con, a MATLAB code which implements test problems for numerical continuation.
1741. test_con_test
1742. test_eigen, a MATLAB code which implements test matrices for eigenvalue analysis.
1743. test_eigen_test
1744. test_int, a MATLAB code which implements test problems for approximate integration (quadrature) in one dimension.
1745. test_int_test
1746. test_int_2d, a MATLAB code which implements test problems for approximate integration (quadrature) in two dimensions.
1747. test_int_2d_test
1748. test_interp, a MATLAB code which defines test problems for interpolation, provided as a set of (x,y(x)) data.
1749. test_interp_test
1750. test_interp_1d, a MATLAB code which defines test problems for interpolation of data y(x), which depends on a 1D argument.
1751. test_interp_1d_test
1752. test_interp_2d, a MATLAB code which defines test problems for interpolation of data z(x,y), which depends on a 2D argument.
1753. test_interp_2d_test
1754. test_interp_fun, a MATLAB code which defines test problems for interpolation which are available in functional form.
1755. test_interp_fun_test
1756. test_interp_nd, a MATLAB code which defines test problems for interpolation of data z(x), depending on an M dimensional argument.
1757. test_interp_nd_test
1758. test_lls, a MATLAB code which implements linear least squares (LLS) test problems of the form A*x=b.
1759. test_lls_test
1760. 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.
1761. test_mat_test
1762. test_matrix_exponential, a MATLAB code which defines a set of test cases for computing the matrix exponential.
1763. test_matrix_exponential_test
1764. test_min, a MATLAB code which implements test problems for minimization of a scalar function of a scalar variable.
1765. test_min_test
1766. test_nearest, a MATLAB code which tests the time complexity of various procedures for solving the nearest neighbor problem.
1767. test_nearest_test
1768. test_nint, a MATLAB code which implements test problems for approximate integration (quadrature) in M dimensions.
1769. test_nint_test
1770. test_nonlin, a MATLAB code which implements test problems for the solution of systems of nonlinear equations.
1771. test_nonlin_test
1772. test_opt, a MATLAB code which implements test problems for optimization of a scalar function of several variables.
1773. test_opt_test
1774. 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.
1775. test_opt_con_test
1776. test_optimization, a MATLAB code which implements test problems for optimization of a scalar function of several variables, as described by Molga and Smutnicki.
1777. test_optimization_test
1778. test_partial_digest, a MATLAB code which can generate example cases of the partial digest problem.
1779. test_partial_digest_test
1780. 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.
1781. test_triangle_integrals_test
1782. test_triangulation, a MATLAB code which defines test problems for triangulation;
1783. test_triangulation_test
1784. test_values, a MATLAB code which returns selected values of some special functions;
1785. test_values_test
1786. test_zero, a MATLAB code which defines some functions f(x) suitable for testing software that solves a nonlinear equation f(x)=0;
1787. test_zero_test
1788. tester, a BASH script which runs the MATLAB test codes.
1789. tet_mesh, a MATLAB code which works with tetrahedral meshes in 3D;
1790. tet_mesh_test
1791. 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.
1792. tet_mesh_boundary_test
1793. tet_mesh_display, a MATLAB code which reads data defining a (small) tetrahedral mesh, and displays a wireframe image of the nodes and edges;
1794. tet_mesh_display_test
1795. 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;
1796. tet_mesh_l2q_test
1797. 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;
1798. tet_mesh_q2l_test
1799. tet_mesh_quad, a MATLAB code which estimates the integral of a function over a region defined by a tetrahedral mesh.
1801. tet_mesh_quality, a MATLAB code which computes various quality measures for a tetrahedral mesh of a set of nodes in 3D;
1802. tet_mesh_quality_test
1803. 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;
1804. tet_mesh_rcm_test
1805. tet_mesh_refine, a MATLAB code which refines a tetrahedral mesh;
1806. tet_mesh_refine_test
1807. 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;
1808. tet_mesh_tet_neighbors_test
1809. tet_mesh_to_gmsh, a MATLAB code which write a Gmsh file describing a tetrahedral mesh;
1810. tet_mesh_to_gmsh_test
1811. tet_mesh_to_xml, a MATLAB code which write an XML file describing a tetrahedral mesh;
1812. tet_mesh_to_xml_test
1813. tet_mesh_volumes, a MATLAB code which computes the volume of each tetrahedron in a tetrahedral mesh;
1814. tet_mesh_volumes_test
1815. 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.
1816. tetrahedron_arbq_rule_test
1817. tetrahedron_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule over the interior of a tetrahedron in 3D.
1818. tetrahedron_exactness_test
1819. tetrahedron_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a tetrahedron in 3D.
1820. tetrahedron_felippa_rule_test
1821. tetrahedron_grid, a MATLAB code which computes a grid of points over the interior of a tetrahedron in 3D.
1822. tetrahedron_grid_test
1823. 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.
1824. tetrahedron_integrals_test
1825. 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.
1826. tetrahedron_keast_rule_test
1827. 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.
1828. tetrahedron_monte_carlo_test
1829. tetrahedron_ncc_rule, a MATLAB code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a tetrahedron in 3D.
1830. tetrahedron_ncc_rule_test
1831. tetrahedron_nco_rule, a MATLAB code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a tetrahedron in 3D.
1832. tetrahedron_nco_rule_test
1833. 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.
1834. tetrahedron_properties_test
1835. 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.
1836. tetrahedron_slice_display, a MATLAB code which determines the intersection between a tetrahedron and a plane and displays the result.
1837. tetrahedron_slice_display_test
1838. 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.
1839. tetrahedron01_monte_carlo_test
1840. 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.
1841. theodolite_test
1842. 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.
1843. three_body_ode_test
1844. tic_toc_test
1845. timer_test
1846. timestamp, a MATLAB code which prints the current YMDHMS date as a timestamp;
1847. timestamp_test
1848. toeplitz_cholesky, a MATLAB code which computes the Cholesky factorization of a nonnegative definite symmetric Toeplitz matrix.
1849. toeplitz_cholesky_test
1850. toeplitz_inverse, a MATLAB code which computes the inverse of a Toeplitz matrix.
1851. toeplitz_inverse_test
1852. 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.
1853. toms097_test
1854. 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.
1855. toms112_test
1856. 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.
1857. toms178_test
1858. toms179, a MATLAB code which calculates the incomplete Beta ratio, by Oliver Ludwig. This is a version of ACM TOMS algorithm 179.
1859. toms179_test
1860. toms243, a MATLAB code which evaluates the logarithm of a complex value, by David Collens. This is a version of ACM TOMS algorithm 243.
1861. toms243_test
1862. toms291, a MATLAB code which approximates the logarithm of the Gamma function. This is a version of ACM TOMS algorithm 291.
1863. toms291_test
1864. toms443, a MATLAB code which evaluates the Lambert W function. This is a version of ACM TOMS algorithm 443.
1865. toms443_test
1866. toms446, a MATLAB code which manipulates Chebyshev series for interpolation and approximation, by Roger Broucke. This is a version of ACM TOMS algorithm 446.
1867. toms446_test
1868. 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.
1869. toms462_test
1870. 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.
1871. toms515_test
1872. 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.
1873. toms577_test
1874. 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.
1875. toms655_test
1876. 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.
1877. toms743_test
1878. 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.
1879. toms847_test
1880. 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.
1881. toms886_test
1882. toms923, a MATLAB code which evaluates the Pfaffian for a dense or banded skew symmetric matrix, by Michael Wimmer.
1883. toms923_test
1884. traffic_simulation, a MATLAB code which simulates the cars waiting to get through a traffic light.
1885. traffic_simulation_test
1886. trapezoid, a MATLAB code which solves one or more ordinary differential equations (ODE) using the trapezoid method.
1887. trapezoid_test
1888. tri_surface_display, a MATLAB code which displays a triangulated surface;
1889. tri_surface_display_test
1890. tri_surface_io, a MATLAB code which reads and writes the 3D graphics information in a tri_surface file;
1891. tri_surface_io_test
1892. tri_surface_to_obj, a MATLAB code which reads a tri_surface dataset and extracts the surface mesh data as an OBJ file.
1893. tri_surface_to_obj_test
1894. 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.
1895. tri_surface_to_stla_test
1896. 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.
1897. triangle_analyze_test
1898. 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.
1899. triangle_display_test
1900. 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.
1901. triangle_distance_test
1902. triangle_dunavant_rule, a MATLAB code which defines Dunavant quadrature rules over the interior of a triangle in 2D.
1903. triangle_dunavant_rule_test
1904. triangle_exactness, a MATLAB code which tests the polynomial exactness of a quadrature rule over the interior of a triangle in 2D.
1905. triangle_exactness_test
1906. 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.
1907. triangle_fekete_rule_test
1908. triangle_felippa_rule, a MATLAB code which returns a Felippa quadrature rules for approximating integrals over the interior of a triangle in 2D.
1909. triangle_felippa_rule_test
1910. triangle_grid, a MATLAB code which computes a grid of points over the interior of a triangle in 2D.
1911. triangle_grid_test
1912. triangle_histogram, a MATLAB code which computes histograms of data over the interior of a unit triangle in 2D.
1913. triangle_histogram_test
1914. 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.
1915. triangle_integrals_test
1916. triangle_interpolate, a MATLAB code which shows how vertex data can be interpolated at any point in the interior of a triangle.
1917. triangle_interpolate_test
1918. triangle_io, a MATLAB code which can read or write some of the files created by Jonathan Shewchuk's triangle program.
1919. triangle_io_test
1920. triangle_lyness_rule, a MATLAB code which returns Lyness-Jespersen quadrature rules over the interior of a triangle in 2D;
1921. triangle_lyness_rule_test
1922. 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.
1923. triangle_monte_carlo_test
1924. triangle_ncc_rule, a MATLAB code which defines Newton-Cotes closed (NCC) quadrature rules over the interior of a triangle in 2D.
1925. triangle_ncc_rule_test
1926. triangle_nco_rule, a MATLAB code which defines Newton-Cotes open (NCO) quadrature rules over the interior of a triangle in 2D.
1927. triangle_nco_rule_test
1928. 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.
1929. triangle_properties_test
1930. 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.
1931. triangle_svg_test
1932. 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.
1933. triangle_symq_rule_test
1934. 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.
1935. triangle_to_fem_test
1936. 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.
1937. triangle_to_xml_test
1938. 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.
1939. triangle_twb_rule_test
1940. 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.
1941. triangle_wandzura_rule_test
1942. triangle01_integrals, a MATLAB code which returns the integral of any monomial over the interior of the unit triangle in 2D.
1943. triangle01_integrals_test
1944. 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.
1945. triangle01_monte_carlo_test-
1946. triangulate, a MATLAB code which triangulates a polygonal region, based on a C program by Joseph ORourke;
1947. triangulate_test
1948. triangulate_rectangle, a MATLAB code which sets up a grid of triangles in a rectangular region.
1949. triangulate_rectangle_test
1950. 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.
1951. triangulation_test
1952. triangulation_boundary, a MATLAB code which starts with a triangulation of a simple shape, and determines the triangle edges that form the boundary, and a sequence of nodes that trace the boundary.
1953. triangulation_boundary_test
1954. 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.
1955. triangulation_boundary_edges_test
1956. 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;
1957. triangulation_boundary_nodes_test
1958. triangulation_corner, a MATLAB code which modifies triangulations in which one or more triangles have more than one boundary edge.
1959. triangulation_corner_test
1960. triangulation_delaunay_discrepancy, a MATLAB code which measures the amount by which a triangulation fails the local Delaunay test;
1961. triangulation_delaunay_discrepancy_test
1962. triangulation_display, a MATLAB code which displays the nodes and elements of a triangulation on the MATLAB graphics screen;
1963. triangulation_display_test
1964. triangulation_histogram, a MATLAB code which computes histograms of data over a triangulation.
1965. triangulation_histogram_test
1966. triangulation_l2q, a MATLAB code which reads information about a 3-node (linear) triangulation and creates data defining a corresponding 6-node (quadratic) triangulation;
1967. triangulation_l2q_test
1968. triangulation_mask, a MATLAB code which reads a triangulation and calls a user-supplied routine to consider each triangle for deletion;
1970. 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.
1971. triangulation_node_to_element_test
1972. triangulation_order1_display, a MATLAB code which plots piecewise constant data associated with a triangulation;
1973. triangulation_order1_display_test
1974. triangulation_order3_contour, a MATLAB code which plots color contours of a scalar quantity evaluated at the nodes of a 3-node triangle triangulation.
1975. triangulation_order3_contour_test
1976. triangulation_order6_contour, a MATLAB code which plots color contours of a scalar quantity evaluated at the nodes of a 6-node triangle triangulation.
1977. triangulation_order6_contour_test
1978. triangulation_orient, a MATLAB code which ensures that the triangles in an order 3 or order 6 triangulation have positive orientation;
1979. triangulation_orient_test
1980. triangulation_plot, a MATLAB code which plots the nodes and elements of a triangulation as a PostScript file;
1981. triangulation_plot_test
1982. triangulation_q2l, a MATLAB code which reads information about a 6-node triangulation and creates data defining a corresponding 3-node triangulation;
1983. triangulation_q2l_test
1984. 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.
1986. triangulation_quality, a MATLAB code which reads information about a triangulation and computes various quality measures;
1987. triangulation_quality_test
1988. 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;
1989. triangulation_rcm_test
1990. triangulation_refine, a MATLAB code which refines a triangulation;
1991. triangulation_refine_test
1992. 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.
1993. triangulation_refine_local_test
1994. triangulation_svg, a MATLAB code which creates an SVG image of a triangulation, which can be displayed by a web browser.
1995. triangulation_svg_test
1996. 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;
1997. triangulation_t3_to_t4_test
1998. 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;
1999. triangulation_triangle_neighbors_test
2000. tridiagonal_solver, a MATLAB code which solves a tridiagonal linear system.
2001. tridiagonal_solver_test
2002. trig_interp, a MATLAB code which can be used for trigonometric interpolation.
2003. trig_interp_test
2004. truel_simulation, a MATLAB code which simulates N repetitions of a duel between three players, each of whom has a known firing accuracy.
2005. truel_simulation_test
2006. 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.
2007. truncated_normal_test
2008. 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].
2009. truncated_normal_rule_test
2010. 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].
2011. truncated_normal_sparse_grid_test
2012. 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.
2013. tsp_brute_test
2014. 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.
2015. tsp_descent_test
2016. 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.
2017. tsp_greedy_test
2018. 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.
2019. tsp_random_test
2020. 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.
2021. two_body_ode_test
2022. ubvec, a MATLAB code which demonstrates how nonnegative integers can be stored as unsigned binary vectors, and arithmetic can be performed on them.
2023. ubvec_test
2024. unicycle, a MATLAB code which considers permutations containing a single cycle, sometimes called cyclic permutations.
2025. unicycle_test
2026. uniform, a MATLAB code which implements a uniform random number generator (RNG) for a variety of arithmetic types.
2027. uniform_test
2028. 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.
2029. upc_test
2030. urn_simulation, a MATLAB code which simulates the experiment of sampling K balls from an urn containing N balls of various colors.
2031. urn_simulation_test
2032. 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.
2033. usa_cvt_geo_test
2034. 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.
2035. van_der_corput_test
2036. vandermonde, a MATLAB code which implements the Bjork-Pereyra algorithm for accurate solution of linear systems involving the Vandermonde matrix.
2037. vandermonde_test
2038. 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.
2039. vandermonde_approx_1d_test
2040. 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.
2041. vandermonde_approx_2d_test
2042. 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.
2043. vandermonde_interp_1d_test
2044. 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.
2045. vandermonde_interp_2d_test
2046. vanderpol_ode, a MATLAB code which defines the right hand side of the van der Pol oscillator ordinary differential equation (ODE).
2047. vanderpol_ode_test
2048. 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.
2049. voronoi_city_test
2050. voronoi_display, a MATLAB code which computes the exact Voronoi diagram using geompack, and displays it.
2051. voronoi_display_test
2052. 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.
2053. voronoi_mountains_test
2054. 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.
2055. voronoi_neighbors_test
2056. 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;
2057. voronoi_plot_test
2058. voronoi_test
2059. vpa_test
2060. walker_sample, a MATLAB code which efficiently samples a discrete probability vector using Walker sampling.
2061. walker_sample_test
2062. walsh, a MATLAB code which implements versions of the Walsh and Haar transforms.
2063. walsh_test
2064. 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).
2065. wathen_test
2066. wavelet, a MATLAB code which does some simple wavelet calculations;
2067. wavelet_test
2068. wedge_exactness, a MATLAB code which investigates the polynomial exactness of a quadrature rule over the interior of the unit wedge in 3D.
2069. wedge_exactness_test
2070. wedge_felippa_rule, a MATLAB code which returns quadrature rules for approximating integrals over the interior of the unit wedge in 3D.
2071. wedge_felippa_rule_test
2072. wedge_grid, a MATLAB code which computes a grid of points over the interior of the unit wedge in 3D.
2073. wedge_grid_test
2074. 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.
2075. wedge_integrals_test
2076. 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.
2077. wedge_monte_carlo_test
2078. 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.
2079. weekday_test
2080. 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.
2081. weekday_zeller_test
2082. 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;
2083. will_you_be_alive_test
2084. wishart, a MATLAB code which produces sample matrices from the Wishart or Bartlett distributions, useful for sampling random covariance matrices.
2085. wishart_test
2086. wtime, a MATLAB code which returns a reading of the wall clock time in seconds.
2087. wtime_test
2088. xml2struct, a MATLAB code which reads a file containing XML data, and produces a corresponding MATLAB struct.
2089. xml2struct_test
2090. zero_rc, a MATLAB code which seeks a solution of a scalar nonlinear equation f(x)=0, using reverse communication (RC), by Richard Brent.
2091. zero_rc_test
2092. ziggurat, a MATLAB code which implements uniform, normal and exponential random number generators (RNG) using the ziggurat method, by Marsaglia and Tsang.
2093. ziggurat_test
2094. 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.
2095. zombie_ode_test

Last revised on 15 October 2020.