Using MATLAB to sketch the graph of f(x)=x^3 - x^2 + 1, x, [-pi,pi]

Which code can we use

Hint:

http://www.mathworks.com/help/matlab/ref/fplot.html