Fault detection using matlab. Diagnosis of the fault i.