FitNakaRushton

>Psychtoolbox>Psychometric

[params,f] = FitNakaRushton(contrast,response [, params0])

Find the parameters that best fit the data. If the initial guess
isn’t good, this can get stuck in local minima.

8/1/05 dhb, pr Wrote it.
8/2/07 dhb Change argument order.
7/1/21 dhb Add end statement for compiler happiness.
dhb Added example at top, which tests that it works.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/Psychometric/FitNakaRushton.m