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

function [Glucose]=Glucose(x)
    
Glucose=(1-gaussmf(x,[280 160])).*(x>160)+(1-gaussmf(x,[70 160])).*(x<160);