www.ShoppingPodder.com

Leading Computer Shopping,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

Localization - System of two unknowns.
   Shopping Podder - the Best of Computer Postings! Forum Index -> Computer - DSP  
View previous topic :: View next topic  
Author Message
maz_p5
Guest






PostPosted: Wed Aug 27, 2008 9:18 am    Post subject: Localization - System of two unknowns. Reply with quote

Hi,

I have to derive a location using the below formulas:

d12=sqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x2-xs)^2+(y2-ys)^2)
d13=sqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x3-xs)^2+(y3-ys)^2)

d12=0.085, d13=0.56. (x1,y1)=(0,0), (x2,y2)=(0,6), (x3,y3)=(4,6)

I have to find the point (xs,ys). How can I do this in MATLAB. What
technique can be applied. PLEASE HELP.
If possible, Please explain with the help of a code. Its urgent.

Thank you.
Back to top
Guest







PostPosted: Wed Aug 27, 2008 2:02 pm    Post subject: Re: Localization - System of two unknowns. Reply with quote

On Aug 27, 3:42 am, "maz_p5" <maz...@hotmail.com> wrote:
Quote:
Hi,

I have to derive a location using the below formulas:

d12=sqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x2-xs)^2+(y2-ys)^2)
d13=sqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x3-xs)^2+(y3-ys)^2)

d12=0.085, d13=0.56. (x1,y1)=(0,0), (x2,y2)=(0,6), (x3,y3)=(4,6)

I have to find the point (xs,ys). How can I do this in MATLAB. What
technique can be applied. PLEASE HELP.
If possible, Please explain with the help of a code. Its urgent.

Thank you.

Hello Maz,

There are several ways to attack this kind of problem. I typically use
a differential correction method. The following link is to a MathCad
paper of mine showing how to do this. Even though it is not MatLab, I
think you will see how to do this from my paper.

http://www.claysturner.com/dsp/gps%20eqn%20solve.pdf

IHTH,
Clay
Back to top
maz_p5
Guest






PostPosted: Fri Aug 29, 2008 4:39 am    Post subject: Re: Localization - System of two unknowns. Reply with quote

Quote:
On Aug 27, 3:42=A0am, "maz_p5" <maz...@hotmail.com> wrote:
Hi,

I have to derive a location using the below formulas:

d12=3Dsqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x2-xs)^2+(y2-ys)^2)
d13=3Dsqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x3-xs)^2+(y3-ys)^2)

d12=3D0.085, d13=3D0.56. (x1,y1)=3D(0,0), (x2,y2)=3D(0,6),
(x3,y3)=3D(4,6=
)

I have to find the point (xs,ys). How can I do this in MATLAB. What
technique can be applied. PLEASE HELP.
If possible, Please explain with the help of a code. Its urgent.

Thank you.

Hello Maz,

There are several ways to attack this kind of problem. I typically use
a differential correction method. The following link is to a MathCad
paper of mine showing how to do this. Even though it is not MatLab, I
think you will see how to do this from my paper.

http://www.claysturner.com/dsp/gps%20eqn%20solve.pdf

IHTH,
Clay


Hello Clay,

Thanks for your paper. I will try out the solution and get back to you.

But, the point at which i am stuck is the square root. There are various
systems done by least square method but these equations have square roots
which is causing me a problem and it is worrying me. There is nothing of
that sort in your method.

Also, my d12 is not the difference between measured and predicted value as
discussed in your paper. This is a sound localization system and d12 is the
difference between the distance form microphone 1 to the source(sound
source) and from microphone 2 to the source.

Do you think your method would work on this system?

Thanks,
-Maz
Back to top
Guest







PostPosted: Fri Aug 29, 2008 5:45 pm    Post subject: Re: Localization - System of two unknowns. Reply with quote

On Aug 28, 7:39 pm, "maz_p5" <maz...@hotmail.com> wrote:
Quote:
On Aug 27, 3:42=A0am, "maz_p5" <maz...@hotmail.com> wrote:
Hi,

I have to derive a location using the below formulas:

d12=3Dsqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x2-xs)^2+(y2-ys)^2)
d13=3Dsqrt((x1-xs)^2+(y1-ys)^2)-sqrt((x3-xs)^2+(y3-ys)^2)

d12=3D0.085, d13=3D0.56. (x1,y1)=3D(0,0), (x2,y2)=3D(0,6),
(x3,y3)=3D(4,6> >)

I have to find the point (xs,ys). How can I do this in MATLAB. What
technique can be applied. PLEASE HELP.
If possible, Please explain with the help of a code. Its urgent.

Thank you.

Hello Maz,

There are several ways to attack this kind of problem. I typically use
a differential correction method. The following link is to a MathCad
paper of mine showing how to do this. Even though it is not MatLab, I
think you will see how to do this from my paper.

http://www.claysturner.com/dsp/gps%20eqn%20solve.pdf

IHTH,
Clay

Hello Clay,

Thanks for your paper. I will try out the solution and get back to you.

But, the point at which i am stuck is the square root. There are various
systems done by least square method but these equations have square roots
which is causing me a problem and it is worrying me. There is nothing of
that sort in your method.

Also, my d12 is not the difference between measured and predicted value as
discussed in your paper. This is a sound localization system and d12 is the
difference between the distance form microphone 1 to the source(sound
source) and from microphone 2 to the source.

Do you think your method would work on this system?

Thanks,
-Maz- Hide quoted text -

- Show quoted text -

Hello Maz,

The implicit differentiation reduces the exponents by one, so we end
up with linear equations - no squares and square roots. But I do have
square roots in other parts of the problem, but they shouldn't be an
issue. Numerically finding a square root is of the same order of
difficulty as division.

Just rewrite the basic equations using the distances as you have them
defined. You should be able to apply the method I outlined to your
equations. The method of differential correction is quite generic and
may be applied to all sorts of problems.

IHTH,
Clay
Back to top
Display posts from previous:   
   Shopping Podder - the Best of Computer Postings! Forum Index -> Computer - DSP  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum