Making approximate 2D Continuous Fourier Transform (CFT) efficient
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there!
I have a matrix that represents a certain 2D function in a frequency domain
calculated on a regular grid, and I want to find it on a certain pre-defined 2D grid in time domain, that is to find the values of
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1322945/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1322950/image.png)
Right now I do it using the "trapz()" function to approximate the continuous integral, and it works. However, if the input matrix size (
) is large or the mesh in time is too fine, it takes a very long time to find it. For example, for input in frequency domain of size [500x100] and time domain grid of size [300x300] it takes something on the order of tens of minutes!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1322955/image.png)
Is there any other way to do it efficiently?
1 comentario
Paul
el 14 de Mzo. de 2023
Hi Stranger,
You might get more traction if you post code with some example data for F_w and the area of integration for the doulbe integral.
Respuestas (0)
Ver también
Categorías
Más información sobre Numerical Integration and Differentiation 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!