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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Nov. de 2015

2 votos

9 comentarios

kader
kader el 23 de Nov. de 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)
Walter Roberson
Walter Roberson el 23 de Nov. de 2015
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 el 25 de Nov. de 2015
Here, G means Meijer G function.
Walter Roberson
Walter Roberson el 25 de Nov. de 2015
Editada: Walter Roberson el 10 de Feb. de 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 el 26 de Nov. de 2015
Editada: kader el 26 de Nov. de 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 el 26 de Nov. de 2015
Editada: Walter Roberson el 10 de Feb. de 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 el 29 de Sept. de 2017
Starting R2017b, meijerG is available in MATLAB. See https://www.mathworks.com/help/symbolic/meijerg.html .
Atrolita afra
Atrolita afra el 3 de Jul. de 2020
can anyone explain,how those vectors 2,1,1,3 have used?
Walter Roberson
Walter Roberson el 3 de Jul. de 2020
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)

Iniciar sesión para comentar.

Más respuestas (2)

Deepak Kumar singh
Deepak Kumar singh el 10 de Feb. de 2020

0 votos

What is the MeijerG function and how it is use.
paul Santi
paul Santi el 17 de Sept. de 2020
Editada: paul Santi el 17 de Sept. de 2020

0 votos

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.$

1 comentario

Soumen Mondal
Soumen Mondal el 3 de Mayo de 2022
meijerG([0.5-a], [-a], [0], -0.5], ((abs(x))^2)

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 23 de Nov. de 2015

Comentada:

el 3 de Mayo de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by