I have found the individual matrices, but now I want to group the matrices taking one cloumn from each, viz.,
for n=.5:.5:5
hold on
f=(@(x,y) (x.^n)+(y.^n)-1);
g=fimplicit(f,[0 1 0 1]);
hold off
hgsave(gca,'f2.fig')
end
line = get(gca, 'Children'); % Get the line object in the current axis of the figure.
p = get(line, 'XData'); % Get the abscissas.
q = get(line, 'YData'); % Get the ordinates.
P=cell2mat(p);
X=P';
Q=cell2mat(q);
Y=Q';
I want to group (X1,Y1), (X2, Y2), (X3,Y3) ..... separately for each column.
How can I do it?