This document contains MATLAB code for several functions used to calculate wet bulb temperature based on atmospheric temperature, dew point, and pressure. It includes functions for calculating the mixing ratio, temperature based on mixing ratio and heat transfer, and a root finding algorithm. The root finding algorithm finds the wet bulb temperature by using the other functions in an iterative bisection method to find the root of the temperature equation within 0.001 accuracy.