We give an algorithm for determining the ellipsoid of smallest volume containing a given set of points x1,...,xNin a finite dimensional Euclidean space. This algorithm can be used to construct discriminant functions for use in pattern recognition problems.