Here is my MATLAB Code
plot3(x0Grid(:,1),x0Grid(:,2),x0Grid(:,3));
hold on
plot3(x0Grid(idx),x0Grid(idx),x0Grid(idx),'ro','MarkerFaceColor','red','MarkerEdgeColor','red','MarkerIndices',10);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!