lngamma, complex argument

1 Ansicht (letzte 30 Tage)
Silvina Pugliese
Silvina Pugliese am 14 Jan. 2016
Beantwortet: Torsten am 14 Jan. 2016
I'm working with the trial version of Matlab and I can't use the function 'lngamma'. Any recommendations? Than you in advanced!

Antworten (2)

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

Melden Sie sich an, um zu kommentieren.


Torsten
Torsten am 14 Jan. 2016
Use
and apply "log" to the result.
Best wishes
Torsten.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by