See the pdf for full tutorial / user guide.
To install and run Grover demo on a standard Ubuntu machine:
sudo apt-get install octave
git clone https://github.com/charles-fox/qcf.git
cd qcf
octave
(in octave)>> grover
Quantum Computing Functions for Octave/Matlab. QCF is a toolbox based on the syntax of Nielsen & Chuang's book 'Quantum Computing and Quantum Information'. It includes simulations of the Grover and Deutsch algorithms and a pdf tutorial. (Experimental move to github -- formally at sourceforge.net/projects/qcf/ )
MATLAB