How can I create this Cumulative Normal (Gaussian) Psychometric Function?
Afficher commentaires plus anciens

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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Subspace Methods dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!