Paper reference:
Das, V., T. Mukerji, and G. Mavko, 2019, Scale effects on velocity dispersion and attenuation (Q-1) in layered viscoelastic medium: Geophysics, 84(3), T147-T166.
(https://library.seg.org/doi/pdfplus/10.1190/geo2018-0154.1)
ReadMe.docx file contains description of the MATLAB scripts and functions.