function h = h8(t0,t1,t2)
% h = h8(t0,t1,t2)
% length 8 orthogonal scaling filter as a function of 3 angles.

% Ivan Selesnick, 1997

t3 = 1/4*pi-t0-t1-t2;
h(1) = cos(t3)*cos(t2)*cos(t1)*cos(t0);
h(2) = cos(t3)*cos(t2)*cos(t1)*sin(t0);
h(3) = -cos(t3)*cos(t2)*sin(t1)*sin(t0)-cos(t3)*sin(t2)*sin(t1)*cos(t0)-...
                sin(t3)*sin(t2)*cos(t1)*cos(t0);
h(4) = cos(t3)*cos(t2)*sin(t1)*cos(t0)-cos(t3)*sin(t2)*sin(t1)*sin(t0)-...
                sin(t3)*sin(t2)*cos(t1)*sin(t0);
h(5) = -cos(t3)*sin(t2)*cos(t1)*sin(t0)+sin(t3)*sin(t2)*sin(t1)*sin(t0)-...
                sin(t3)*cos(t2)*sin(t1)*cos(t0);
h(6) = cos(t3)*sin(t2)*cos(t1)*cos(t0)-sin(t3)*sin(t2)*sin(t1)*cos(t0)-...
                sin(t3)*cos(t2)*sin(t1)*sin(t0);
h(7) = -sin(t3)*cos(t2)*cos(t1)*sin(t0);
h(8) = sin(t3)*cos(t2)*cos(t1)*cos(t0);


