function y = powerLaw(x, p)
% Power law function y = c*x^alpha.
%
% Arguments: x, vector of the x-data values.
%            p, vector with parameter values c and alpha
%
% Returns:   y, vector of the computed y-data values.
  y = p(1)*x.^p(2);
end