help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem of polyfit


From: Henry F. Mollet
Subject: Re: Problem of polyfit
Date: Fri, 07 Oct 2005 08:47:13 -0700
User-agent: Microsoft-Entourage/11.1.0.040913

Output S of polyfit is a structure with 5 elements. 'S.fy' is what I should
have used instead of copy/paste from the output on the screen. I have set
silent_functions = 0, therefore both P and S were in the workspace.
Henry


on 10/6/05 7:55 PM, Henry F. Mollet at address@hidden wrote:

> I believe my problem was/is as follows:
> [P, S] = polyfit (x, y, 1)
> does not give me yf in the workspace unless I amend polyfit.m.
> Therefore I copied the result from the screen and I used yf = [paste]. I
> lost precision in this step. The rest was done line by line and yhat was in
> the workspace with high precision despite using default format.
> 
> So my question is how can I get yf (of polyfit) into my workspace without
> changing polyfit.m and without going to format long.
> Henry
> 
> 
> on 10/6/05 6:55 PM, Miroslaw Kwasniak at address@hidden wrote:
> 
>> On Thu, Oct 06, 2005 at 06:44:20PM -0700, Henry F. Mollet wrote:
>>> [~] -bash-2.05b 501$ octave
>>> GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0).
>>> This time around I was starting out with format long instead of default
>>> format. I did not know that this was required to get higher precision.
>> 
>> It sounds horrible , none of my versions of octave has such behaviour !
>> 
>> 
>> 
>> -------------------------------------------------------------
>> Octave is freely available under the terms of the GNU GPL.
>> 
>> Octave's home on the web:  http://www.octave.org
>> How to fund new projects:  http://www.octave.org/funding.html
>> Subscription information:  http://www.octave.org/archive.html
>> -------------------------------------------------------------
>> 
> 
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]