In our knowledge there is only few data about the cough determinants in mechanically ventilated patients. However some failure of extubation is due to inefficiency cough. In order to determine some determinants of cough, the investigators propose to evaluate systematically different physiological parameters before and after extubation.