lngamma, complex argument

2 visualizzazioni (ultimi 30 giorni)
Silvina Pugliese
Silvina Pugliese il 14 Gen 2016
Risposto: Torsten il 14 Gen 2016
I'm working with the trial version of Matlab and I can't use the function 'lngamma'. Any recommendations? Than you in advanced!

Risposte (2)

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

Accedi per commentare.


Torsten
Torsten il 14 Gen 2016
Use
and apply "log" to the result.
Best wishes
Torsten.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by