Evaluate the gamma function - MATLAB Cody - MATLAB Central

Problem 46025. Evaluate the gamma function

Difficulty:Rate
The gamma function is a generalization of the factorial, and it appears in many applications such as evaluating certain integrals, working with probability distributions, and evaluating fractional derivatives. MATLAB includes the function gamma, but it accepts only real arguments.
Write a function that evaluates the gamma function for complex arguments.

Solution Stats

16.38% Correct | 83.62% Incorrect
Last Solution submitted on Sep 05, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
18
6

Problem Recent Solvers19

Suggested Problems

More from this Author291

Community Treasure Hunt

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

Start Hunting!
Go to top of page