Borrar filtros
Borrar filtros

Meijer G function vectorization

3 visualizaciones (últimos 30 días)
Bhekisizwe
Bhekisizwe el 25 de Jul. de 2012
Respondida: Ayz Jarwar el 23 de Abr. de 2015
Hi, i would like to know if anyone knows how to make the MeijerG function accept vector inputs for the parameter "z" in Matlab? I know how to call the MeijerG function defined in the MuPad library from Matlab, but i do not know how to make it accept vector inputs for "z" as i want to speed up my Matlab program. If anyone has done this before please help?
  1 comentario
Vahraz Jamnejad
Vahraz Jamnejad el 20 de Mayo de 2013
Very good question. I have the same question.
And besides, why isn't there a numerical MeijerG function directly in MATLAB without resorting to MUpad? Then, the vectorization, of course, would be a moot point, if we had the function directly in MATLAB, where vectorization is done almost by default. Could somebody in MATLAB please look into this? Thanks.

Iniciar sesión para comentar.

Respuestas (1)

Ayz Jarwar
Ayz Jarwar el 23 de Abr. de 2015
If you have the Symbolic Math Toolbox use meijerG
An example:
evalin(symengine,'meijerG([[1], []], [[1], [1/2]], 3.0)')

Categorías

Más información sobre Get Started with MuPAD en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by