photo

Blake


Last seen: 7 months ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • Solver

View badges

Feeds

View by

Answered
What is the purpose of this line in MATLAB's "factorial.m" function?
I believe the 1 is a remnant of the code before the author manually included an exception for 0 and 1 factorial. The author may ...

12 years ago | 1

| accepted

Question


What is the purpose of this line in MATLAB's "factorial.m" function?
EDIT: I have removed the rest of the FACTORIAL function in this post as per Jan's suggestion. To explain myself, I did consider ...

12 years ago | 2 answers | 0

2

answers