Factorial of a number up to n

3 vues (au cours des 30 derniers jours)
Kelton Santiago
Kelton Santiago le 27 Avr 2019
Commenté : Kelton Santiago le 27 Avr 2019
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

Réponse acceptée

madhan ravi
madhan ravi le 27 Avr 2019
  1 commentaire
Kelton Santiago
Kelton Santiago le 27 Avr 2019
Very thanks my friend!

Connectez-vous pour commenter.

Plus de réponses (1)

Matt J
Matt J le 27 Avr 2019
Modifié(e) : Matt J le 27 Avr 2019
  1 commentaire
Kelton Santiago
Kelton Santiago le 27 Avr 2019
Very thanks my friend!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by