24 Jun 2013
A number of functions for brewers.
|P=SG_to_Plato( SG )
function P=SG_to_Plato( SG )
% P=SG_to_Plato( SG )
% Calculates degrees plato from specific gravity.
% Reference: Manning, M.P., Understanding Specific Gravity and Extract,
% Brewing Techniques, 1,3:30-35 (1993)
%Copyright (c) 2013, Travis Wiens, based on beerlib.c (c) 2003 by Domenick Venezia
%All rights reserved.
% If you would like to request that this software be licensed under a less
% restrictive license (i.e. for commercial closed-source use) please
% contact Travis at firstname.lastname@example.org
P=-676.67 + 1286.4*SG - 800.47*SG.*SG + 190.74*SG.*SG.*SG;