Yes, it holds that score = norm_ingredients * pc
, where norm_ingredients
is the normalized version of your input matrix so that its columns have zero mean, that is,
norm_ingredients = ingredients - repmat(mean(ingredients), size(ingredients, 1), 1)