Gaussian psychometric curve fit
3 views (last 30 days)
Show older comments
Janani Thiyagarajan
on 14 Nov 2017
Edited: Janani Thiyagarajan
on 14 Nov 2017
I have x = 1:5; y = [0.97 0.89 0.5 0.08 0.03]; how to find bias and slope using the function
0 Comments
Accepted Answer
Star Strider
on 14 Nov 2017
Use the mldivide,\ function:
x = 1:5;
y = [0.97 0.89 0.5 0.08 0.03];
P = [ones(size(x(:))) x(:)]\y(:);
Bias = P(1)
Slope = P(2)
Bias =
1.3010
Slope =
-0.2690
3 Comments
More Answers (0)
See Also
Categories
Find more on Particle & Nuclear Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!