cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Fourier transformation of one index

jlin-2
1-Visitor

Fourier transformation of one index

Hello all,

I have a problem with the Fourier transform of one of the two dimensions by using the "for loop".

I will be appreciated if anyone could help me with the problem.

Please find the attachment. Thank you a lot!!

ACCEPTED SOLUTION

Accepted Solutions

c1.PNG

The first iteration of the m= loop will set the values for E0[0,n ,but you need all the m indexes filled to calculate the summation.

splitting the calculation to fill the E0 array first will fix this:

c1.PNG

Hope this helps

Andy

View solution in original post

2 REPLIES 2

c1.PNG

The first iteration of the m= loop will set the values for E0[0,n ,but you need all the m indexes filled to calculate the summation.

splitting the calculation to fill the E0 array first will fix this:

c1.PNG

Hope this helps

Andy

Hi Andy,

Thank you so much! It helps a lot!

Cheers,

JJ

Announcements

Top Tags