Respondida
doubt with check boxes
uicontrol('Style','checkbox') % doc uicontrol

casi 13 años hace | 0

| aceptada

Respondida
sorting Matrix in two coum matrix
reshape([M(:,1:2:end) M(:,2:2:end)],[],2) % M is your Matrix

casi 13 años hace | 1

| aceptada

Respondida
Simplest way to add a legend to the groups of a scatter plot
Without gscatter fcn: [~, I] = unique(C); p = findobj(gca,'Type','Patch'); legend(p(I),'X','Y','Z')

casi 13 años hace | 1