フィルターのクリア

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 Center および File ExchangeParticle & Nuclear Physics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by