gistlib
main.mfunction result = isValueInRange(value) if value >= 500 && value <= 700 result = true; else result = false; end end 144 chars8 lines
function result = isValueInRange(value) if value >= 500 && value <= 700 result = true; else result = false; end end
This function takes a value as input and returns true if the value is between 500 and 700, inclusive. Otherwise, it returns false.
gistlibby LogSnag