I have a table which is created from a loop.Problem is that overwrites the previous table for diffrent k and I dont know how to fix it.
for k=1:length(centroid_clust) separate_areas(1,k)=[area_clust(k).Area]; c=[centroid_clust(k).Centroid]; text(c(1), c(2), sprintf('%d', k)); Cluster(k,:)=k;Area_of_cluster(k,:)=area_clust(k).Area;Eccentricity_of_cluster(k,:)=eccentricity_clust(k).Eccentricity ; Euler_of_cluster(k,:)=euler_clust(k).EulerNumber;Perimeter_of_cluster(k,:)=perimeter_clust(k).Perimeter;Orientation_of_cluster(k,:)=orientation_clust(k).Orientation;T2= table(Cluster,Area_of_cluster,Eccentricity_of_cluster,Euler_of_cluster,Perimeter_of_cluster,Orientation_of_cluster)end
Best Answer