Watch this Author's files
That is correct. It is used in solving the Reed Salom Error correction. I guess there is a code available on this website who also creates a Galois field array.
Seems that my Matlab version Althoug (2007b) does not have the function "gf". The online documentation for matlab 2009 indeed document the function gf : Create Galois field array. Is this one, the one your program uses?
I am having problems running the program. The function called gf is not found or is missing?