This lecture discusses the concept of consensus in networked control systems, focusing on the convergence properties of state trajectories under primitive and stochastic matrices. It covers the conditions for achieving consensus, the role of doubly stochastic matrices, and the rate of convergence. The lecture also explores the normalization of eigenvectors and the essential spectral radius of stochastic matrices. Examples of averaging in wireless sensor networks are presented to illustrate the theoretical concepts discussed.