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

functionm-file

.

Best Answer

function out = myFactorial(in)
out = factorial(in);
end
Related Question