MATLAB codes for various problems in earthquake seismology, such as estimating hypocenters, focal mechanisms, stress, etc.