Hi, Below is the code which is reading one csv file I want to modify this code so it will read 100 csv files and produces 100 values of following [xc,yc,Re,a]. Quick modification would be helpful as deadline in an hour.
XY = dlmread('contours0.137.csv');
[xc,yc,Re,a] = circfit(XY(:,1),XY(:,2))
xe = Re*cos(th)+xc; ye = Re*sin(th)+yc;
title(' measured fitted circles')
text(xc-Re*0.9,yc,sprintf('center (%g , %g ); R=%g',xc,yc,Re))