I'd like to compute a distance between two vectors of $[0, 1]^n$ ($n$ numbers between 0 and 1).
I'm looking for a distance generalizing the Hamming distance which I would have used if the numbers were bits. Actually, I don't need a real distance, only a pseudo-distance, a measure of similarity / divergence.
I'm comparing spectra of audio samples : I take the Discrete Fourier Transform of both, normalize the spectra, and I'd like to compute the similarity of these spectra.