Macros for Math

  Search

Help with Search

  1. Determinant of a Matrix using LU Decomposition
  2. Determining the Dimensions of a Matrix Programatically
  3. Matrix Determinant (Absolute Value)
  4. Newton's Method for Finding Roots of Equations
  5. Newton's Method for Finding Roots of Equations without User Supplied Derivative
  6. Numerical Integration using Romberg's Method
  7. Numerical Integration using Simpson's Rule
  8. Odd-Even
  9. Singular Value Decomposition

Determinant of a Matrix using LU Decomposition
This macro calculates the determinant of a matrix by finding its LU decomposition. In other words, by transforming a matrix to a product of a lower (L) and an upper (U) triangular matrix, the determinant can be expressed as the product of the diagonal elements of both matrices. Written by Eduardo Santiago Back to Top
  • Minitab 15 and 16
  • Code
Determining the Dimensions of a Matrix Programatically
This macro determines the dimensions of a matrix. For a given matrix A, the macro returns the number of columns 'm' and the number of rows 'n'. Written by Eduardo Santiago Back to Top
  • Minitab 15 and 16
  • Code
Matrix Determinant (Absolute Value)
Computes the absolute value of the determinant of a matrix. Written by Brian Schott Back to Top
  • Minitab 15 and 16
  • Code
Newton's Method for Finding Roots of Equations
This macro executes Newton's method for finding roots of equations of the form f(x) = 0. The method converges to a root x* of the equation provided the derivative of f(x) is bounded in a neighborhood of x* and the starting value specified is "sufficiently close" to x*. The convergence is "quadratic." Written by Mike Delozier Back to Top
Newton's Method for Finding Roots of Equations without User Supplied Derivative
This macro executes Newton's method for finding roots of equations of the form f(x) = 0. The method converges to a root x* of the equation provided the derivative of f(x) is bounded in a neighborhood of x* and the starting value specified is "sufficiently close" to x*. The convergence is "quadratic." A simple approximation of the 1st derivative of f(x) is used rather than the user supplying the 1st derivative of f(x). Written by Mike Delozier Back to Top
Numerical Integration using Romberg's Method
This macro numerically approximates the definite integral of a function using Romberg's method. Written by Mike Delozier Back to Top
Numerical Integration using Simpson's Rule
This macro numerically approximates the definite integral of a function using Simpson's rule. Written by Mike Delozier Back to Top
Odd-Even
This macro determines whether each value in a column of integers is odd or even. Written by Andy Haines Back to Top
Singular Value Decomposition
Produces the singular value decomposition of the matrix, a(stored in m1), a = u*s*v-transpose, where u (stored in m3) has orthonormal columns, v-transpose (stored in m5) has orthonormal rows, and s (stored in m4) is a diagonal matrix having the positive singular values in nonincreasing order on the diagonal. Written by John D. Emerson and David C. Hoaglin Back to Top

Disclaimer:

Minitab Inc. provides the Macro Library as a convenience only. Minitab neither endorses, supports, nor verifies the accuracy of any content, information, or functionality of any macro found in the Macro Library. Minitab specifically disclaims any and all responsibility or liability arising from or related to any reliance upon, use, or incorporation of any content, information, or macro found in the Macro Library.

Need Assistance?

+1-814-231-2682