3D Bezier Curve,

Bezier curve by given control points.

You are now following this Submission

%Example:
% P=[292 280 321 356;
% 196 153 140 148;
% -56 75 140 248];
%
% t=linspace(0,1,100);
% Q3D=Bezier(P,t);
%
% figure
% plot3(Q3D(1,:),Q3D(2,:),Q3D(3,:),'b','LineWidth',2),
% hold on
% plot3(P(1,:),P(2,:),P(3,:),'g:','LineWidth',2) % plot control polygon
% plot3(P(1,:),P(2,:),P(3,:),'ro','LineWidth',2) % plot control points
% view(3);
% box;

Cite As

Tusi Bai (2026). 3D Bezier Curve, (https://www.mathworks.com/matlabcentral/fileexchange/35154-3d-bezier-curve), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interpolation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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