MATLAB: How to interpolate if the function is not strictly monotonic increasing

interpolation non-monotonic function

Hi all
I am struggling with interpolating the Temperature from my function which reaches a constant mole fraction after a certain temperature. How can I interpolate the first temperature point at which the constant mole fraction is reached? Thanks a lot in advance!

Best Answer

hi, try :
n=2;
T2=interp(T,n);
%size(T2)=n*size(T);
fine?
Related Question