Percent Oxygen Saturation MATLAB Implementation

function pos = percent_oxygen_saturation ( do2, oxsat )
% PERCENT_OXYGEN_SATURATION:  Compute percentage oxygen saturation.
%
% USAGE:  pos = compute_percent_oxygen_saturation ( do2, oxsat );
%
% PARAMETERS:
% Input:
%    do2:  dissolved oxygen [ml/l]
%    oxsat:  oxygen saturation [ml/l]
% Output:
%    pos:  percent oxygen saturation (%)
%
%
% AUTHOR:
%    johnevans@acm.org
% 


pos = do2 ./ oxsat * 100;
return