2-D Fast Fourier Transform FFT on a uniform data set with non-rectangular boundaries
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
EDic
el 23 de Nov. de 2018
Comentada: EDic
el 4 de Dic. de 2018
Hi,
I would like to perform the Fast Fourier Transform (fft2) on a 2D non-rectangular space of equally spaced points. Is there a built-in function in MATLAB that can handle such a computation?
Any help is much appreciated.
0 comentarios
Respuesta aceptada
Image Analyst
el 23 de Nov. de 2018
Just make it rectangular with ndgrid or griddedInterpolant()
maxX = max(x);
minX = min(x);
maxY = max(y);
minY = min(y);
% Find spacing
xSpacing = mode(x);
etc.
% Use ndgrid of griddedInterpolant to make gridded array.
% Then loop over values assigning the x and y to the proper location.
Más respuestas (0)
Ver también
Categorías
Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!