Highly accurate width of the Voigt profile
Version 2.0.1 (219 KB) by
Yihong Wang
The code returns the highly accurate full width at half maximum (FWHM) of the Voigt profile.
code1:
"fullwidthVoigt.m" returns the highly accurate full width at half maximum (FWHM) of the Voigt profile for given the widths of the Lorentzian and Gaussian profile.
code2:
"fullwidthVoigt_approximation.m"---This code provides accuracy better than 1E−17 for arbitrary αL/αG ratios in the MATLAB symbolic computing platform. In particular, the accuracy reaches an astonishing 10−34 (quadruple pre-cision) in the domain 0 ≤ αL/αG ≤ 0.2371∪αL/αG ≥ 33.8786.
code3:
"fullwidthVoigt_approximation_double.m"---This code provides a calculation accuracy of 2.75011668361264E-14 in a double precision platform.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Yihong Wang(email:wyh@seu.edu.cn)
Southeast University, Nanjing, China
Christmas Day 2021.
Feel free to email the author of this program with your questions or suggestions.
output : alphV, the FWHM of the Voigt profile
input : alphL, the FWHM of the Lorentzian profile
input : alphG, the FWHM of the Gaussian profile
Cite As
Yihong Wang (2024). Highly accurate width of the Voigt profile (https://www.mathworks.com/matlabcentral/fileexchange/95283-highly-accurate-width-of-the-voigt-profile), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
code1
code2
code3
Version | Published | Release Notes | |
---|---|---|---|
2.0.1 | Add a cover |
|
|
2.0.0 | Added 2 codes and cleared up some conceptual confusion. |
|
|
1.0.0 |