# NMR purity calculator MATLAB function for calculating the purity of your product.