dtau
Class for dependent tau variable.
Syntax
classdef dtau
Description
y = dtau(basis, domain, n) creates an object y called dependent
tau variable. Dependent in the sense that it is related with y
in the unknown function y(x) to approximate.
Inputs
basis = Orthogonal polynomial basis.
1 or 'ChebyshevT' to Chebyshev of first kind,
2 or 'ChebyshevU' to Chebyshev of second kind,
3 or 'LegendreP' to Legendre,
4 or 'HermiteH' to Hermite,
5 or 'LaguerreL' to Laguerre and
6 or 'GegenbauerC' to Gegenbauer.
domain = Domain [a b], same interval of orthogonality of the basis.
n = dimension of the truncated matrices.
polinomial basis will have degree n-1.
alphaC = parameter for Gegenbauer polynomials.
Output
y = Dependent tau variable (dtau object).
Examples
y = dtau('LegendreP', [0 10], 100) ............. Customized inputs.
y = dtau('LegendreP', [0 10]) .............................. n = 5.
y = dtau('LegendreP') .................. domain = [-1 1] and n = 5.
y = dtau ......... basis = 'ChebyshevT', domain = [-1 1] and n = 5.
See also
itau.
y = dtau(basis, domain, n) creates an object y called dependent tau variable. Dependent in the sense that it is related with y in the unknown function y(x) to approximate.
Inputs
basis = Orthogonal polynomial basis.
1 or 'ChebyshevT' to Chebyshev of first kind,
2 or 'ChebyshevU' to Chebyshev of second kind,
3 or 'LegendreP' to Legendre,
4 or 'HermiteH' to Hermite,
5 or 'LaguerreL' to Laguerre and
6 or 'GegenbauerC' to Gegenbauer.
domain = Domain [a b], same interval of orthogonality of the basis.
n = dimension of the truncated matrices.
polinomial basis will have degree n-1.
alphaC = parameter for Gegenbauer polynomials.
Output
y = Dependent tau variable (dtau object).
Examples
y = dtau('LegendreP', [0 10], 100) ............. Customized inputs.
y = dtau('LegendreP', [0 10]) .............................. n = 5.
y = dtau('LegendreP') .................. domain = [-1 1] and n = 5.
y = dtau ......... basis = 'ChebyshevT', domain = [-1 1] and n = 5.
See also
itau.
y = Dependent tau variable (dtau object).
Examples
y = dtau('LegendreP', [0 10], 100) ............. Customized inputs.
y = dtau('LegendreP', [0 10]) .............................. n = 5.
y = dtau('LegendreP') .................. domain = [-1 1] and n = 5.
y = dtau ......... basis = 'ChebyshevT', domain = [-1 1] and n = 5.
See also
itau.
itau.