Code covered by the BSD License  

Highlights from
Numerical Methods Using MATLAB, 3e

image thumbnail
g(x)
function y = g(x)

y = 1 + x - x.^2./4;

Contact us at files@mathworks.com