lngamma, complex argument

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

Answers (2)

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

2 Comments

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

Sign in to comment.

Tags

Asked:

on 14 Jan 2016

Answered:

on 14 Jan 2016

Community Treasure Hunt

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

Start Hunting!