## Finding minimum of a distance function using matlab February 10

I have a function for that I want to find the minimum. The function calculates the distance between two sets where a set is defined as matix of row vectors $ D = [ d_1, d_2, ..., d_n]$, $d_n$ is a $m \times 1$ vector. The distance metric is:$$ d(x_1,