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

 采纳的回答

Walter Roberson
Walter Roberson 2015-11-23

2 个投票

9 个评论

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
Here, G means Meijer G function.
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 2015-11-26
编辑:kader 2015-11-26
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.
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}) )
Starting R2017b, meijerG is available in MATLAB. See https://www.mathworks.com/help/symbolic/meijerg.html .
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)

请先登录,再进行评论。

更多回答(2 个)

paul Santi
paul Santi 2020-9-17
编辑:paul Santi 2020-9-17

0 个投票

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