This function calculates the residual square mean of a point (cloud) with respect to a subspace, i.e. the weighted mean of the squares of the distances from the point(s) to the subspace.
1 | residual_square_mean(cloud, weights, subspace, ...)
|
cloud |
An m-by-n matrix of coordinates for m points in n-dimensional space. |
weights |
An m-element vector of point masses (weights). |
subspace |
An k-by-n matrix of coordinates spanning the h-dimensional subspace. |
... |
Additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.