How can I correctly implement this Meijer G-function in MATLAB for the given equation with specific parameters ?

8 views (last 30 days)
I'm new to matlab and I'am trying to implement the above Meijer-G function but I'm not able to get the appropriate answer as per the research paper. Below is my Code, please help me for any correction.
mg_a = -y1 / 4;
mg_b = -y1 / 4 + 1;
mg_c = [y2 / 4, (y2 + 2) / 4];
mg_d = [-y2 / 4, (-y2 + 2) / 4, -y1 / 4, -y1 / 4];
G_function = meijerG(mg_a, mg_b, mg_c, mg_d, mg_z);

Accepted Answer

Torsten
Torsten on 5 Dec 2024
Moved: Torsten on 5 Dec 2024
a,b,gamma,y1 and y2 are given as numerical values ?
Then use
a = ...;
b = ...;
ggamma = ...;
y1 = ...;
y2 = ...;
a1 = -y1/4;
a2 = -y1/4+1;
b1 = [y2/4,(y2+2)/4];
b2 = [-y2/4,(-y2+2)/4,-y1/4,-y1/4];
z = (a*b)^2/(16*ggamma);
G_function = meijerG(a1,a2,b1,b2,z)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!