Bezier Curve Function

Vectorized function to calculate Bezier Curve
ダウンロード: 1.2K
更新 2012/2/2

ライセンスの表示

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)

引用

Prakash Manandhar (2024). Bezier Curve Function (https://www.mathworks.com/matlabcentral/fileexchange/34902-bezier-curve-function), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersInterpolation についてさらに検索
謝辞

ヒントを得たファイル: Bezier Curve Plotter

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0