Hi, im not pretty sure this thread belong to this category but it mixes math and statistics.
My advisor told me to use one of his codes to estimate an interpolation of data. But i really dont understand too much about the explanation he had given to me in the script. He writes:
"This script estimates the roots, f(xroot) = 0, of a tabulated real number function (x(i),y(i)) from which a real number function y = f(x) can be calculated by interpolation;in the simplest case the data table contains roots, i.e. y(k) = 0;other roots exist if y(k)*y(k+1) < 0 and can be estimated by interpolation; in this case, for each root to be estimated, this function 1) interpolates according to 'method' at subgrid resolution over the longest possible abscissa range, producing a subgrid table (x'(i),y'(i)), and then 2) estimates the root by linearly intepolating within y'(k) and y'(k+1), given y'(k)*y'(k+1) < 0"
I would like to understand mathematically how can you interpolate using roots because i had not found it anywhere.
Thanks for your help,
J
My advisor told me to use one of his codes to estimate an interpolation of data. But i really dont understand too much about the explanation he had given to me in the script. He writes:
"This script estimates the roots, f(xroot) = 0, of a tabulated real number function (x(i),y(i)) from which a real number function y = f(x) can be calculated by interpolation;in the simplest case the data table contains roots, i.e. y(k) = 0;other roots exist if y(k)*y(k+1) < 0 and can be estimated by interpolation; in this case, for each root to be estimated, this function 1) interpolates according to 'method' at subgrid resolution over the longest possible abscissa range, producing a subgrid table (x'(i),y'(i)), and then 2) estimates the root by linearly intepolating within y'(k) and y'(k+1), given y'(k)*y'(k+1) < 0"
I would like to understand mathematically how can you interpolate using roots because i had not found it anywhere.
Thanks for your help,
J