fwht
Calculates the Fast Walsh-Hadamard transform of the inputed vector X.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
- Input vector
- Positive integer value n, a power of 2 number
- String value - 'seq', 'had'
Output
Result vector
Examples