disp('IMPORTANT: Before you input any numbers please remember to type the inputs in chronological order of the samples to have the best chance possible of having correct data')
volume = input('Enter the volumes of the sample (in μL) with [] surrounding them: ');
concentration = input('Enter the total protein concentration (in μg/mL) with [] surrounding them: ');
mass_fraction = input('Enter the mass fraction of Gal-7hFc (mass Gal-7hFc/total mass protein) with [] surrounding them: ');
protein_mass1 = (volume(1)/1000) * concentration(1);
protein_mass2 = (volume(2)/1000) * concentration(2);
protein_mass3 = (volume(3)/1000) * concentration(3);
protein_mass4 = (volume(4)/1000) * concentration(4);
Gal_mass1 = protein_mass1 * mass_fraction(1);
Gal_mass2 = protein_mass2 * mass_fraction(2);
Gal_mass3 = protein_mass3 * mass_fraction(3);
Gal_mass4 = protein_mass4 * mass_fraction(4);
protein_masses = [protein_mass1 protein_mass2 protein_mass3 protein_mass4];
min(protein_masses);