function [minDist]=myPvAlign(pv, noteVec) % pv: Singing pitch vector. % noteVec: Music note vector. % minDist: mininum distance after assigning each element in pv to each note in noteVec. (You need to use DP to solve this problem!) ...