
function [Hfinal] = testeHW(A, B, C)

Wo = [C' A'*C' A'^2*C' A'^3*C']';
Wc = [B A*B A^2*B A^3*B];
Hfinal = Wo*Wc;