Re: linear regression in 3D data points

From: Predictor (predictr_at_bellatlantic.net)
Date: 03/15/05


Date: 15 Mar 2005 02:54:04 -0800


twigster wrote:
> have to get "the best line" to approximate a set of points in 3D.
> I've imagined using a linear regression of matlab but without success

> till now...
>
> does anyone have any idea of how to do this

What, exactly, are you trying to accomplish? I imagine you have a set
of data with 3 columns and 'n' rows, and that you want to fit a plane
to them? Most often, this is expressed as one column being a linear
function of the other two... is this what you want? If so, try using
MATLAB's '\' operator, possibly adding a column of ones for the
intercept.

-Will Dwinnell
http://will.dwinnell.com



Relevant Pages

  • Re: significance p-value regressions
    ... Imagine an explanatory variable that is not significant in a simple ... The multiple linear regression as a whole is not significant. ... I've always started with the disruptive nature of ...
    (sci.stat.edu)
  • significance p-value regressions
    ... Imagine an explanatory variable that is not significant in a simple ... The multiple linear regression as a whole is not significant. ... The correlation coefficient between the two variables is 0.5854 ...
    (sci.stat.edu)
  • Re: significance p-value regressions
    ... Imagine an explanatory variable that is not significant in a simple ... The multiple linear regression as a whole is not significant. ... The correlation coefficient between the two variables is 0.5854 ...
    (sci.stat.edu)
  • Re: linear regression in 3D data points
    ... Why not to solve the fitting in two of the three possible pair of ... > I've imagined using a linear regression of matlab but without success ...
    (sci.image.processing)
  • Re: Logarithmic Interpolation
    ... It only made me realize better how that pitch shifting problem was far ... from as simple as I could imagine. ... RAM and matlab, they had their wits about them. ...
    (comp.dsp)