Jacobi poly

From QETLAB
Revision as of 02:42, 25 June 2013 by Nathaniel (talk | contribs) (Created page with "{{Function |name=jacobi_poly |desc=Computes the coefficients of Jacobi polynomials |upd=March 6, 2013 |v=1.00 |helper=1}} <tt>'''jacobi_poly'''</tt> is a [[List of functions|f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
jacobi_poly
Computes the coefficients of Jacobi polynomials

Other toolboxes required none
This is a helper function that only exists to aid other functions in QETLAB. If you are an end-user of QETLAB, you likely will never have a reason to use this function.

jacobi_poly is a function that returns a vector containing the coefficients of the specified Jacobi polynomial.

Syntax

  • JP = jacobi_poly(A,B,N)

Argument descriptions

  • A: A real parameter (sometimes called alpha) of the Jacobi polynomials.
  • B: A real parameter (sometimes called beta) of the Jacobi polynomials.
  • N: The degree of the Jacobi polynomial (a non-negative integer).

Examples

The Jacobi polynomials are typically denoted by the notation <math>P^{(\alpha,\beta)}_n</math>. In the <math>\alpha = \beta = 1, n = 3</math> case, we have <math>P^{(1,1)}_3(z) = 7z^3 - 3z</math>, which we can see via the following code:

>> jacobi_poly(1,1,3)

ans =

     7     0    -3     0