I've tried to use a script that evaluates the Pochhammer symbol (rising factorial) in Matlab, but it fails to evaluate Pochhammer(x,n) whenever x is a negative number even though the expression is valid when x is negative (wolfram alpha and mathematica give answers for stuff like Pochhammer(-3,2)).
Can anyone help me get Pochhammer working in Matlab for negative arguments?
Thanks in advance,
Alex
Assuming you're not doing anything too computing intensive, just write your own:
Also this might be off-topic. Stack overflow may be better-suited.