Overview of the DiscreteTransforms Package - Maple Help

Home : Support : Online Help : Mathematics : Packages : DiscreteTransforms

Overview of the DiscreteTransforms Package

 Calling Sequence DiscreteTransforms[command](arguments) command(arguments)

Description

 • The DiscreteTransforms package contains commands for computing transforms of discrete data.
 • The commands of the package are (currently) limited to hardware precision, which means that the results are independent of Digits, and that all computations occur in double precision (approximately 15 decimal digits).
 The Fourier commands in the package work with almost any compatible data type, but are most efficient when used with the natural data type that is used to compute the transform. The wavelet commands in the package work purely with real, float[8] data.
 • Each command in the DiscreteTransforms package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
 As the underlying implementation of the DiscreteTransforms package is a module, it is also possible to use the form DiscreteTransforms:-command to access a command from the package. For more information, see Module Members.

List of DiscreteTransforms Package Commands

 The following is a list of available commands:

 computes a discrete Fourier transform of the complex input data. computes a discrete inverse Fourier transform of the complex input data. obtain orthogonal and biorthogonal wavelet masks. computes the discrete wavelet transform of real data. computes the inverse discrete wavelet transform of real data. plot the mother and father wavelets from the scaling and wavelet coefficients.

 • For information about efficient use of the FourierTransform and InverseFourierTransform commands, see FourierTransform/efficiency.
 • To display the help page for a particular DiscreteTransforms command, see Getting Help with a Command in a Package.

Examples

 > $\mathrm{with}\left(\mathrm{DiscreteTransforms}\right)$
 $\left[{\mathrm{DiscreteWaveletTransform}}{,}{\mathrm{FourierTransform}}{,}{\mathrm{InverseDiscreteWaveletTransform}}{,}{\mathrm{InverseFourierTransform}}{,}{\mathrm{WaveletCoefficients}}{,}{\mathrm{WaveletPlot}}\right]$ (1)
 > $Z≔\mathrm{Vector}\left(4,i→\mathrm{evalf}[15]\left(1+\mathrm{cos}\left(\frac{2\mathrm{π}i}{4}\right)+I\mathrm{sin}\left(\frac{2\mathrm{π}i}{4}\right)\right),\mathrm{datatype}=\mathrm{complex}[8]\right)$
 ${Z}{:=}\left[\begin{array}{c}{1.}{+}{1.}{}{I}\\ {0.}{+}{0.}{}{I}\\ {1.}{-}{1.}{}{I}\\ {2.}{+}{0.}{}{I}\end{array}\right]$ (2)
 > $\mathrm{FourierTransform}\left(Z,\mathrm{inplace}=\mathrm{true}\right)$
 $\left[\begin{array}{c}{2.}{+}{0.}{}{I}\\ {0.}{+}{2.}{}{I}\\ {0.}{+}{0.}{}{I}\\ {0.}{+}{0.}{}{I}\end{array}\right]$ (3)
 > $\mathrm{InverseFourierTransform}\left(Z,\mathrm{inplace}=\mathrm{true}\right)$
 $\left[\begin{array}{c}{1.}{+}{1.}{}{I}\\ {0.}{+}{0.}{}{I}\\ {1.}{-}{1.}{}{I}\\ {2.}{+}{0.}{}{I}\end{array}\right]$ (4)
 > $\mathrm{w1},\mathrm{w2}≔\mathrm{WaveletCoefficients}\left(\mathrm{Daubechies},4\right)$
 ${\mathrm{w1}}{,}{\mathrm{w2}}{:=}\left[\begin{array}{c}{-}{0.129409522551260}\\ {-}{0.224143868042013}\\ {0.836516303737808}\\ {-}{0.482962913144534}\end{array}\right]{,}\left[\begin{array}{c}{0.482962913144534}\\ {0.836516303737808}\\ {0.224143868042013}\\ {-}{0.129409522551260}\end{array}\right]$ (5)
 > $V≔\mathrm{Vector}[\mathrm{row}]\left(10,i→i,\mathrm{datatype}=\mathrm{float}[8]\right)$
 ${V}{:=}\left[\begin{array}{cccccccccc}{1.}& {2.}& {3.}& {4.}& {5.}& {6.}& {7.}& {8.}& {9.}& {10.}\end{array}\right]$ (6)
 > $\mathrm{V1},\mathrm{V2}≔\mathrm{DiscreteWaveletTransform}\left(V,\mathrm{w1},\mathrm{w2}\right)$
 ${\mathrm{V1}}{,}{\mathrm{V2}}{:=}\left[\begin{array}{ccccc}{2.22044604925031}{}{{10}}^{{-16}}& {4.44089209850063}{}{{10}}^{{-16}}& {4.44089209850063}{}{{10}}^{{-16}}& {0.}& {-}{3.53553390593274}\end{array}\right]{,}\left[\begin{array}{ccccc}{2.31078903454115}& {5.13921615928734}& {7.96764328403353}& {10.7960704087797}& {12.6771540786184}\end{array}\right]$ (7)
 > $\mathrm{InverseDiscreteWaveletTransform}\left(\mathrm{V1},\mathrm{V2},\mathrm{w1},\mathrm{w2}\right)$
 $\left[\begin{array}{cccccccccc}{1.}& {2.00000000000000}& {3.00000000000000}& {4.00000000000000}& {5.00000000000000}& {6.00000000000000}& {7.00000000000000}& {8.}& {9.}& {10.0000000000000}\end{array}\right]$ (8)