Solving Meijer G function!!

Can anyone solve the following Meijer-G function in matlab for any numerical value of z, k, Q1 and Q2?
Thanks in advance for your help

 Risposta accettata

Walter Roberson
Walter Roberson il 23 Nov 2015

2 voti

9 Commenti

kader
kader il 23 Nov 2015
Can you pls tell me, how can I put the above arguments in the provided fuction? For example, Z, Q1, Q2,k also G(2,1; 1,3)
No, your image is too small for me to read the notation clearly.
What I appear to see there does not correspond to any calling form of Meijer G that I have seen listed, but it could be that when I see a larger version of the image that there will be operators made clear. In particular the part after the bar appears at the moment to read
1
k,k,0
and that is not a form I find documented
kader
kader il 25 Nov 2015
Here, G means Meijer G function.
Walter Roberson
Walter Roberson il 25 Nov 2015
Modificato: Walter Roberson il 10 Feb 2020
It looks like you have the order used by Mathematica, which reverses the sides of the bar compared to everyone else.
MG = sym( 'meijerG([[1],[]],[[k,k],[0]],z/(Q1*Q2))' );
and now you should be able to subs() particular values of k and z and Q1 and Q2 into MG, and do numeric calculations with vpa() or double()
kader
kader il 26 Nov 2015
Modificato: kader il 26 Nov 2015
Dear Walter Roberson,
I am really grateful to you. Please help me one more time. Can you please try to get the numerical value of G function for the following values of k, z and Q1 and Q2;using symbol in G function. K=1; Q1=1; Q2=0.001 Z=0.002; How can I get the numerical value of sym( 'meijerG([[1],[]],[[k,k],[0]],z/(Q1*Q2))' ); Such as: 0.998 ; . By putting numerical value directly I get the numerical value of G function.
Walter Roberson
Walter Roberson il 26 Nov 2015
Modificato: Walter Roberson il 10 Feb 2020
syms k Q1 Q2 z
MG = sym( 'meijerG([[1],[]],[[k,k],[0]],z/(Q1*Q2))' );
Then try
double( subs(MG, {k, Q1, Q2, z}, {1, 1, 0.001, 0.002}) )
Karan Gill
Karan Gill il 29 Set 2017
Starting R2017b, meijerG is available in MATLAB. See https://www.mathworks.com/help/symbolic/meijerg.html .
Atrolita afra
Atrolita afra il 3 Lug 2020
can anyone explain,how those vectors 2,1,1,3 have used?
For
The a (top) vector is of length p. So for the top vector is of total length 1.
The b (bottom) vector is of length q. So for the bottom vector is of total length 3
In the overall computation of the function, the first m elements of the b (bottom) vector are used in the numerator in the form "element minus s" (s is the variable of integration). So for the first two elements of the b (bottom) vector are used in that form, leaving = 3-2 = 1 element of b unused for that particular purpose.
In the overall computation of the function, the first n elements of the a (top) vector are used in the numerator in the form "s + 1 minus element" (s is the variable of integration). So for the first 1 element of the a (top) vector are used in that form, leaving =1-1 = 0 elements of a unused for that particular purpose.
In the overall computation of the function, the remaining elements of b are used in the denominator in the form "s + 1 minus element" (s is the variable of integration). So for then 3-2 = 1 element of b is used that way.
In the overall computation of the function, the remaining elements of aare used in the denoninator in the form "element minus s" (s is the variable of integration). So for it would be 1-1 = 0 elements of a that are used that way.
MATLAB's meijerg() function uses the syntax . In this case A corresponds to the first n elements of the top vector of the notation, and the value n is implied as length(A). B corresponds to the remaining elements of the top vector of the G notation, and the value p is implied as length(A)+length(B) . C corresponds the the first m elements of the bottom vector of the G notation, and the value m is implied as length(C ) . D corresponds to the remaining elements of the bottom vector of the G notation, and the value q is implied as length(C )+length(D)

Accedi per commentare.

Più risposte (2)

paul Santi
paul Santi il 17 Set 2020
Modificato: paul Santi il 17 Set 2020

0 voti

How do I calculate the Meijer G function using matlab ( | |x|^2) where the first row vector is $(1/2-a , -a)$ and the second row is $(0 , -1/2)$ where $a>0$ and less than $1/2$ and $|x|>1.$

Community Treasure Hunt

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

Start Hunting!

Translated by