Predicting Mortality of ICU Patients: The PhysioNet/Computing in Cardiology Challenge 2012 1.0.0

function [pH]=pH(x)
pH=((1-gaussmf(x,[.15 7.41])).*(x>7.41)+(1-gaussmf(x,[.11 7.41])).*(x<7.41));