I have a MATLAB script that uses recursive function calls and it is taking a long time once the two inputs increased. The two inputs are number of nodes and number of slots. The script basically calculates the probability of certain events. I want you to reprogram the same script without using the recursive function calls. I am attaching all function scripts used as well. You can start running the code from the script Hello_Reply_r_Rounds.m
14 freelancers are bidding on average $142 for this job
Hello. I've been teaching univercity students how to properly write loopless (and recursiveless) programs in MatLab for years. I think, I can solve your problem.