I need to create a log-log plot of the following function:
f1=((v^2/(k - 3/2) + 1)^-k Gamma[k + 1] v^2)/(k Sqrt[(k - 3/2) \[Pi]]
Gamma[k - 0.5])
The plot given by mathematica is:
and the plot given by matlab is:
What could be reason for this? Please see the code of mathematica
ClearAll["Global`*"]
distFunckappa = ((v^2/(k - 3/2) + 1)^-k Gamma[k + 1] v^2)/(
k Sqrt[(k - 3/2) \[Pi]] Gamma[k - 0.5])
k = 2;
LogLogPlot[distFunckappa, {v, 0, 10},
PlotStyle -> Directive[Blue, Thick],
AxesStyle -> Directive[Black, Bold, FontSize -> 14],
TicksStyle -> Directive[Black, Bold], AxesLabel -> {"v", "DNF"},
Axes -> True]
and code in matlab is:
k=2;
v=0:0.1:10;
kappaDistFunc=(gamma(k+1)./(k.*gamma(k-1/2).*sqrt(k-3/2).*sqrt(pi))).*(1+(v.^2./(k-3/2))).^(-k).*v.^2;
loglog(kappaDistFunc)
Please help me Thanks in advance
Attachments: