This source contains a collection of calculations, some simple, some not, that are useful for manipulating EHR data using MATLAB. The tools range from methods for selecting (without replacement) a random set of patients, to creating a fake EHR, to removing features of the data (e.g., NaNs, 0s, etc.) that can cause computational headaches. I will update this with more useful stuff from time to time.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.