Find factorial on MATLAB with user input | Video Tutorial
MATLAB Factorial Tutorial with user input.
Q: Write a Matlab code to Calculate Factorial N! = 1, 2, 3 4, ....n , where N the user input.
Solution:
N = input('enter the input number here: ')
i = 1:N
factorial(i)
Here is the Video Tutorial-
Lastly, If you want to learn something, you definitely need a book. Without having a book everything is useless.
Get a Book. Start learning now. Good luck with your future.
No comments