It seems like h0 = p0, h1 = p3, h2 = 3(p1-p0), h3 = 3(p3 - p2)
tigreezy
The equations I got were B0 = -t^3 + 3t^2 - 3t + 1, B1 = t^3 - 3t^2 + 3t, B2 = -3t^3 - 3t^2, and B3 = 3t^3 + 3t^2. Please
confirm if you got the same answer.
Pinbat
My B_0 is the same, but I got B_1 = 3t^3-6t^2+3t, B_2 = -3t^3+3t^2, B_3 = t^3
It seems like h0 = p0, h1 = p3, h2 = 3(p1-p0), h3 = 3(p3 - p2)
The equations I got were B0 = -t^3 + 3t^2 - 3t + 1, B1 = t^3 - 3t^2 + 3t, B2 = -3t^3 - 3t^2, and B3 = 3t^3 + 3t^2. Please confirm if you got the same answer.
My B_0 is the same, but I got B_1 = 3t^3-6t^2+3t, B_2 = -3t^3+3t^2, B_3 = t^3
The same answer as Pinbat's. P(t) = (1 - t)^3 P0 + 3t(1-t)^2P1 + 3t^2(1-t)P2 + t^3P3 = [(1 - t)^3 3t(1-t)^2 3t^2(1-t) t^3][P0 P1 P2 P3]^T = [t^3 t^2 t 1][-1 3 -3 1; 3 -6 3 0; -3 3 0 0; 1 0 0 0] [P0 P1 P2 P3]^T