GESC Generalized Eigenproblem Spectral Collocation This matlab code solves surface-wave eigenproblem (air-solid interface seismic waves) in laterally homogeneous media with piecewise smooth elastic structure.