barycenter: Barycenter of a point cloud.

Description Usage Arguments

Description

This function calculates the barycenter (weighted centroid) of a point cloud.

Usage

1

Arguments

cloud

An m-by-n matrix of coordinates for m points in n-dimensional space.

weights

An m-element vector of point masses (weights).


corybrunson/cloud documentation built on May 13, 2019, 10:51 p.m.