3.0.4 last call for patches

Marco Caliari marco.caliari at univr.it
Mon Jan 12 05:04:34 CST 2009


On Mon, 12 Jan 2009, Jaroslav Hajek wrote:

> On Mon, Jan 12, 2009 at 11:45 AM, Marco Caliari <marco.caliari at univr.it> wrote:
>> Dear Jaroslav,
>>
>> it it possible to apply the patch to polyfit described here:
>> http://www.nabble.com/polyfit%3A-add-a-third-output-argument%2C-mu--PATCH--td18207873.html#a18207873
>> ?
>>
>> Best regards,
>>
>> Marco
>>
>
> The discussion shows that some alternative has already been applied,
> and the third output argument is now supported in 3.0.x. Is something
> more missing?

In 3.0.3 there is the third output argument mu, but it is not used at all. 
This part is missing

if (nargout > 2)
   mu(1) = mean(x);
   mu(2) = std(x);
   x = (x - mu(1)) / mu(2);
endif

Marco


More information about the Octave-maintainers mailing list