From: Arne Vajhøj on
On 15-06-2010 05:07, Andreas Bauer wrote:
>> formula y = your fx
>> formula x = [your x your y all 1's]
>> formula b = [your a your b your c]
>>
> b is clear.
>
> Can you give me an answer for that?
>
> I hope the last questions.
> Why this way? This way is correct, I'm sure.
> StepsToAxis<=> UserCoordinatesInMM
> fx = a*x + b*y + c
> and not the simplest way
> fx = a*x + b
>
> How is call in mathematics?
> Both 'Linear Regression' ?
>
> How is the best way to Round? Which function?
> int stepsToAxisXInteger = Convert.ToInt32(stepsToAxisX);
> int stepsToAxisXInteger = Convert.ToInt32(stepsToAxisX + 0.5);
>
> How is the calculation for more values?
>
> 3 Values
> Matrix (3,3) * M(3,1) = M(3,1)
> - - -
> 10 Values
> Matrix (10,3) * M(3,1) = M(10,1)
> or?
> n Values
> Matrix (n,3) * M(3,1) = M(n,1)
>
> For b vector I need 3 (a,b,c)
> How I get it, when I have more values.

I have no idea what you are asking about.

Arne
From: Andreas Bauer on
Hello Arne,
> I have no idea what you are asking about.
>
> Arne
Hope now is clear.


Excel Table
http://www.fileuploadx.de/151465


Picture:
http://www1.minpic.de/bild_anzeigen.php?id=114935&key=19057763&ende


first question.
How is the calculation, if I have more then 3 values.


second question.
fx = a*x + b*y + c
this formular should be use, if I have a scale factor and a rotation

third question
fx = a*x + b
this formular should be use, if I have only a scale factor

Both are 'Linear Regression', in mathemaics calls 'Linear
Regression', yes?

Question 4:
How is the best way to Round? Which function do you use?
int stepsToAxisXInteger = Convert.ToInt32(stepsToAxisX);
int stepsToAxisXInteger = Convert.ToInt32(stepsToAxisX + 0.5);
I need a integer to my axis.

With best regards Andreas
From: Andreas Bauer on

Hello Arne,

any tip for me.

Greeting Andreas
>> I have no idea what you are asking about.
>>
>> Arne
> Hope now is clear.
>
>
> Excel Table
> http://www.fileuploadx.de/151465
>
>
> Picture:
> http://www1.minpic.de/bild_anzeigen.php?id=114935&key=19057763&ende
>
>
> first question.
> How is the calculation, if I have more then 3 values.
>
>
> second question.
> fx = a*x + b*y + c
> this formular should be use, if I have a scale factor and a rotation
>
> third question
> fx = a*x + b
> this formular should be use, if I have only a scale factor
>
> Both are 'Linear Regression', in mathematics calls 'Linear
> Regression', yes?
>
> Question 4:
> How is the best way to Round? Which function do you use?
> int stepsToAxisXInteger = Convert.ToInt32(stepsToAxisX);
> int stepsToAxisXInteger = Convert.ToInt32(stepsToAxisX + 0.5);
> I need a integer to my axis.
>
> With best regards Andreas