How can I create this Cumulative Normal (Gaussian) Psychometric Function?
Show older comments

I am trying to create a function for the above, but this gives me errors.
function [a] = cumGaussPF(x,beta,alpha)
fx = @(x,beta,alpha) exp(-0.5*((x-alpha)/beta).^2);
pf = 1/(beta*sqrt(2*pi))*integral(@(x) fx(x,beta,alpha),-inf,x);
end
Accepted Answer
More Answers (0)
Categories
Find more on Subspace Methods in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!