"neveen aburomman" wrote in message <firstname.lastname@example.org>...
> hi......can any body solve the exercise????
> Write a MATLAB m-file function (called
> fact.m) which takes a single argument
> (an integer), computes the factorial and
> returns the answer.
> • Hint:For better performance, do not use
Hello Neveen. There are many people here who can solve the exercise. This is a homework problem, for you to learn how to do it yourself. Not for others to solve, and for you to hand it in as your own work.
Show some effort, and your attempt at coding. You might learn something while doing it.