FFTN on 2D distribution
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I got a known 2D distrubution of a magnetic field and and the following equations to expand my field with 3D Fourier Series:
and are the amplitudes of the harmonics, and are the phase angles. After some research I found matlab's fftn command. But I dont quite understand how I need to prepare my data and so I can feed it properly to the algorithm and get results for and .
Let's assume I got a 2D-matrix with amplitudes of my magnetic field strength ( and ):
S = rand(10,10)
Since The output Y is the same size as X according to the description, I need to modifiy the matrix first. Is this done via a meshgrid or do I understand something wrong?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!