Matrix Problems in Hilbert Spaces