Factorial of a number up to n

조회 수: 3 (최근 30일)
Kelton Santiago
Kelton Santiago 2019년 4월 27일
댓글: Kelton Santiago 2019년 4월 27일
Hello,
There is a function in matlab to compute a factorial of a number x up to n?
I mean:
- Factorial of 7 up to 4:
7 x 6 x 5 x 4 = 840
- Factorial of 10 up to 7:
10 x 9 x 8 x 7 = 5040

채택된 답변

madhan ravi
madhan ravi 2019년 4월 27일
  댓글 수: 1
Kelton Santiago
Kelton Santiago 2019년 4월 27일
Very thanks my friend!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Matt J
Matt J 2019년 4월 27일
편집: Matt J 2019년 4월 27일
  댓글 수: 1
Kelton Santiago
Kelton Santiago 2019년 4월 27일
Very thanks my friend!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by