Heed Protocol Matlab Code, About This is the matlab code to simulate LEACH protocol.