I'm trying to approximate several points with a curve. My script looks like this:
T = [ 0 5.67 13.28 20.18 26.84 37.74];
T = T';
eta = [0 54.33 70.91 73.56 73.29 76.];
eta = eta'
f4 = fit(eta, T, 'poly2');
f5 = fit(eta, T, 'poly3');
The plot looks like the one below but i need the curve not to pass through negative numbers.
.
Any idea how to implement the limits of the curve?