[Spanish, from matar, to kill, possibly from Vulgar Latin *mattre, to beat senseless, perhaps from Latin mattus, stupefied. See mat2.]
I do believe you're right.