필터 지우기
필터 지우기

lngamma, complex argument

조회 수: 1 (최근 30일)
Silvina Pugliese
Silvina Pugliese 2016년 1월 14일
답변: Torsten 2016년 1월 14일
I'm working with the trial version of Matlab and I can't use the function 'lngamma'. Any recommendations? Than you in advanced!

답변 (2개)

Alan Weiss
Alan Weiss 2016년 1월 14일
You probably should try to use the function gammaln instead.
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 2
Torsten
Torsten 2016년 1월 14일
Is it applicable to complex arguments, too ?
Best wishes
Torsten.
Silvina Pugliese
Silvina Pugliese 2016년 1월 14일
편집: Silvina Pugliese 2016년 1월 14일
Thank you for the answer. The problem is that gammaln is valid only for real arguments. Isn't it?

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


Torsten
Torsten 2016년 1월 14일
Use
and apply "log" to the result.
Best wishes
Torsten.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by