Making approximate 2D Continuous Fourier Transform (CFT) efficient
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Paul
am 14 Mär. 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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!