Gaussian psychometric curve fit
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Star Strider
2017년 11월 14일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!