Further information:
James C. Spall
Johns Hopkins University
Applied Physics Laboratory
11100 Johns Hopkins Rd.
Laurel, MD 20723-6099
USA

MATLAB Code

If you do not have Acrobat reader, please download the free reader.
Matlab—Basic SPSA Algorithm
Matlab—Automatic Gain Selection