matlab implementation of project