Meijer G-function MATLAB Implementation Problem

I am simulating results using the above average channel capacity function.
r = 2 which means that G^8,1 top , and G_4,8 bottom.
k1 = 1.2200 1.7200
(two values)
k2 = 0.7200 1.2200 1.4510 1.9510 1.2550 1.7550
(6 values)
B/mu_r^bar = 331.6059
A/ln(2) = 1.4361
Since the matlab function meijerG(a,b,c,d,z) has a,b,c,d,z inputs, I have been trying different combinations but has failed to achieve the desired results (resimulating results from a paper). Actually struggling how many inputs are with a,b,c,d and z (z = B/mu_r^bar I assume).
Please help and advise!
Best regards,

 Accepted Answer

Cbar = 1.4361*meijerG([0],[1,1.22,1.72],[0.7200,1.2200,1.4510,1.9510,1.2550,1.7550,0,0],[],331.6059)
Cbar = 0.0109

1 Comment

Great! It works now! Thanks for your help really appreciate that!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Asked:

M
M
on 19 Apr 2024

Commented:

M
M
on 19 Apr 2024

Community Treasure Hunt

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

Start Hunting!