This is is a project I did in University.
The goals was to implement a simple Disconntious Galerkin solver in 1D for the acoustic wave equation:
NOTE: Personally, I would never choose Matlab for any kind of project. It's a terrible language. However, it was mandatory for this university project.
Check out the final_report for a comprehensive explanation and results.