Postgres Find Function Matlab Syntax For Factorial