Consider the following code:
FindFit[{1.293, -0.768, -0.004, 0}, {1.011, -0.688, -0.004, 0}, a x1 + b x2 + c x3 + d x4, {a, b, c, d}, {x1, x2, x3, x4}]
I am receiving this error on passing the above command FindFit::fitc: Number of coordinates (3) is not equal to the number of variables (4).
Please let me know what I am doing wrong here ? I want to get coefficient values of x1,x2,x3 and x4.