The Matlab scripts in SPL.zip calculate the one-third sound pressure level for an acoustic pressure time history.
SPL.m is the main script.
The remaining scripts are supporting functions.
The scripts have options for A, B & C-weighting.
See also: Matlab Acoustic Page
* * *
Here is a script which calculates a pressure power spectral density (PSD) from a sound pressure level (SPL):
* * *
Please contact me if you have any questions.
Tom Irvine
Email: tom@irvinemail.org
The supporting functions
FFT_time_freq_set.m
FFT_core_seg.m
appear to be missing from the supporting functions to SPL.m
-thanks
I added the missing files.
Thank you,
Tom