Prev: Generating parameter vectors for Rapid Accelerator mode
Next: Use save append option in a for loop
From: Andy on 18 May 2010 14:24 Hi all Another question: I have a list of sampling sites 's', (1992x1), the time each site was visited 't', (1992x1) and, for each site 12 measurements, taken at different times and from another dataset (each sample time is another list 'm1, m2, m3 ....' (1992x1) and the times of those measurements is given in 'Mt' (12x1)). How do I perform a simple linear interpolation so for each site, so at the given time, I have a value? The time is in the juliandate format (2454747 = 7 Oct 2008) thanks in advance, cheers, andy
From: Walter Roberson on 18 May 2010 14:38 Andy wrote: > I have a list of sampling sites 's', (1992x1), the time each site was > visited 't', (1992x1) and, for each site 12 measurements, taken at > different times and from another dataset (each sample time is another > list 'm1, m2, m3 ....' (1992x1) and the times of those measurements is > given in 'Mt' (12x1)). > How do I perform a simple linear interpolation so for each site, so at > the given time, I have a value? The time is in the juliandate format > (2454747 = 7 Oct 2008) I am not clear as to whether some of those are indexes into the other? If not, then I would have expected 1992x12 for some matrix, unless your data structure is a cell array. Or are there 12 m* matrices? I seem to be a bit lost.
From: Andy on 18 May 2010 15:01 Hi Walter, thanks for the quick reply, please bear with me, I am a beginner and not too good at the terminology there are 12 m* matrices, each is just a list of the value for each point at each of the 12 measurement times. So I could combine them =[m1, m2, m3 , ...] to make a matrix 1992x12 Does that make it any clearer? have a list of sampling sites 's', (1992x1), the time each site was > visited 't', (1992x1) and, for each site 12 measurements, taken at > different times and from another dataset (each sample time is another > list 'm1, m2, m3 ....' (1992x1) and the times of those measurements is > given in 'Mt' (12x1)). > How do I perform a simple linear interpolation so for each site, so at > the given time, I have a value? The time is in the juliandate format > (2454747 = 7 Oct 2008) I am not clear as to whether some of those are indexes into the other? If not, then I would have expected 1992x12 for some matrix, unless your data structure is a cell array. Or are there 12 m* matrices? I seem to be a bit lost.
From: Andy on 20 May 2010 01:04 Does anyone have a solution or some suggestions? I'm getting a bit desperate! Best, Andy
From: TideMan on 20 May 2010 02:01 On May 20, 5:04 pm, "Andy " <andrew.h...(a)uea.ac.uk> wrote: > Does anyone have a solution or some suggestions? I'm getting a bit desperate! > > Best, Andy Well, I've read your posts several times and I'm totally confused. You need to make a better effort at explaining yourself. Your language is very sloppy when it comes to using "values", "times", and "measurements". Perhaps the best strategy for you is to show us what code you've developed and where it is going wrong. That makes things much easier for us to de-bug.
|
Pages: 1 Prev: Generating parameter vectors for Rapid Accelerator mode Next: Use save append option in a for loop |