ndattani/Dattani-leastSquaresFitToBathResponseFunction — comment on commit 1d48f4ccad27ca23ea240869f3b063136a01a60c
File: leastSquaresFitToBathResponseFunction.m line 74
By ndattani:

I think your variable 'pf' is just the imaginary part of my variable 'p'
It might be best for us to define p as a complex number (ie, my 'p' plus 1i times your 'pf' )
Then alpha(ii)=sum(p.exp(Omega*t(ii)))
... which is much cleaner than line 75 !