I have the following in a code:
pp=spline(diameter,nbdensity);all(i,j) = ((diameter(i,1)^3)-(diameter(j,1)^3))^(1/3); finp(i,j) = ppval(pp,all(i,j));
I need to find the interpolated value of "nbdensity" at a given value of "all". How would I express it using the above? Would the following be correct?
nbdensity(i)*finp(i,j)
Best Answer