fwhti

Calculates the Inverse Fast Walsh-Hadamard transform of the inputed vector Y.Second argument must be a power of 2 number.Third argument options:'seq' - Coefficients in order of increasing sequency;'had' - Coefficients in normal Hadamard order.

Arguments

  1. Input vector
  2. Positive integer value n, a power of 2 number
  3. String value - 'seq', 'had'

Output

Result vector

Examples

fwhti