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일

0 개 추천

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일

0 개 추천

Use
and apply "log" to the result.
Best wishes
Torsten.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2016년 1월 14일

답변:

2016년 1월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by