lngamma, complex argument

1 visualización (últimos 30 días)
Silvina Pugliese
Silvina Pugliese el 14 de En. de 2016
Respondida: Torsten el 14 de En. de 2016
I'm working with the trial version of Matlab and I can't use the function 'lngamma'. Any recommendations? Than you in advanced!

Respuestas (2)

Alan Weiss
Alan Weiss el 14 de En. de 2016
You probably should try to use the function gammaln instead.
Alan Weiss
MATLAB mathematical toolbox documentation
  2 comentarios
Torsten
Torsten el 14 de En. de 2016
Is it applicable to complex arguments, too ?
Best wishes
Torsten.
Silvina Pugliese
Silvina Pugliese el 14 de En. de 2016
Editada: Silvina Pugliese el 14 de En. de 2016
Thank you for the answer. The problem is that gammaln is valid only for real arguments. Isn't it?

Iniciar sesión para comentar.


Torsten
Torsten el 14 de En. de 2016
Use
and apply "log" to the result.
Best wishes
Torsten.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by