Feedback invariants of matrices with prescribed rows