I'm working with the trial version of Matlab and I can't use the function 'lngamma'. Any recommendations? Than you in advanced!

Réponses (2)

Alan Weiss
Alan Weiss le 14 Jan 2016

0 votes

You probably should try to use the function gammaln instead.
Alan Weiss
MATLAB mathematical toolbox documentation

2 commentaires

Torsten
Torsten le 14 Jan 2016
Is it applicable to complex arguments, too ?
Best wishes
Torsten.
Silvina Pugliese
Silvina Pugliese le 14 Jan 2016
Modifié(e) : Silvina Pugliese le 14 Jan 2016
Thank you for the answer. The problem is that gammaln is valid only for real arguments. Isn't it?

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by