[![Sawtooth Wave][1]][1] [1]: https://i.sstatic.net/RJpZP.png Hi all, I've been trying to zero centre a waveform prior to IFFT. my recent attempts are based on the following code which is producing the waveform below. I don't understand why this isn't working or why there are notches in the sawtooth wave. Is my math incorrect? The following code snippet is used to center it. zeroStartRadianValue = 2*PI*f0/fs*NFFT*0.50*-1.0;