f



MATLAB PROGRAMMING #7

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
loops!
0
neveen
12/17/2016 8:31:04 PM
comp.soft-sys.matlab 211264 articles. 26 followers. lunamoonmoon (257) is leader. Post Follow

1 Replies
513 Views

Similar Articles

[PageSpeed] 1

"neveen aburomman" wrote in message <o347a7$atb$1@newscl01ah.mathworks.com>...
> 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
> loops!

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.
0
Georgios
12/18/2016 5:04:03 PM
Reply: