Array points densification without classical interpolation (non-unique solutions)

2 views (last 30 days)
Albert on 10 Apr 2020
I would like to 'densify' the points within an array of x and y points. For instance I would like to turn:
size([x y]) = (200,2)
into a new set of points such that:
size([xi yi]) = (10000,2)
I can't do it with interp1 because the curve doesn't have unique solutions (see below), so it needs to perform as a 'local' interpolation of some sort. I found a workaround with the interpm2 function, but it's slower than I would like to. Any ideas?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by