filling in the blanks in a matrix
Show older comments
Hi,
I am looking to fill in the blanks in a matrix. I can compute where the gaps are and can calculate the interpolated values, but I can't get my head around how to make a space and insert the interpolated values.
Here is an example of what I am trying to achieve (notice 50 and 80 are missing) also the v values will not increase linearly like the example;
Original
t 0 10 20 30 40 60 70 90 100
v 30 32 34 36 38 42 44 48 50
Processed
t 0 10 20 30 40 50 60 70 80 90 100
v 30 32 34 36 38 40 42 44 46 48 50
Matlab inserted 50 and 80 and its interpolated v values
Thanks,
Madlab
Accepted Answer
More Answers (0)
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!