Function Index
InverseDiscreteHadamardTransform
InverseDiscreteHadamardTransform[
coef
]
returns the inverse discrete Hadamard transform (IDHT) of a list of DHT coefficients
coef
.
The 1D IDHT of a sequence X[k] is defined as
for n = 0,1,...,N-1, with N=2
m
.
The 2D IDHT of a sequence X[k
1
,k
2
] is defined as
for n
1
= 0, 1, ... , N
1
-1 and n
2
= 0, 1,..., N
2
-1, where N
1
= 2
m
1
, N
2
=2
m
2
and b
i
(z) is the
i
th
bit in the binary representation of
z
. The addition of the bits b
i
in the exponent of -1 is in modulo-2 arithmetic. Note that the forward and inverse Hadamard transforms are identical.
The option
SequencyOrdered
→
True
returns the ordered form of the Hadamard transform. The default value is
SequencyOrdered
→
False
.
The argument
coef
may be a vector or a matrix.
See also User's Guide
8.5
.
Example
This loads the package.
In[1]:=
This creates a list of Hadamard coefficients.
In[2]:=
Out[2]=
This computes the inverse Hadamard transform and verifies invertibility.
In[3]:=
Out[3]=
© 2009 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: