Azzera filtri
Azzera filtri

how can write an m-file function that takes a single argument(i​nteger),co​mputes the factorial then returns the answer?

2 visualizzazioni (ultimi 30 giorni)
.

Risposta accettata

David Barry
David Barry il 21 Dic 2016
function out = myFactorial(in)
out = factorial(in);
end

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by