help-octave
[Top][All Lists]
Advanced

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

Re: fit [y1,y2]=f(x) to data


From: Martijn Brouwer
Subject: Re: fit [y1,y2]=f(x) to data
Date: Tue, 17 Jun 2003 02:43:08 -0500

On Mon, 16 Jun 2003 11:45:44 -0400 (EDT)
Przemek Klosowski <address@hidden> wrote:

> well, you could fit x and y=y1, and then x and y=y2, but I suspect
> that you are trying to do a simultaeous fit of two functions, giving
> y1 and y2.

This is not what I want.
 
> How about x=[x,x] y=[y1,y2]?

When both x and y are Nx2 matrices it still does not work. Making both an 2Nx1 
matrix did the trick but I think this is not a very elegant solution.
Anyway, thanks for the solution, and for the nice program!

Martijn



-------------------------------------------------------------
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]