- Joined
- 4/21/11
- Messages
- 872
- Points
- 73
Hi guys,
So I've been working on a simple linear interpolation code. Basically it takes a matrix of timedata and interpolates from the lowest time to the highest. Everything runs smoothly. What I would like is for my VBA code to spit out a matrix with the original values HIGHLIGHTED.
Keep in mind what my code does:
This is what I have:
!
...and this is what I want:
Thanks!
So I've been working on a simple linear interpolation code. Basically it takes a matrix of timedata and interpolates from the lowest time to the highest. Everything runs smoothly. What I would like is for my VBA code to spit out a matrix with the original values HIGHLIGHTED.
Keep in mind what my code does:
- It accepts the input data
- It creates a variant called MAT and fills it with dates and Xs for data
- It interpolates and changes the Xs for the interpolated values
- It sets the function (LinearInterpolation() ) to MAT
This is what I have:
!
...and this is what I want:
Thanks!