Matlab code recognizes notes in an individual spectrum now