We study functions defined on the vertices of the Hamming graphs H(n, q). The adjacency matrix of H(n, q) has n + 1 distinct eigenvalues n(q − 1) − q · i with corresponding eigenspaces Ui(n, q) for 0 ≤ i ≤ n. In this work, we consider the problem of finding the minimum possible support (the number of nonzeros) of functions belonging to a direct sum Ui(n, q) ⊕ Ui+1(n, q) ⊕ . . . ⊕ Uj (n, q) for 0 ≤ i ≤ j ≤ n. For the case n ≥ i+j and q ≥ 3 we find the minimum cardinality of the support of such functions and obtain a characterization of functions with the minimum cardinality of the support. In the case n < i + j and q ≥ 4 we also find the minimum cardinality of the support of functions, and obtain a characterization of functions with the minimum cardinality of the support for i = j, n < 2i and q ≥ 5. In particular, we characterize eigenfunctions from the eigenspace Ui(n, q) with the minimum cardinality of the support for cases i ≤ n 2 , q ≥ 3 and i > n 2 , q ≥ 5.