Recognizing linear systems