two-gamma-variate fitting

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

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

yes, I need to pre-define the coefficient. Thanks a lot!

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!