function trace = hilltrace(A, E)
  trace = zeros(length(A), length(E));
  for j=1:length(A)
    for k=1:length(E)
      trace(j, k) = poly(hillstrob(A(j), E(k)))(2);
    endfor
  endfor
endfunction