chebypolyprod
Product of Chebyshev polynomials.
Syntax
f = chebypolyprod(p, q, order4trunc)
Description
y = chebypolyprod(p, q) returns the coefficients of product p*q, where
p and q are both the vector of coefficients in Chebyshev basis, i.e.
P(x) = p(1)*T_0(x) + ... + p(m+1)*T_m(x) and
Q(t) = q(1)*T_0(x) + ... + q(n+1)*T_n(x).
Then, the result will be the vector of coefficients y such that
P(x)*Q(x) = f(1)*T_0(x) + ... + f(m+n+1)*T_{m+n+1}(x).
T (Chebyshev of first kind) can be U (Chebyshev of second kind).
Inputs
p = vector of coefficients in Chebyshev basis.
q = vector of coefficients in Chebyshev basis.
Input (optional)
order4trunc = order for truncate the result.
Output
f = vector of coefficients in Chebyshev basis (P(x)*Q(x)).
See also
legpolyprod.
y = chebypolyprod(p, q) returns the coefficients of product p*q, where p and q are both the vector of coefficients in Chebyshev basis, i.e. P(x) = p(1)*T_0(x) + ... + p(m+1)*T_m(x) and Q(t) = q(1)*T_0(x) + ... + q(n+1)*T_n(x). Then, the result will be the vector of coefficients y such that P(x)*Q(x) = f(1)*T_0(x) + ... + f(m+n+1)*T_{m+n+1}(x). T (Chebyshev of first kind) can be U (Chebyshev of second kind).
Inputs
p = vector of coefficients in Chebyshev basis.
q = vector of coefficients in Chebyshev basis.
Input (optional)
order4trunc = order for truncate the result.
Output
f = vector of coefficients in Chebyshev basis (P(x)*Q(x)).
See also
legpolyprod.
order4trunc = order for truncate the result.
Output
f = vector of coefficients in Chebyshev basis (P(x)*Q(x)).
See also
legpolyprod.
legpolyprod.