Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

FFT for one 1*N Green function in MATLAB

  1. Aug 8, 2015 #1
    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?
  2. jcsd
  3. Aug 11, 2015 #2


    User Avatar
    Science Advisor
    Gold Member

    I am not sure I understand what you are trying to do. Could you use zero-padding?
  4. Aug 11, 2015 #3
    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=?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook