Highly accurate width of the Voigt profile
Version 2.0.1 (219 KB) von
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
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
code1
code2
code3
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.0.1 | Add a cover |
|
|
2.0.0 | Added 2 codes and cleared up some conceptual confusion. |
|
|
1.0.0 |