Inequivalent Hadamard matrices via indicator functions