How to design a simple Simulink Model to compute the Factorial of a number?

This video is successor of the below video. In the first video it shows the steps to calculate the the factorial using the MATLAB function and Stateflow: https://programmerworld.co/matlab/how-to-compute-the-sum-of-factorial-in-matlab-and-stateflow/

In this 2nd video, it shows how to compute the Factorial using the Simulink model. It shows the steps to design the model to compute the factorial of input n. This input can be received in any form, like either from Workspace, as an input variable to subsystem or direct hard coded constant block.

Please watch this video to understand how to design any iterative systems in Simulink.

We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com

Leave a Reply

%d bloggers like this: