1 %>@ingroup conversion maths
3 %>@brief Converts indexes to x by linear [inter/extra]polation.
5 %> Indexes can be fractionary or out of range.
7 %> @note This
function uses <code>polyfit()</code> and <code>polyval()</code> to calculate the result
12 function xout =
v_ind2x(x, indexes)
14 p = polyfit(1:length(x), x, 1);
15 xout = polyval(p, indexes);
function v_ind2x(in x, in indexes)