09-28-2006 01:09 PM
f0=x0*x1I tried the linear fit .vi but although I don't get any error messages the results does not seem correct.
f1=x0*x3
f2=x0*x3
f3=x0
f4=-y*x1
f5=-y*x2
f6=-y*x3
09-28-2006 01:26 PM
@Juliane wrote:
y=a0*f0+a1*f1+a2*f2+a3*f3+a4*f4+a5*f5+a6*f6
with :
f0=x0*x1
f1=x0*x3
f2=x0*x3
f3=x0
f4=-y*x1
f5=-y*x2
f6=-y*x3
Juliane,
Your function does not make sense, because y is also a function of y. Mathematically, f4 reduces to x1. Could it be your data is in two dimensions?
Can you put real data in your controls, make the current values default, save and repost your VI? Thanks! 🙂
09-28-2006 02:33 PM
[wXw, wYw, wZw] are the 3D coordinates of a point
[cXpd, cYpd] the coordinates of a 2D point (which is the image of the above 3D point)
y=cXpdSo really, Y should be [cXpd, cYpd] and X should be [wXw, wYw, wZw] but then I don't see how I can find the A coefficients...
x0=cYpd
x1=wXw
x2=wYw
x3=wZw
09-29-2006 03:52 AM
09-29-2006 09:49 AM
So really, Y should be [cXpd, cYpd] and X should be [wXw, wYw, wZw] but then I don't see how I can find the A coefficients...
OK, none of this make any sense at all. If it *should* be the above, why do you seemingly randomly do something else? 😉
You seem to randomly mix independent and dependent variables. Can we start from scratch and you just tell us a little bit about the experiment. How does the data look in 3D?
09-29-2006 10:26 AM