FFT for one 1*N Green function in MATLAB

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Zahra G
Messages
6
Reaction score
0
I have a 1×N Green function in energy domain. I want to use the FFT (fast Fourier transform) for this Green function in MATLAB. But this function is non-periodic. Could you help me about this? How can I change the energy interval to convert Green function as a periodic function?
 
Physics news on Phys.org
I defined zero matrix with zeros command in the binging of the program and calculate the Green function in energy domain then I converted the Green function to periodic function using for loop. Is it true=?