Vector Calculations on Geographic Data

1 次查看(过去 30 天)
I have four geographical points: P1, P2, P3 and P4. The coordinates (latitude & longitude pairs) of these points are available. I want to calculate the scaler product between the two vectors P1P2 and P3P4. How can I perform this calculation in Matlab?
Note: These geographic coordinates are relevant to a specific datum (for example: WGS84) and hence do not assume the earth to be spherical.
If these types of calculations are not possible with Matlab, does anybody know a software that can be used for this purpose?
Please help

回答(1 个)

Walter Roberson
Walter Roberson 2011-5-23
How would you solve the problem in classical geometry, finding the scalar product of (x1,y1,z1) to (x2,y2,z2) when neither z1 nor z2 were known?
  5 个评论
Walter Roberson
Walter Roberson 2011-5-24
The altitude values are the same, but you want the WGS84 model to be followed anyhow ??
Devinya Herath
Devinya Herath 2011-5-25
yes. These points are assumed to be at the same hight above (or below) the reference ellipsoid WGS84

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by