www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/Gammaln1PlotTheLogarithmicGammaFunctionExample.m
%% Plot Logarithmic Gamma Function % Plot the logarithmic gamma function on the interval from 0 to 10. syms x fplot(gammaln(x), [0 10]) grid on %% % To see the negative values better, plot the same function on the interval from 1 to 2. fplot(gammaln(x), [1 2]) grid on