function y = gabridgefun(x, pR, pT, pC)

% Function to accompany gabridgeopt.m

R = polyval(pR, x);
T = polyval(pT, x);
C = polyval(pC, x);
y = [R,T,C];