Simultaneous system identification and channel estimation: a hybrid system approach