Stability of a class of linear switching systems with applications to two consensus problems | IEEE Conference Publication | IEEE Xplore