function SHM=CalculaMovimentoRobo(MDH)

for j=1:size(MDH,3) %%size(MDH,3)=Numero de DH's criadas
    for i=1:size(MDH,1)
        M(:,:,j,i)=ATElos(MDH(i,:,j));
    end
end
SHM=M;