Gmean_simultanee calculates the cost matrix for a segmentation model with changes in the mean and variance for all signals

Gmean_simultanee(Don, lmin, sameVar = FALSE)

Arguments

Don

the bivariate signal

lmin

minimum size for a segment, default value is 2

sameVar

whether variance is the same for each segment.

Value

the cost matrix G(i,j) which contains the variance of the data between point (i+1) to point j