arbitrary equal division function

divide an arbitrary curve into pieces along the curve without coordinate dependency

You are now following this Submission

Divide an arbitrary curve into pieces along the curve without coordinate dependency. Example script file generating the title screen shot shows below:

%spiral of Archimedes
a=1;
t=0:0.2:20; % theta
r=a*t; % r
x = r.*cos(t);
y = r.*sin(t);
z = t;
% polar(t,r,'-or');
subplot(1,2,1);
plot3(x,y,z,'-r');axis equal;
grid on;
[xx,yy,zz] = CurveSliceHomogenize3D(x,y,z,400);
hold on;
plot3(xx,yy,zz,'-*k');axis equal;
title('spiral of Archimedes');

Cite As

TCH (2026). arbitrary equal division function (https://www.mathworks.com/matlabcentral/fileexchange/34796-arbitrary-equal-division-function), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0