Suggestions for a project in matlab
First of all: In this context the integration is very often referred to as quadrature (just an old term).
A fun project you might want to try is adaptive quadrature. There are many ways to achieve that, but the rough idea is that you add more nodes where your current approximation is not good enough. (You make a finer grid where the function is "wild".)