Hermite Transform / Inverse Hermite Transform

버전 1.0.8 (1.62 KB) 작성자: Ryan Black
Function computes finite Hermite transform or its inverse transform.
다운로드 수: 76
업데이트 날짜: 2020/8/25

라이선스 보기

Forward: Function input c is the ordinary power series coefficient vector. Function output fh is the Hermite transform coefficient vector.
fh = hermite_transform(c)

Inverse: Function output c is the ordinary power series coefficient vector. Function input fh is the Hermite transform coefficient vector.
c = inverse_hermite_transform(fh)

Thorough theory can be found here
https://qr.ae/pNrYxL

Quick explanation
Define an ordinary power series, where c_k | k=0,1,2... denotes the ordinary coefficient vector
y(x) = c_0 + xc_1 + x^2c_2...
Define a Hermite transform , where fh_k | k=0,1,2... denotes the Hermite coefficient vector in terms of Hermite polynomials
y(x) = r_0 + H_1(x)r_1+H_2(x)r_2...
fh_k = sqrt(pi)(2^k)k!r_k

Forward transform:
Function input is the finite ordinary coefficient vector c_k | k=0,1,2...K and function output is equal-length Hermite coefficient vector fh_k | k=0,1,2...K

Inverse transform:
Function output is the finite ordinary coefficient vector c_k | k=0,1,2...K and function input is equal-length Hermite coefficient vector fh_k | k=0,1,2...K
Inverse

Example: Calculate fh_k given the Taylor polynomial coefficients c_k estimating the power series expansion of y(x) = e^x about x=0, then invert the transformation to restore c

Solution:
c = 1./factorial(0:15); %exponential taylor polynomial degree 15
fh = hermite_transform(c); %calculate fh
cr = inverse_hermite_transform %restore c exactly, call cr

Thorough theory can be found here
https://qr.ae/pNrYxL

인용 양식

Ryan Black (2024). Hermite Transform / Inverse Hermite Transform (https://www.mathworks.com/matlabcentral/fileexchange/75032-hermite-transform-inverse-hermite-transform), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.8

Update description

1.0.7

summary update because there was a capital letter out of place

1.0.6

added inverse example

1.0.5

too much edit

1.0.4

edit description

1.0.3

Added much description and an example

1.0.2

added inverse transform to same file as forward

1.0.1

edit

1.0.0