The aim of this article is to obtain criteria of boundedness and compactness for a wide class of matrix operators from one weighted l p,v space of sequences to another weighted l q,u space, in the case 1 < p ≤ q <∞. We introduce a general class of matrices. Then we establish necessary and sufficient conditions for the boundedness and compactness of the operatorscorresponding to matrices in such classes by using the method of localization. Our classes are more general than those for which corresponding Hardy inequalities are known in the literature.