Meijer G function vectorization

조회 수: 3 (최근 30일)
Bhekisizwe
Bhekisizwe 2012년 7월 25일
답변: Ayz Jarwar 2015년 4월 23일
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
Vahraz Jamnejad
Vahraz Jamnejad 2013년 5월 20일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ayz Jarwar
Ayz Jarwar 2015년 4월 23일
If you have the Symbolic Math Toolbox use meijerG
An example:
evalin(symengine,'meijerG([[1], []], [[1], [1/2]], 3.0)')

카테고리

Help CenterFile Exchange에서 Get Started with MuPAD에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by