two-gamma-variate fitting

1 view (last 30 days)
Hang Zeng
Hang Zeng on 26 Jul 2021
Commented: Hang Zeng on 29 Jul 2021
Hi Matlab expert:
I am now trying to analysis my fMRI data using the two-gamma-variate fitting. Does any happen to have it ?

Accepted Answer

Shadaab Siddiqie
Shadaab Siddiqie on 29 Jul 2021
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 Comment
Hang Zeng
Hang Zeng on 29 Jul 2021
yes, I need to pre-define the coefficient. Thanks a lot!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by