Question: Write a 'for' loop to compute the factorial of 1 0 0 ( i . e . compute the product of first 1 0 0
Write a 'for' loop to compute the factorial of ie compute the product of first natural numbers Do not use the preexisting "prod" or "factorial" functions in MATLAB, you must use the 'for' loop along with simple operations like multiplication. Set the value of the final output ie factorial of equal to the variable nf
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
