+ Reply to Thread
Results 1 to 2 of 2

Find normal coefficients for a best fit plane to a point cloud

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    Los Angeles, California
    MS-Off Ver
    Excel 2003
    Posts
    1

    Find normal coefficients for a best fit plane to a point cloud

    I thought I could share this. I needed to find the best fit plane coefficients for a cloud of 3d points. What i found is that Lines sort of does this. By that i mean lines will find the best fit with the equation Y=M1x1+M2x2 What I needed was the normal coefficients of Ax +By +Cz for the plane. To find this I simply rewrote the lines equation able to M1x1 +M2x2 - z. Here the c coefficient is -1(-1×z) and A is M1 and B is M2. I then normalized everything by dividing each coefficient by sqrt (sumsq (a, b, c) ) which gave me the normal vector of the best fit plane

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Find normal coefficients for a best fit plane to a point cloud

    Good job.

    There's an example at http://www.excelforum.com/excel-gene...ml#post2786180
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. find the trend-line coefficients for a 5th order polynomial
    By screaming13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2014, 09:33 AM
  2. intersection point of two normal distribution curves
    By gauravsingh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-03-2013, 10:43 AM
  3. [SOLVED] Get Point intersection between vertical plane ('ZY') and 3d line
    By thomasaxn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 09:41 AM
  4. Index/Match to find Starting Point of Average, Ending Point of Average Variable
    By tgentry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-09-2012, 01:04 AM
  5. Need to find regression coefficients, probably easy
    By Eratanz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2005, 05:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1