curvspace

バージョン 1.0.0.0 (3.27 KB) 作成者: Yo Fukushima
Generate evenly spaced points along an existing curve in 2D or 3D.
ダウンロード: 3.4K
更新 2016/4/1

ライセンスの表示

CURVSPACE(P,N) generates N points that interpolates a curve (represented by a set of points) with an equal spacing. Each row of P defines a point, which means that P should be a n x 2 (2D) or a n x 3 (3D) matrix.
(Example)
x = -2*pi:0.5:2*pi;
y = 10*sin(x);
z = linspace(0,10,length(x));
N = 50;
p = [x',y',z'];
q = curvspace(p,N);

The above example creates 50 evenly spaced points along a sinusoidal curve.

引用

Yo Fukushima (2024). curvspace (https://www.mathworks.com/matlabcentral/fileexchange/7233-curvspace), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R11.1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

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

BSD License added.