Bezier Curve Function
Version 1.0.0.0 (1,37 KB) von
Prakash Manandhar
Vectorized function to calculate Bezier Curve
This function constructs a Bezier curve from given control points. P is a vector of control points. N is the number of points to calculate.
Example:
P = [0 0; 1 1; 2 5; 5 -1];
x = (0:0.0001:5);
y = BezierCurve(length(x), P);
plot(x, y, P(:, 1), P(:, 2), 'x-', 'LineWidth', 2); set(gca, 'FontSize', 16)
Zitieren als
Prakash Manandhar (2025). Bezier Curve Function (https://de.mathworks.com/matlabcentral/fileexchange/34902-bezier-curve-function), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Interpolation finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: Bezier Curve Plotter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
