Home > brede > brede_mat_hulllevel.m

brede_mat_hulllevel

PURPOSE ^

brede_mat_hulllevel - Hull level of vertices

SYNOPSIS ^

function hl = brede_mat_hulllevel(M, varargin)

DESCRIPTION ^

 brede_mat_hulllevel  - Hull level of vertices

       hl = brede_mat_hulllevel(M) 

       Input:  M   'Mat' structure

       Output: hl  Hull level

       Convex hull level of a point set. 

       This function uses the convhulln matlab function that in turn
       uses the qhull algorithm.

       Note: ''If you use an image produced by this software in a
             publication or presentation, we request that you credit
             the Geometry Center with a notice such as the following: 
             "Figures 1, 2, and 5-300 were generated with software
             written at the Geometry Center, University of
             Minnesota.'' 

       Example: 
         % Twenty points in 2 dimensions
         X = rand(20,2);
         M = brede_mat_mat2mat(X);
         hl = brede_mat_hulllevel(M);
         figure
         for n=1:length(hl),text(X(n,1), X(n,2), num2str(hl(n))), end

       See also BREDE, BREDE_MAT, BREDE_SUR, BREDE_SUR_HULLLEVEL,
                CONVHULLN.

 $Id: brede_mat_hulllevel.m,v 1.3 2006/06/30 21:04:28 fn Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005