
function [Hfinal] = testeH(Ak, Bk, Ck)

for ind = 1:10

Hp(ind) = Ck*(Ak^ind-1)*Bk;

end

n = 7;
for indice=1:n-1
   H2(indice,1:n-indice) = Hp(indice:n-1);
end

Hfinal = H2(1:3,1:3);