Determination of the interaction energy in the martensitic state