필터 지우기
필터 지우기

Fitting a 3D parametric line to 3D data

조회 수: 1 (최근 30일)
Pal
Pal 2013년 7월 22일
Hi,
Suppose I have data of 3D points in the form of 3 n by 1 vectors, X, Y and Z. I'd like to least-squares fit a 3D line to this data in the form of
|x = x0 + a .* t
y = y0 + b .* t
z = z0 + 0 .* t|
I.e, I'd like to constrain z to be constant and obtain x0, y0, z0, a and b. The formulation may be different, as long as z remains constrained.
Is there a quick way to do this without the curve fitting and statistics toolboxes?
Many thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by