To use this code install matlab on your PC and specify the input location of files, and also to save the output change output location according to your need.
Read thought process attached to this project to get a better understang on how it works and how it was created.