Hello I don't know if this is the right place to place this, but here it goes: I tried an IDFT approach in LTspice, which doesn't know sqrt(-1). If z=a+i*b then, in LTspice, z=a, |z|=a, so b is lost. With this in mind, the IDFT is done with sin^2+cos^2 which gives me |sinc(x)|, but I need the sinc to be "regular" sinc, oscillating. So, the question is: is it possible through whatever trick/cheat/etc to restore or get an oscillating sinc(x) after the transform? Anything. I am using this chain of .funcs: real(n,t)=sin(2*pi*n*(t-M/2)/(M+1))*f(n) imag(n,t)=cos(...) re(t)=real(0,t)+real(1,t)+... im(t)= ... h(t)=hypot(re(t),im(t))/(M+1) Anticipated thanks, Vlad PS: No homework,their time is long past. This is to try and implement a simple IDFT in LTspice.