Application of the fast walsh-hadamard transform and the fast haar transform for electrochemical impedance measurements based on a periodic square-wave perturbation signal derived from walsh functions