function y = cube(x)
%CUBE Node. Calculates the element by element cube of a vector.
%
%   Y = CUBE(X) performs the vector operation Y = X.^3
%
%   Copyright (c) 2009-2015 Dominic Searson
%
%   GPTIPS 2
%
%   See also SQUARE
y = x.^3;
