Home > biosig > t501 > sphfit.m

sphfit

PURPOSE ^

SPHFIT fits a sphere to a set of surface points

SYNOPSIS ^

function [center,radius]=sphfit(vc)

DESCRIPTION ^

 SPHFIT fits a sphere to a set of surface points

 input: 
 vc   nx3 matrix, where each row represents the location
      of one surface point. vc can have more than 3 columns 
      (e.g. orientations) - then only the first 3 columns are used

 center  1x3 vector denoting the center
 radius  scalar denoting the radius

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003