I have a set of data to which I want to apply a weighting function, so basically a simple multiplication.
My sampled data looks like this:
(for those interested, it's the relative luminous intensity of an LED)
The weighting function is only available in a tabular form as well, and looks like this:
(it's the standard luminosity function, which would probably be available in other formats, but I have another weighting which isn't)
As it happens, the points don't coincide on the X-Axis, so I can't just multiply the values, but have to do some interpolation of the weighting function to get the "correct" weighting factor for the points of my sampled data.
I was wondering if there is already a function / package available for Octave which handles the multiplication of the Y-values with interpolation of the X-values.
As I'm not a native speaker and am working mostly on electrical engineering problems, my vocabulary of the right keywords ran out quickly. It's probably not all that hard to implement this, but I try not to reinvent the wheel over and over again.