This study analyzed data from a detector that measured cosmic ray muons to determine their lifetime. The researcher used Matlab to draw a histogram of the data and fit an exponential decay curve to calculate the lifetime. The curve had a slope that corresponded to a lifetime of 2.63 microseconds, consistent with known literature values for the muon lifetime.