MATLAB Answers

two-gamma-variate fitting

조회 수: 4(최근 30일)
Hang Zeng
Hang Zeng 2021년 7월 26일
댓글: Hang Zeng 2021년 7월 29일
Hi Matlab expert:
I am now trying to analysis my fMRI data using the two-gamma-variate fitting. Does any happen to have it ?

채택된 답변

Shadaab Siddiqie
Shadaab Siddiqie 2021년 7월 29일
From my understanding you want to model above expression. You can use symbolic equation to model such expressions like so:
syms x
f = a*(x/(p*q))^p * exp(p-x/q) -b (x/r*s)^r * exp(r-x/s);
since in your case a, p, q, b, r and s are coefficients you have to pre-define it.
  댓글 수: 1
Hang Zeng
Hang Zeng 2021년 7월 29일
yes, I need to pre-define the coefficient. Thanks a lot!

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

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by