Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Matlab[fft] - compute the discrete Fourier transform of a vector in MATLAB(R)
Calling Sequence
fft(X)
fft(X, n)
Parameters
X
-
MapleMatrix or MatlabMatrix
n
(optional) integer
Description
The fft command uses MATLAB to compute the discrete Fourier transform of a vector, X.
If the optional parameter n is specified, then only the first n elements of vector X are used in the computation. If X has fewer than n elements, the missing elements are replaced with zeros (that is, X is padded with zeros up to the value of n).
Executing the fft command returns a Vector.
Examples
To see the result of the MATLAB calls, copy the examples to a worksheet and execute them. For help setting up MATLAB to work with Maple, see Matlab[setup].
Define the Maple matrix
The Fourier transform is computed as
[ 25. + 0. I ]
[ ]
[0.618033988749894901 - 1.90211303259030706 I ]
[-3.61803398874989490 + 4.97979656976556040 I ]
[-1.61803398874989490 + 1.17557050458494626 I ]
[-1.38196601125010509 + 0.449027976579585484 I]
[ -3. + 0. I ]
[-1.38196601125010509 - 0.449027976579585484 I]
[-1.61803398874989490 - 1.17557050458494626 I ]
[-3.61803398874989490 - 4.97979656976556040 I ]
[0.618033988749894901 + 1.90211303259030706 I ]
To obtain the fft of only the first two elements of v
[3. ]
[-1.]
See Also
DiscreteTransforms[FourierTransform], Matlab, Matlab[det], Matlab[evalM], Matlab[inv], MatlabMatrix
Download Help Document