n = round((R2 - a)./(b));
eqangle= dtheta* pi/(180);
theta = linspace(0,th,tpoints);
NOTE:
The above code works well for equal angle discretization method. The code consists the information about equal angle i.e, 1 degree, the total number of points, number of points in each spiral, total angle obtained, etc.
Simialry the code for equal arc length discretization method should cosnsists the following information such as for incremental arc length i.e., 1 mm, what is number of points around the edge, spiral length, total number of points etc
Please help to developed the code based on the above information.
Looking forward for the improvement in above code