those are the parameters of the Gabor filter. see Wikipedia for the formula.
but basically if you just want to display a Gabor filter you can download the Psychtoolbox for Matlab, it does it automatically
Cheers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!