Interpolating multivalued functions

  • Thread starter Thread starter Matt1991
  • Start date Start date
  • Tags Tags
    Functions
AI Thread Summary
The discussion centers on the challenge of interpolating multivalued functions for a coastline represented by latitude and longitude data points. The participants suggest parameterizing the data to create two separate functions for latitude and longitude, allowing for interpolation along the coastline. They emphasize the importance of ensuring that the data points are ordered according to the distance walked along the coastline, rather than the straight-line distance. By treating the latitude and longitude as functions of the distance traveled, a composite function can be formed for interpolation. The conversation concludes with a request for clarification on the proposed method of parameterization and interpolation.
Matt1991
Messages
8
Reaction score
0
Hi everyone,

I have a problem I am unsure how to solve. I have a set of latitude and longitude data points for a coastline. I need to run a program to interpolate some function that will map this coastline reasonably accurately. This would not usualy be a problem but due to the nature of the data it is multvalued i.e. some latitude values have multiple meaningful longitude values and vice versa.

I need a method of interpolating a function taking into account these multivalued points.

Thanks for any help,

Matt
 
Mathematics news on Phys.org
Are the points listed "in order", i.e as a person walking along the coastline would record them? If, so you could introduce an artificial parameter t so the data is of the form (lat(t), lon(t), t) and try to interpolate the data as a parameterized curve. If the data is not in such a form, we might be able to figure out an algorithm to put it in that form. This is an interesting problem.
 
It seems to me that the data would have to be in order. Otherwise, there is no way to know how the various data points are connected.

But, as Tashi said, you can just think of this as two functions one for lat and one for long. Then just put them together. Do you know how to do this?
 
They are in order. I am not entirely sure how you would treat them as 2 separate functions. The obvious parameter values to use would be 0 at one end and 1 at the other. I originaly tried to parameterise the coastline so that everything was a function of just latitude or just longitude but obviously that won't work with multvalued points.

I would really appreciate it if you could point me in the right direction with parameterising the curve here.

Thanks,

Matt
 
So, imagine that you are walking along the coastline. Now, let's say every 10 feet (or 100 feet or whatever) you walk along the coastline[i/] you take a new long/lat measurement. Is this how the data are arranged? That is, are the data points "equi-distant" from each other on the coastline? If they don't, you will need to know what the distance is between each point on the coastline.

Now, let's assume that from the starting point to the endpoint is 100 miles of coastline. So, this 100miles isn't the vector norm from the start to the beginning (i.e. it is not the distance "as the crow flies"), it is how long you would walk, if you walk along the coastline. And let's say you took a measurement every 1/10th of a mile that you walked. So, you have 1000 readings.

Now, let's just forget about the long. and concentrate on the latitude readings. So, let's just say that the first few latitude readings are:

f(0/1000) = lat_0
f(1/1000) = lat_1
f(2/1000) = lat_2

and so on. Is this clear?

If so, then do the same thing with long:

g(0/1000) = long_0
g(1/1000) = long_1
g(2/1000) = long_2

and so on. Then, the composite function would be something like:

F(0/1000) = (f(0/1000), g(0/1000))
F(1/1000) = (f(1/1000), g(1/1000))
F(2/1000) = (f(2/1000), g(2/1000))

and so on.

Now, you have two tables of values. One for latitude and one for longitude. Furthermore, you have the latitude and longitude as a function of the distance you have walked on the coastline. Now, do a interpolation for the functions f and g described above. Then just put them together to get F(s) = (f(s), g(s)), where s is the distance walked along the coastline.

Now, I'm sure some (let's hope not all) of this has been unclear, so just let me know and hopefully I'll be able to elaborate.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top