Closed wingillis closed 9 years ago
Error using mvnpdf (line 129) SIGMA must be a square, symmetric, positive definite matrix. Error in spikoclust_gmem_fullem (line 43) pxtheta=mvnpdf(DATA,mu(j,:),sigma(:,:,j)); Error in spikoclust_gmem (line 124) [newmodel]=spikoclust_gmem_fullem(DATA,INIT,unip,maxiter,epsilon,lambda); Error in spikoclust_gmmsort (line 74) tmpnewmodel{i}=spikoclust_gmem(SPIKE_DATA',[],1,'garbage',1,'merge',0,'debug',0); Error in spikoclust_autosort (line 51) [idx CLUSTER_DATA MODEL]=spikoclust_gmmsort(SPIKES.windows,... Error in spikoclust_sort (line 310) [labels model cluster_data]=spikoclust_autosort(spikes,'clust_check',clust_check,... Error in fw_analysis (line 86) spikes_sorted=spikoclust_sort(double(agg_data.data(:,:)),agg_data.fs,'freq_range',[300 3e3],'spike_window',[.001 .0015],'clust_check',1:4);
This should be fixed in the latest update, the covariance matrix wasn't forced to be symmetric by default.