# Tag Info

Here,I will give a global B-spline curve fitting according to the least-squares method. Theory(The NURBS Book) LEAST SQUARES CURVE APPROXIMATION Assume that $p\geq 1, n \geq p$, and $Q_0 , ... , Q_m (m > n)$ are given. We seek a $p$-th degree non-rational curve $$C(u)=\sum_{i=0}^{n}N_{i,p}(u)P_i \quad u \in[0,1]$$ satisfying that: \$Q_0=C(0), ...