MATLAB: Is there a command to match isolated points on graph by a curve, not straight lines

plot curve points

teta=[0.25,0.5,0.75,1,1.25]
eta100=100-1/1*(1.5./teta+teta*2.2)
plot(teta, eta100,'k','LineWidth',2) %some line specification for curved plot?

Best Answer

Something like this?
Example using 'spline' interpolation:
teta=[0.25,0.5,0.75,1,1.25]
eta100=100-1/1*(1.5./teta+teta*2.2)
tetai = linspace(min(teta), max(teta)); % Create Interpolation Points
eta100i = interp1(teta, eta100, tetai,'spline'); % Use 'spline' Interpolation
plot(tetai, eta100i,'k','LineWidth',2) %some line specification for curved plot?
hold on
plot(teta,eta100,'*r')
hold off
legend('Interpolated Line','Data', 'Location','SE')
EDIT — Added plot:
Related Question