What is the Fourier Function of Matlab doing?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Niklas Kurz
el 15 de En. de 2021
Comentada: Paul
el 30 de Mzo. de 2025
Hidden in the Matlab basic functions I discovered
fourier(f)
existst. This seems useful I thought, because It applies the fourier-transform to the function f by calculating the complex integral.
But how can I take use of that? I thought, by doing the transform, I can simply plot it:
syms x
FT = fourier(x^2)
fplot(FT)
isn't doing much. Is there a misunderstanding at the root?
0 comentarios
Respuesta aceptada
Walter Roberson
el 15 de En. de 2021
syms x w
FT(w) = fourier(x^2, x, w)
FT(-1), FT(0), FT(1)
fplot(FT)
The empty plot is to be expected as the value is 0 everywhere exact at w = 0 exactly, where it is -infinity .
4 comentarios
Guillermo Aldana
el 30 de Mzo. de 2025
There are at least 3 defintions of the Fourier Transform - Physic, math and engineering use slighlty different versions, some even with a 180 phase shift in frequency - which definition does matlab use?
Paul
el 30 de Mzo. de 2025
See the More About section of the fourier doc page for the default parameterization of the Fourier transform. See sympref for how to specify parameters that aren't the defaults.
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

