Here are some things made in Matlab/Octave.
regulafalsi.m - the function you should use, explanation inside the file.
It definately works in Octave 2.9.14 and should also work in any version of Matlab 6 or 7