


HIT_COMPUTE_CONT_MODES Estimate the mode PVs in continuous PWA models ------------------------------------------------------------------------- DESCRIPTION ------------------------------------------------------------------------- [final_models_cont]=... hit_compute_cont_modes(F,ndata,s,weig,adjacences,adjacences_hyp) ------------------------------------------------------------------------- INPUT ------------------------------------------------------------------------- F: structure containing information about the mode datasets, see hit_regression.m ndata: total number of datapoints. s: number of modes to find. weig(i): weight of the i-th datapoint used in weighted LS for estimating the mode PVs. adjacences: each row is a pair (i,j), i<j indicating that the regions i and j are adjacent The constraint i<j avoids storing both pairs (i,j) and (j,i). adjacences_hyp: each row contains the vector [w b] of the hyperplane separating region i from region j (the regions are stored in the corresponding row of adjacences) according to the formula [w b]*[x,1]'=0. ------------------------------------------------------------------------- OUTPUT ------------------------------------------------------------------------- final_models_cont(i,:) estimated PV of the i-th mode.
