필터 지우기
필터 지우기

Gaussian psychometric curve fit

조회 수: 3 (최근 30일)
Janani Thiyagarajan
Janani Thiyagarajan 2017년 11월 14일
편집: Janani Thiyagarajan 2017년 11월 14일
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

채택된 답변

Star Strider
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
Star Strider
Star Strider 2017년 11월 14일
My pleasure.
Rather than adding a second post, give the details here.
Janani Thiyagarajan
Janani Thiyagarajan 2017년 11월 14일
편집: Janani Thiyagarajan 2017년 11월 14일

Here is the problem I am working on; this should use erfc x = 1:5; y = [0.97 0.89 0.5 0.08 0.03]; we need to get slope and bias (The bias should be close to 3 and slope should be close to 0.78 for this) I need to use cumulative gaussian anonymous function f(x) = 1/2 ∗ erf (

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by