Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2010-04-25 19:28:19

neverhood
Member
Registered: 2010-04-25
Posts: 1

Estimate variables from mesurement data

Hi math'ers
I'm building a robot, and need to estimate the time it takes to turn x number of degrees.

There are two unknown variables:
y - The time it takes for the robot to start turning after the turning command is sent. (This is constant, but still unknown)
z - The time it takes to turn x number of degrees after the turning starts.

I start with some guessed values for y and z, and after each turn I measure how many degrees was actually turned.

So, some sample data could look like this:
y+38z=850
y+53z=1200
y+80z=1850

how do I estimate y and z with a variable number of sample data?

Thanks in advance smile

Offline

#2 2010-04-25 19:39:03

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Estimate variables from mesurement data

Hi neverhood;

Why not just tabulate y and z and then do a least squares fit.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB