Cooperative communication system is a new communication technique. It can help transmission via relay, improve system performance, and reduce error rate.We adopt ESDF (Ehanced Static Decode and Forward) protocol for our reserch. We also combine ESDF with network coding and discuss the system perfermance. In this reaserch, we have a transmitter, a destination and a relay. The transmission direction of our system has not only one direction. First, the transmitter transmits signal to the receiver. When the receiver receives the signal, it transmits another signal to the original transmitter. Then the relay performs network coding and transmits the network coded signal to other nodes. Then we will calculate the outage probability of the node and the outage probability of the overall system and the DMT (diversity-multiplexing tradeoff) of the overall system.