Polyfit with scaling

Thomas Weber thomas.weber.mail at gmail.com
Fri Feb 1 14:57:14 CST 2008


On 01/02/08 07:26 -0800, Rolf Fabian wrote:
> Without testing it, I looked shortly at the code of 
> your polyfit.m and found  close to the end:
> 
>   ## Return a row vector
>   p = p(:)';
> 
> This is a bug because it converts complex column vectors
> to complex conjugated polynomials ( row-vectors)

I think Ben just took this line from me. Your observation regarding the
complex values is obviously correct. However, is polyfit supposed to
work with comples input values? Otherwise, I don't see how complex
values can show up.

	Thomas


More information about the Octave-maintainers mailing list