https://au.mathworks.com/help/phased/ref/tirempl.html
tirempl - Path loss using Terrain Integrated Rough Earth Model (TIREM) - MATLAB
This MATLAB function returns the path loss for a signal with the specified frequency when it is propagated over terrain.
path lossusingterrain